public final class ImportedProtoTypeMetadata extends ProtoTypeMetadata
ProtoTypeMetadata for a message or enum type that is defined in an external protobuf schema and its
definition was not created based on annotations during the current execution of a ProtoSchemaBuilder.javaClass, name, outerType| Constructor and Description |
|---|
ImportedProtoTypeMetadata(GenericDescriptor descriptor,
BaseMarshaller<?> marshaller,
XClass javaClass) |
| Modifier and Type | Method and Description |
|---|---|
ProtoEnumValueMetadata |
getEnumMemberByName(String name) |
String |
getFileName()
The schema file where this type comes from.
|
String |
getFullName() |
boolean |
isEnum() |
boolean |
isImported()
Indicates if this type comes from the currently processed/generated schema of from an external schema.
|
String |
toString() |
appendDocumentation, generateProto, getDocumentation, getJavaClass, getJavaClassName, getName, getOuterType, scanMemberAnnotations, setOuterTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoProtoSchemapublic ImportedProtoTypeMetadata(GenericDescriptor descriptor, BaseMarshaller<?> marshaller, XClass javaClass)
public String getFullName()
getFullName in class ProtoTypeMetadatapublic boolean isImported()
ProtoTypeMetadataisImported in class ProtoTypeMetadatapublic String getFileName()
ProtoTypeMetadatagetFileName in class ProtoTypeMetadatapublic boolean isEnum()
isEnum in class ProtoTypeMetadatapublic ProtoEnumValueMetadata getEnumMemberByName(String name)
getEnumMemberByName in class ProtoTypeMetadataCopyright © 2020 JBoss, a division of Red Hat. All rights reserved.