Skip navigation links
A E F G H I J M N O P R S T V 

A

AbstractDescriptor - Class in io.protobufx.protoc.gen.spring.generator
 
AbstractDescriptor(FileDescriptorProcessingContext, String) - Constructor for class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
 
add(String) - Method in class io.protobufx.protoc.gen.spring.generator.Parameters
 
apply(String, Map<String, Object>) - Static method in class io.protobufx.protoc.gen.spring.generator.Template
 

E

endMessageField(FieldDescriptor, MessageDescriptor) - Method in interface io.protobufx.protoc.gen.spring.generator.MessageDescriptor.MessageFieldVisitor
 
EnumDescriptor - Class in io.protobufx.protoc.gen.spring.generator
A wrapper around DescriptorProtos.EnumDescriptorProto with additional information.

F

FieldDescriptor - Class in io.protobufx.protoc.gen.spring.generator
A wrapper around DescriptorProtos.FieldDescriptorProto, which describes a single field in a message.
FieldDescriptor(FileDescriptorProcessingContext, MessageDescriptor, DescriptorProtos.FieldDescriptorProto, Map<String, Boolean>) - Constructor for class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
 
formatFieldName(String) - Static method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
Format the name of a field from snake case to camel case.
fromDescriptor(DescriptorProtos.MethodDescriptorProto) - Static method in enum io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor.MethodType
 

G

generate() - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
This is the interface into the ProtocPluginCodeGenerator.
generateCode(AbstractDescriptor) - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
 
generateEnumCode(EnumDescriptor) - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
Generate the Java code for a particular EnumDescriptor.
generateImports() - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
Generate the Java imports required by the generated code in your plugin.
generateMessageCode(MessageDescriptor) - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
Generate the Java code for a particular MessageDescriptor.
generatePluginJavaClass(String) - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
This method should return the name of the plugin's outer Java class for a particular file, derived from the name of the outer Java class generated by the regular protobuf compiler.
generateServiceCode(ServiceDescriptor) - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
Generate the Java code for a particular ServiceDescriptor.
getBoundVariables() - Method in class io.protobufx.protoc.gen.spring.PathTemplate
 
getComment() - Method in class io.protobufx.protoc.gen.spring.generator.EnumDescriptor
Get the comment on this enum.
getComment() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
 
getComment() - Method in class io.protobufx.protoc.gen.spring.generator.MessageDescriptor
 
getComment() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor
 
getContentMessage() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
Returns the descriptor for the non-base message type of this field.
getDescriptorProto() - Method in class io.protobufx.protoc.gen.spring.generator.MessageDescriptor
 
getFieldDescriptors() - Method in class io.protobufx.protoc.gen.spring.generator.MessageDescriptor
 
getHttpRule() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor
 
getInputMessage() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor
 
getJavaPkgName() - Method in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
 
getMapValue() - Method in class io.protobufx.protoc.gen.spring.generator.MessageDescriptor
Only called for MapEntry objects.
getMethodContexts() - Method in class io.protobufx.protoc.gen.spring.MethodGenerator
 
getMethodDescriptors() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceDescriptor
 
getName() - Method in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
Get the unqualified name of this message.
getName() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
Get the non-suffixed, camelcase name to use to refer to the field.
getName() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor
 
getNameWithinOuterClass() - Method in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
Gets the name of this message within the overarching outer class that's generated for every .proto.
getNestedMessages() - Method in class io.protobufx.protoc.gen.spring.generator.MessageDescriptor
 
getOneofName() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
Get the camelcase name of the enclosing oneof, if this field is declared inside a oneof.
getOutputMessage() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor
 
getParameterValue(String) - Method in class io.protobufx.protoc.gen.spring.generator.Parameters
 
getPluginName() - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
This method should return the name of the plugin.
getProto() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
 
getProto() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceDescriptor
 
getProto() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor
 
getProtoPkgName() - Method in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
 
getQualifiedName() - Method in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
Get the fully qualified name of the class this descriptor will generate.
getQualifiedOriginalName() - Method in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
Get the name of the original Java class generated by the protobuf compiler for the message this descriptor relates to.
getQualifiedProtoName() - Method in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
Get the fully qualified name of the protobuf message this descriptor relates to.
getQueryPath() - Method in class io.protobufx.protoc.gen.spring.PathTemplate
 
getSuffixedName() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
Get the suffixed, camelcase name to use to refer to the field.
getType() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
Get the full Java type of the field.
getType() - Method in class io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor
 
getTypeName() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
Get the name of the type for the field.
getValueComment(String) - Method in class io.protobufx.protoc.gen.spring.generator.EnumDescriptor
Get the comment on a particular value of the enum.
getValues() - Method in class io.protobufx.protoc.gen.spring.generator.EnumDescriptor
Get the name-value pairs for possible values of the enum.

H

hasParameter(String) - Method in class io.protobufx.protoc.gen.spring.generator.Parameters
 

