public final class FileDescriptor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FileDescriptor.Builder |
Modifier and Type | Field and Description |
---|---|
protected Configuration |
configuration |
Modifier and Type | Method and Description |
---|---|
void |
clearErrors() |
Map<String,FileDescriptor> |
getDependants() |
List<EnumDescriptor> |
getEnumTypes() |
List<ExtendDescriptor> |
getExtensionsTypes() |
List<Descriptor> |
getMessageTypes()
Top level message types defined in this file.
|
String |
getName() |
List<Option> |
getOptions() |
String |
getPackage() |
Map<String,GenericDescriptor> |
getTypes()
All types defined in this file (both message and enum).
|
boolean |
isResolved() |
void |
markUnresolved() |
boolean |
resolveDependencies(FileDescriptorSource.ProgressCallback progressCallback,
Map<String,FileDescriptor> fileDescriptorMap,
Map<String,GenericDescriptor> allTypes) |
void |
setConfiguration(Configuration configuration) |
protected Configuration configuration
public void setConfiguration(Configuration configuration)
public Map<String,FileDescriptor> getDependants()
public boolean isResolved()
public void markUnresolved()
public void clearErrors()
public boolean resolveDependencies(FileDescriptorSource.ProgressCallback progressCallback, Map<String,FileDescriptor> fileDescriptorMap, Map<String,GenericDescriptor> allTypes) throws DescriptorParserException
DescriptorParserException
public String getName()
public String getPackage()
public List<EnumDescriptor> getEnumTypes()
public List<Descriptor> getMessageTypes()
public List<ExtendDescriptor> getExtensionsTypes()
public Map<String,GenericDescriptor> getTypes()
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.