Skip navigation links
A C D G J M O P S T 

A

applyTemplate(String, Object) - Method in class com.salesforce.jprotoc.Generator
Executes a mustache template against a generatorContext object to generate an output string.

C

com.salesforce.jprotoc - package com.salesforce.jprotoc
 
com.salesforce.jprotoc.dump - package com.salesforce.jprotoc.dump
 
com.salesforce.jprotoc.jdk8 - package com.salesforce.jprotoc.jdk8
 

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.
DumpGenerator - Class in com.salesforce.jprotoc.dump
Dumps the content of the input descriptor set to descriptor_dump.json.
DumpGenerator() - Constructor for class com.salesforce.jprotoc.dump.DumpGenerator
 

G

generate(PluginProtos.CodeGeneratorRequest) - Method in class com.salesforce.jprotoc.Generator
Deprecated.
use Generator.generateFiles(PluginProtos.CodeGeneratorRequest) and return a List instead of a Stream.
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.
generateFiles(PluginProtos.CodeGeneratorRequest) - Method in class com.salesforce.jprotoc.dump.DumpGenerator
 
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 com.salesforce.jprotoc.jdk8.Jdk8Generator
 
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 in com.salesforce.jprotoc
This exception represents a structural problem with output generation.
GeneratorException(String) - Constructor for exception com.salesforce.jprotoc.GeneratorException
 
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.

J

Jdk8Generator - Class in com.salesforce.jprotoc.jdk8
Generates a set of gRPC stubs that support JDK8 CompletableFuture.
Jdk8Generator() - Constructor for class com.salesforce.jprotoc.jdk8.Jdk8Generator
 

M

main(String[]) - Static method in class com.salesforce.jprotoc.dump.DumpGenerator
 
main(String[]) - Static method in class com.salesforce.jprotoc.jdk8.Jdk8Generator
 
makeFile(String, String) - Method in class com.salesforce.jprotoc.Generator
Creates a protobuf file message from a given name and content.
makeFile(String, byte[]) - Method in class com.salesforce.jprotoc.Generator
Creates a protobuf file message from a given name and content.
MAVEN_DUMP_PATH - Static variable in class com.salesforce.jprotoc.ProtocPluginTesting
 

O

of(Collection<DescriptorProtos.FileDescriptorProto>) - Static method in class com.salesforce.jprotoc.ProtoTypeMap
Returns an instance of ProtoTypeMap based 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.
ProtocPluginTesting - Class in com.salesforce.jprotoc
This method is designed to be used by unit tests.
ProtoTypeMap - Class in com.salesforce.jprotoc
ProtoTypeMap maintains a dictionary for looking up Java type names when given proto types.

S

supportedFeatures() - Method in class com.salesforce.jprotoc.dump.DumpGenerator
 
supportedFeatures() - Method in class com.salesforce.jprotoc.Generator
Signals to protoc which additional generator features this Generator supports.
supportedFeatures() - Method in class com.salesforce.jprotoc.jdk8.Jdk8Generator
 

T

test(Generator, String) - Static method in class com.salesforce.jprotoc.ProtocPluginTesting
Debug a single generator using the parsed proto descriptor.
test(List<Generator>, String) - Static method in class com.salesforce.jprotoc.ProtocPluginTesting
Debug multiple generators using the parsed proto descriptor, aggregating their results.
test(List<Generator>, List<GeneratedMessage.GeneratedExtension>, String) - Static method in class com.salesforce.jprotoc.ProtocPluginTesting
Test multiple generators using the parsed proto descriptor, aggregating their results.
toJavaTypeName(String) - Method in class com.salesforce.jprotoc.ProtoTypeMap
Returns the full Java type name for the given proto type.
A C D G J M O P S T 
Skip navigation links

Copyright © 2023. All rights reserved.