Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::compiler::java::ImmutableServiceGenerator Class Reference

#include <java_service.h>

Inheritance diagram for google::protobuf::compiler::java::ImmutableServiceGenerator:
Inheritance graph
[legend]

Public Member Functions

virtual void Generate (io::Printer *printer)
 
 ImmutableServiceGenerator (const ServiceDescriptor *descriptor, Context *context)
 
virtual ~ImmutableServiceGenerator ()
 
- Public Member Functions inherited from google::protobuf::compiler::java::ServiceGenerator
 ServiceGenerator (const ServiceDescriptor *descriptor)
 
virtual ~ServiceGenerator ()
 

Private Member Functions

void GenerateAbstractMethods (io::Printer *printer)
 
void GenerateBlockingMethodSignature (io::Printer *printer, const MethodDescriptor *method)
 
void GenerateBlockingStub (io::Printer *printer)
 
void GenerateCallBlockingMethod (io::Printer *printer)
 
void GenerateCallMethod (io::Printer *printer)
 
void GenerateGetDescriptorForType (io::Printer *printer)
 
void GenerateGetPrototype (RequestOrResponse which, io::Printer *printer)
 
void GenerateInterface (io::Printer *printer)
 
void GenerateMethodSignature (io::Printer *printer, const MethodDescriptor *method, IsAbstract is_abstract)
 
void GenerateNewReflectiveBlockingServiceMethod (io::Printer *printer)
 
void GenerateNewReflectiveServiceMethod (io::Printer *printer)
 
void GenerateStub (io::Printer *printer)
 
std::string GetOutput (const MethodDescriptor *method)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ImmutableServiceGenerator)
 

Private Attributes

Contextcontext_
 
ClassNameResolvername_resolver_
 

Additional Inherited Members

- Public Types inherited from google::protobuf::compiler::java::ServiceGenerator
enum  IsAbstract { IS_ABSTRACT, IS_CONCRETE }
 
enum  RequestOrResponse { REQUEST, RESPONSE }
 
- Protected Attributes inherited from google::protobuf::compiler::java::ServiceGenerator
const ServiceDescriptordescriptor_
 

Detailed Description

Definition at line 77 of file java_service.h.

Constructor & Destructor Documentation

◆ ImmutableServiceGenerator()

google::protobuf::compiler::java::ImmutableServiceGenerator::ImmutableServiceGenerator ( const ServiceDescriptor descriptor,
Context context 
)

Definition at line 56 of file java_service.cc.

◆ ~ImmutableServiceGenerator()

google::protobuf::compiler::java::ImmutableServiceGenerator::~ImmutableServiceGenerator ( )
virtual

Definition at line 62 of file java_service.cc.

Member Function Documentation

◆ Generate()

void google::protobuf::compiler::java::ImmutableServiceGenerator::Generate ( io::Printer printer)
virtual

◆ GenerateAbstractMethods()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateAbstractMethods ( io::Printer printer)
private

Definition at line 178 of file java_service.cc.

◆ GenerateBlockingMethodSignature()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateBlockingMethodSignature ( io::Printer printer,
const MethodDescriptor method 
)
private

Definition at line 458 of file java_service.cc.

◆ GenerateBlockingStub()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateBlockingStub ( io::Printer printer)
private

Definition at line 383 of file java_service.cc.

◆ GenerateCallBlockingMethod()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateCallBlockingMethod ( io::Printer printer)
private

Definition at line 239 of file java_service.cc.

◆ GenerateCallMethod()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateCallMethod ( io::Printer printer)
private

Definition at line 192 of file java_service.cc.

◆ GenerateGetDescriptorForType()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateGetDescriptorForType ( io::Printer printer)
private

Definition at line 113 of file java_service.cc.

◆ GenerateGetPrototype()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateGetPrototype ( RequestOrResponse  which,
io::Printer printer 
)
private

Definition at line 282 of file java_service.cc.

◆ GenerateInterface()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateInterface ( io::Printer printer)
private

Definition at line 122 of file java_service.cc.

◆ GenerateMethodSignature()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateMethodSignature ( io::Printer printer,
const MethodDescriptor method,
IsAbstract  is_abstract 
)
private

Definition at line 443 of file java_service.cc.

◆ GenerateNewReflectiveBlockingServiceMethod()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateNewReflectiveBlockingServiceMethod ( io::Printer printer)
private

Definition at line 157 of file java_service.cc.

◆ GenerateNewReflectiveServiceMethod()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateNewReflectiveServiceMethod ( io::Printer printer)
private

Definition at line 130 of file java_service.cc.

◆ GenerateStub()

void google::protobuf::compiler::java::ImmutableServiceGenerator::GenerateStub ( io::Printer printer)
private

Definition at line 328 of file java_service.cc.

◆ GetOutput()

std::string google::protobuf::compiler::java::ImmutableServiceGenerator::GetOutput ( const MethodDescriptor method)
private

Definition at line 187 of file java_service.cc.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::compiler::java::ImmutableServiceGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ImmutableServiceGenerator  )
private

Member Data Documentation

◆ context_

Context* google::protobuf::compiler::java::ImmutableServiceGenerator::context_
private

Definition at line 129 of file java_service.h.

◆ name_resolver_

ClassNameResolver* google::protobuf::compiler::java::ImmutableServiceGenerator::name_resolver_
private

Definition at line 130 of file java_service.h.


The documentation for this class was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09