GPBApi.pbobjc.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/api.proto
3 
4 // This CPP symbol can be defined to use imports that match up to the framework
5 // imports needed when using CocoaPods.
6 #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
7  #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
8 #endif
9 
10 #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
11  #import <Protobuf/GPBDescriptor.h>
12  #import <Protobuf/GPBMessage.h>
13  #import <Protobuf/GPBRootObject.h>
14 #else
15  #import "GPBDescriptor.h"
16  #import "GPBMessage.h"
17  #import "GPBRootObject.h"
18 #endif
19 
20 #if GOOGLE_PROTOBUF_OBJC_VERSION < 30004
21 #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
22 #endif
23 #if 30004 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
24 #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
25 #endif
26 
27 // @@protoc_insertion_point(imports)
28 
29 #pragma clang diagnostic push
30 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
31 
32 CF_EXTERN_C_BEGIN
33 
34 @class GPBMethod;
35 @class GPBMixin;
36 @class GPBOption;
37 @class GPBSourceContext;
38 GPB_ENUM_FWD_DECLARE(GPBSyntax);
39 
40 NS_ASSUME_NONNULL_BEGIN
41 
42 #pragma mark - GPBApiRoot
43 
55 @end
56 
57 #pragma mark - GPBApi
58 
59 typedef GPB_ENUM(GPBApi_FieldNumber) {
60  GPBApi_FieldNumber_Name = 1,
61  GPBApi_FieldNumber_MethodsArray = 2,
62  GPBApi_FieldNumber_OptionsArray = 3,
63  GPBApi_FieldNumber_Version = 4,
64  GPBApi_FieldNumber_SourceContext = 5,
65  GPBApi_FieldNumber_MixinsArray = 6,
66  GPBApi_FieldNumber_Syntax = 7,
67 };
68 
80 GPB_FINAL @interface GPBApi : GPBMessage
81 
86 @property(nonatomic, readwrite, copy, null_resettable) NSString *name;
87 
89 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GPBMethod*> *methodsArray;
91 @property(nonatomic, readonly) NSUInteger methodsArray_Count;
92 
94 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GPBOption*> *optionsArray;
96 @property(nonatomic, readonly) NSUInteger optionsArray_Count;
97 
119 @property(nonatomic, readwrite, copy, null_resettable) NSString *version;
120 
125 @property(nonatomic, readwrite, strong, null_resettable) GPBSourceContext *sourceContext;
127 @property(nonatomic, readwrite) BOOL hasSourceContext;
128 
130 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GPBMixin*> *mixinsArray;
132 @property(nonatomic, readonly) NSUInteger mixinsArray_Count;
133 
135 @property(nonatomic, readwrite) enum GPBSyntax syntax;
136 
137 @end
138 
150 
151 #pragma mark - GPBMethod
152 
153 typedef GPB_ENUM(GPBMethod_FieldNumber) {
154  GPBMethod_FieldNumber_Name = 1,
155  GPBMethod_FieldNumber_RequestTypeURL = 2,
156  GPBMethod_FieldNumber_RequestStreaming = 3,
157  GPBMethod_FieldNumber_ResponseTypeURL = 4,
158  GPBMethod_FieldNumber_ResponseStreaming = 5,
159  GPBMethod_FieldNumber_OptionsArray = 6,
160  GPBMethod_FieldNumber_Syntax = 7,
161 };
162 
166 GPB_FINAL @interface GPBMethod : GPBMessage
167 
169 @property(nonatomic, readwrite, copy, null_resettable) NSString *name;
170 
172 @property(nonatomic, readwrite, copy, null_resettable) NSString *requestTypeURL;
173 
175 @property(nonatomic, readwrite) BOOL requestStreaming;
176 
178 @property(nonatomic, readwrite, copy, null_resettable) NSString *responseTypeURL;
179 
181 @property(nonatomic, readwrite) BOOL responseStreaming;
182 
184 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GPBOption*> *optionsArray;
186 @property(nonatomic, readonly) NSUInteger optionsArray_Count;
187 
189 @property(nonatomic, readwrite) enum GPBSyntax syntax;
190 
191 @end
192 
204 
205 #pragma mark - GPBMixin
206 
207 typedef GPB_ENUM(GPBMixin_FieldNumber) {
208  GPBMixin_FieldNumber_Name = 1,
209  GPBMixin_FieldNumber_Root = 2,
210 };
211 
292 GPB_FINAL @interface GPBMixin : GPBMessage
293 
295 @property(nonatomic, readwrite, copy, null_resettable) NSString *name;
296 
301 @property(nonatomic, readwrite, copy, null_resettable) NSString *root;
302 
303 @end
304 
305 NS_ASSUME_NONNULL_END
306 
307 CF_EXTERN_C_END
308 
309 #pragma clang diagnostic pop
310 
311 // @@protoc_insertion_point(global_scope)
SetGPBApi_Syntax_RawValue
void SetGPBApi_Syntax_RawValue(GPBApi *message, int32_t value)
copy
static int copy(grpc_slice_buffer *input, grpc_slice_buffer *output)
Definition: message_compress.cc:145
setup.name
name
Definition: setup.py:542
GPB_FINAL
#define GPB_FINAL
Definition: protobuf/objectivec/GPBBootstrap.h:120
version
Definition: version.py:1
GPB_ENUM
typedef GPB_ENUM(GPBApi_FieldNumber)
Definition: GPBApi.pbobjc.h:59
GPBDescriptor.h
SetGPBMethod_Syntax_RawValue
void SetGPBMethod_Syntax_RawValue(GPBMethod *message, int32_t value)
message
char * message
Definition: libuv/docs/code/tty-gravity/main.c:12
BOOL
int BOOL
Definition: undname.c:46
GPBSourceContext
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/SourceContext.pbobjc.h:61
GPBApi_Syntax_RawValue
int32_t GPBApi_Syntax_RawValue(GPBApi *message)
benchmark.syntax
syntax
Definition: benchmark.py:90
root
RefCountedPtr< grpc_tls_certificate_provider > root
Definition: xds_server_config_fetcher.cc:223
GPBMixin
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Api.pbobjc.h:292
GPBRootObject.h
GPBApi
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Api.pbobjc.h:80
GPB_ENUM_FWD_DECLARE
GPB_ENUM_FWD_DECLARE(GPBSyntax)
GPBRootObject
Definition: bloaty/third_party/protobuf/objectivec/GPBRootObject.h:42
value
const char * value
Definition: hpack_parser_table.cc:165
GPBOption
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Type.pbobjc.h:416
GPBMethod
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Api.pbobjc.h:166
GPBMessage
Definition: bloaty/third_party/protobuf/objectivec/GPBMessage.h:83
GPBApiRoot
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Api.pbobjc.h:54
int32_t
signed int int32_t
Definition: stdint-msvc2008.h:77
GPBMethod_Syntax_RawValue
int32_t GPBMethod_Syntax_RawValue(GPBMethod *message)
GPBMessage.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:45