Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
grpc
src
compiler
objective_c_generator.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2015 gRPC authors.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
#ifndef GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_H
20
#define GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_H
21
22
#include "
src/compiler/config.h
"
23
24
namespace
grpc_objective_c_generator
{
25
26
struct
Parameters
{
27
// Do not generate V1 interface and implementation
28
bool
no_v1_compatibility
;
29
};
30
31
using ::grpc::protobuf::FileDescriptor
;
32
using ::grpc::protobuf::ServiceDescriptor
;
33
using ::std::string
;
34
35
// Returns forward declaration of classes in the generated header file.
36
string
GetAllMessageClasses
(
const
FileDescriptor
*
file
);
37
38
// Returns the content to be included defining the @protocol segment at the
39
// insertion point of the generated implementation file. This interface is
40
// legacy and for backwards compatibility.
41
string
GetProtocol
(
const
ServiceDescriptor
*
service
,
42
const
Parameters
& generator_params);
43
44
// Returns the content to be included defining the @protocol segment at the
45
// insertion point of the generated implementation file.
46
string
GetV2Protocol
(
const
ServiceDescriptor
*
service
);
47
48
// Returns the content to be included defining the @interface segment at the
49
// insertion point of the generated implementation file.
50
string
GetInterface
(
const
ServiceDescriptor
*
service
,
51
const
Parameters
& generator_params);
52
53
// Returns the content to be included in the "global_scope" insertion point of
54
// the generated implementation file.
55
string
GetSource
(
const
ServiceDescriptor
*
service
,
56
const
Parameters
& generator_params);
57
58
}
// namespace grpc_objective_c_generator
59
60
#endif // GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_H
grpc_objective_c_generator
Definition:
objective_c_generator.cc:38
config.h
FileDescriptor
Definition:
bloaty/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.h:128
testing::internal::string
::std::string string
Definition:
bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
file
Definition:
bloaty/third_party/zlib/examples/gzappend.c:170
grpc_objective_c_generator::GetAllMessageClasses
::std::string GetAllMessageClasses(const FileDescriptor *file)
Definition:
objective_c_generator.cc:263
grpc_objective_c_generator::GetProtocol
::std::string GetProtocol(const ServiceDescriptor *service, const Parameters &generator_params)
Definition:
objective_c_generator.cc:281
grpc_objective_c_generator::GetSource
::std::string GetSource(const ServiceDescriptor *service, const Parameters &generator_params)
Definition:
objective_c_generator.cc:372
grpc_objective_c_generator::GetInterface
::std::string GetInterface(const ServiceDescriptor *service, const Parameters &generator_params)
Definition:
objective_c_generator.cc:329
grpc_objective_c_generator::GetV2Protocol
::std::string GetV2Protocol(const ServiceDescriptor *service)
Definition:
objective_c_generator.cc:310
grpc_objective_c_generator::Parameters
Definition:
objective_c_generator.h:26
grpc_objective_c_generator::Parameters::no_v1_compatibility
bool no_v1_compatibility
Definition:
objective_c_generator.h:28
FileDescriptor
struct FileDescriptor FileDescriptor
Definition:
bloaty/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.h:56
service
__attribute__((deprecated("Please use GRPCProtoMethod."))) @interface ProtoMethod NSString * service
Definition:
ProtoMethod.h:25
grpc::protobuf::ServiceDescriptor
GRPC_CUSTOM_SERVICEDESCRIPTOR ServiceDescriptor
Definition:
include/grpcpp/impl/codegen/config_protobuf.h:88
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:44