Go to the documentation of this file.
35 #ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_SERVICE_H__
36 #define GOOGLE_PROTOBUF_COMPILER_JAVA_SERVICE_H__
39 #include <google/protobuf/descriptor.h>
46 class ClassNameResolver;
60 class ServiceGenerator {
77 class ImmutableServiceGenerator :
public ServiceGenerator {
139 #endif // NET_PROTO2_COMPILER_JAVA_SERVICE_H__
void GenerateMethodSignature(io::Printer *printer, const MethodDescriptor *method, IsAbstract is_abstract)
std::string GetOutput(const MethodDescriptor *method)
GRPC_CUSTOM_PRINTER Printer
ServiceGenerator(const ServiceDescriptor *descriptor)
virtual ~ServiceGenerator()
void GenerateNewReflectiveBlockingServiceMethod(io::Printer *printer)
const ServiceDescriptor * descriptor_
void GenerateGetPrototype(RequestOrResponse which, io::Printer *printer)
void GenerateCallBlockingMethod(io::Printer *printer)
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceGenerator)
void GenerateInterface(io::Printer *printer)
void GenerateNewReflectiveServiceMethod(io::Printer *printer)
void GenerateBlockingMethodSignature(io::Printer *printer, const MethodDescriptor *method)
void GenerateBlockingStub(io::Printer *printer)
virtual void Generate(io::Printer *printer)
void GenerateCallMethod(io::Printer *printer)
ImmutableServiceGenerator(const ServiceDescriptor *descriptor, Context *context)
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ImmutableServiceGenerator)
grpc::ClientContext context
void GenerateGetDescriptorForType(io::Printer *printer)
void GenerateAbstractMethods(io::Printer *printer)
virtual void Generate(io::Printer *printer)=0
ClassNameResolver * name_resolver_
static const char descriptor[1336]
GRPC_CUSTOM_SERVICEDESCRIPTOR ServiceDescriptor
virtual ~ImmutableServiceGenerator()
const Descriptor::ReservedRange const EnumValueDescriptor method
void GenerateStub(io::Printer *printer)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:10