I

io.protobufx.protoc.gen.spring - package io.protobufx.protoc.gen.spring
 
io.protobufx.protoc.gen.spring.generator - package io.protobufx.protoc.gen.spring.generator
 
isList() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
 
isMapEntry() - Method in class io.protobufx.protoc.gen.spring.generator.MessageDescriptor
This should return true if this descriptor describes a MapEntry object.
isMapField() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
 
isProto3Syntax() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
 
isRequired() - Method in class io.protobufx.protoc.gen.spring.generator.FieldDescriptor
 

J

javaPkgName - Variable in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
The Java package this descriptor's code will be in.

M

Main - Class in io.protobufx.protoc.gen.spring
 
Main() - Constructor for class io.protobufx.protoc.gen.spring.Main
 
main(String[]) - Static method in class io.protobufx.protoc.gen.spring.Main
 
MessageDescriptor - Class in io.protobufx.protoc.gen.spring.generator
A wrapper around DescriptorProtos.DescriptorProto with additional information and utility methods.
MessageDescriptor(FileDescriptorProcessingContext, DescriptorProtos.DescriptorProto, ImmutableList<AbstractDescriptor>) - Constructor for class io.protobufx.protoc.gen.spring.generator.MessageDescriptor
 
MessageDescriptor.MessageFieldVisitor - Interface in io.protobufx.protoc.gen.spring.generator
A visitor for all the fields (recursive) of a message described by a MessageDescriptor.
MethodGenerator - Class in io.protobufx.protoc.gen.spring
A utility class to encapsulate the generation of HTTP methods for gRPC services.
MethodGenerator(ServiceDescriptor, ServiceMethodDescriptor, String) - Constructor for class io.protobufx.protoc.gen.spring.MethodGenerator
 

N

name - Variable in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
The non-qualified name of this descriptor.

O

outerClass - Variable in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
The outer class the descriptor's code will be in.

P

Parameters - Class in io.protobufx.protoc.gen.spring.generator
 
Parameters() - Constructor for class io.protobufx.protoc.gen.spring.generator.Parameters
 
parameters - Variable in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
Stores build parameters.
PathTemplate - Class in io.protobufx.protoc.gen.spring
The syntax of the path template is as follows: Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ;
PathTemplate(String) - Constructor for class io.protobufx.protoc.gen.spring.PathTemplate
 
ProtocPluginCodeGenerator - Class in io.protobufx.protoc.gen.spring.generator
This is the central class that does the heavy lifting of: 1) Reading and parsing the PluginProtos.CodeGeneratorRequest 2) Generating the code (extensions of this class control how this is actually done).
ProtocPluginCodeGenerator() - Constructor for class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
 
protoPkgName - Variable in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
The protobuf package that defined the descriptor.

R

registry - Variable in class io.protobufx.protoc.gen.spring.generator.AbstractDescriptor
 

S

ServiceDescriptor - Class in io.protobufx.protoc.gen.spring.generator
 
ServiceDescriptor(FileDescriptorProcessingContext, DescriptorProtos.ServiceDescriptorProto) - Constructor for class io.protobufx.protoc.gen.spring.generator.ServiceDescriptor
 
ServiceMethodDescriptor - Class in io.protobufx.protoc.gen.spring.generator
A wrapper around DescriptorProtos.MethodDescriptorProto, which describes a single rpc method in a service.
ServiceMethodDescriptor.MethodType - Enum in io.protobufx.protoc.gen.spring.generator
A helper enum to differentiate the types of methods based on the use of client or server side streaming.
skipFile(DescriptorProtos.FileDescriptorProto) - Method in class io.protobufx.protoc.gen.spring.generator.ProtocPluginCodeGenerator
Whether or not to skip generating code for a particular file.
startMessageField(FieldDescriptor, MessageDescriptor) - Method in interface io.protobufx.protoc.gen.spring.generator.MessageDescriptor.MessageFieldVisitor
 

T

Template - Class in io.protobufx.protoc.gen.spring.generator
 
Template() - Constructor for class io.protobufx.protoc.gen.spring.generator.Template
 

V

valueOf(String) - Static method in enum io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor.MethodType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.protobufx.protoc.gen.spring.generator.ServiceMethodDescriptor.MethodType
Returns an array containing the constants of this enum type, in the order they are declared.
visitBaseField(FieldDescriptor) - Method in interface io.protobufx.protoc.gen.spring.generator.MessageDescriptor.MessageFieldVisitor
 
visitEnumField(FieldDescriptor, EnumDescriptor) - Method in interface io.protobufx.protoc.gen.spring.generator.MessageDescriptor.MessageFieldVisitor
 
visitFields(MessageDescriptor.MessageFieldVisitor) - Method in class io.protobufx.protoc.gen.spring.generator.MessageDescriptor
 
A E F G H I J M N O P R S T V 
Skip navigation links