Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- applyTemplate(String, Object) - Method in class com.salesforce.jprotoc.Generator
-
Executes a mustache template against a generatorContext object to generate an output string.
B
- BASE_TYPE_FIELD_NUMBER - Static variable in class xsd.Xsd
- baseType - Static variable in class xsd.Xsd
-
Base type this message actually is an extension of
- baseTypes - Variable in class no.entur.protoc.interfaces.InterfaceProtocContext
C
- com.salesforce.jprotoc - package com.salesforce.jprotoc
D
- debug(Generator, String) - Static method in class com.salesforce.jprotoc.ProtocPlugin
-
Debug a single generator using the parsed proto descriptor.
- debug(List<Generator>, String) - Static method in class com.salesforce.jprotoc.ProtocPlugin
-
Debug multiple generators using the parsed proto descriptor, aggregating their results.
- debug(List<Generator>, List<GeneratedMessage.GeneratedExtension>, String) - Static method in class com.salesforce.jprotoc.ProtocPlugin
-
Debug multiple generators using the parsed proto descriptor, aggregating their results.
G
- generate(PluginProtos.CodeGeneratorRequest) - Method in class com.salesforce.jprotoc.Generator
-
Deprecated.
- generate(Generator) - Static method in class com.salesforce.jprotoc.ProtocPlugin
-
Apply a single generator to the parsed proto descriptor.
- generate(List<Generator>) - Static method in class com.salesforce.jprotoc.ProtocPlugin
-
Apply multiple generators to the parsed proto descriptor, aggregating their results.
- generate(List<Generator>, List<GeneratedMessage.GeneratedExtension>) - Static method in class com.salesforce.jprotoc.ProtocPlugin
-
Apply multiple generators to the parsed proto descriptor, aggregating their results.
- generateAddInterfaceCodeGenerationFiles() - Method in class no.entur.protoc.interfaces.MessageTypeHandler
- generateFiles(PluginProtos.CodeGeneratorRequest) - Method in class com.salesforce.jprotoc.Generator
-
Processes a generator request into a set of files to output.
- generateFiles(PluginProtos.CodeGeneratorRequest) - Method in class no.entur.protoc.interfaces.InterfaceProtocPlugin
- generateInterfaces() - Method in class no.entur.protoc.interfaces.MessageTypeHandler
- generateJavalite - Variable in class no.entur.protoc.interfaces.InterfaceProtocContext
- Generator - Class in com.salesforce.jprotoc
-
Generator is the base class for all protoc generators managed by
ProtocPlugin. - Generator() - Constructor for class com.salesforce.jprotoc.Generator
- GeneratorException - Exception Class in com.salesforce.jprotoc
-
This exception represents a structural problem with output generation.
- GeneratorException(String) - Constructor for exception class com.salesforce.jprotoc.GeneratorException
- getClassNameFromTypeName(String, boolean) - Method in class no.entur.protoc.interfaces.MessageTypeHandler
- getDescriptor() - Static method in class xsd.Xsd
- getJavaOuterClassname(DescriptorProtos.FileDescriptorProto) - Static method in class com.salesforce.jprotoc.ProtoTypeMap
-
Computes the Java outer class name for a given FileDescriptorProto, for use when multiple classes are generated in the same outer class.
I
- InterfaceProtocContext - Class in no.entur.protoc.interfaces
- InterfaceProtocContext(String, PluginProtos.CodeGeneratorRequest, boolean) - Constructor for class no.entur.protoc.interfaces.InterfaceProtocContext
- InterfaceProtocPlugin - Class in no.entur.protoc.interfaces
- InterfaceProtocPlugin(String[]) - Constructor for class no.entur.protoc.interfaces.InterfaceProtocPlugin
- isGeneratedType(String) - Method in class no.entur.protoc.interfaces.InterfaceProtocContext
M
- main(String[]) - Static method in class no.entur.protoc.interfaces.InterfaceProtocPlugin
- makeFile(String, byte[]) - Method in class com.salesforce.jprotoc.Generator
-
Creates a protobuf file message from a given name and content.
- makeFile(String, String) - Method in class com.salesforce.jprotoc.Generator
-
Creates a protobuf file message from a given name and content.
- MessageTypeHandler - Class in no.entur.protoc.interfaces
-
Generate interfaces for a proto message and create CodeGeneratorResponse.File to add it to generated java class.
- MessageTypeHandler(InterfaceProtocContext, DescriptorProtos.DescriptorProto, DescriptorProtos.FileDescriptorProto) - Constructor for class no.entur.protoc.interfaces.MessageTypeHandler
- messageTypes - Variable in class no.entur.protoc.interfaces.InterfaceProtocContext
N
- no.entur.protoc.interfaces - package no.entur.protoc.interfaces
O
- of(Collection<DescriptorProtos.FileDescriptorProto>) - Static method in class com.salesforce.jprotoc.ProtoTypeMap
-
Returns an instance of
ProtoTypeMapbased on the given FileDescriptorProto instances.
P
- ProtocPlugin - Class in com.salesforce.jprotoc
-
ProtocPlugin is the main entry point for running one or more java-base protoc plugins.
- protoTypeMap - Variable in class no.entur.protoc.interfaces.InterfaceProtocContext
- ProtoTypeMap - Class in com.salesforce.jprotoc
-
ProtoTypeMapmaintains a dictionary for looking up Java type names when given proto types.
R
- registerAllExtensions(ExtensionRegistry) - Static method in class xsd.Xsd
- registerAllExtensions(ExtensionRegistryLite) - Static method in class xsd.Xsd
S
- supportedFeatures() - Method in class com.salesforce.jprotoc.Generator
-
Signals to protoc which additional generator features this Generator supports.
T
- targetFolder - Variable in class no.entur.protoc.interfaces.InterfaceProtocContext
- toJavaTypeName(String) - Method in class com.salesforce.jprotoc.ProtoTypeMap
-
Returns the full Java type name for the given proto type.
U
- useInterfacesForLocalReturnTypes - Variable in class no.entur.protoc.interfaces.InterfaceProtocContext
X
A B C D G I M N O P R S T U XAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Generator.generateFiles(PluginProtos.CodeGeneratorRequest)and return a List instead of a Stream.