GPBStruct.pbobjc.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/struct.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 GPBListValue;
35 @class GPBStruct;
36 @class GPBValue;
37 
38 NS_ASSUME_NONNULL_BEGIN
39 
40 #pragma mark - Enum GPBNullValue
41 
48 typedef GPB_ENUM(GPBNullValue) {
54  GPBNullValue_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
56  GPBNullValue_NullValue = 0,
57 };
58 
60 
66 
67 #pragma mark - GPBStructRoot
68 
80 @end
81 
82 #pragma mark - GPBStruct
83 
84 typedef GPB_ENUM(GPBStruct_FieldNumber) {
85  GPBStruct_FieldNumber_Fields = 1,
86 };
87 
98 GPB_FINAL @interface GPBStruct : GPBMessage
99 
101 @property(nonatomic, readwrite, strong, null_resettable) NSMutableDictionary<NSString*, GPBValue*> *fields;
103 @property(nonatomic, readonly) NSUInteger fields_Count;
104 
105 @end
106 
107 #pragma mark - GPBValue
108 
109 typedef GPB_ENUM(GPBValue_FieldNumber) {
110  GPBValue_FieldNumber_NullValue = 1,
111  GPBValue_FieldNumber_NumberValue = 2,
112  GPBValue_FieldNumber_StringValue = 3,
113  GPBValue_FieldNumber_BoolValue = 4,
114  GPBValue_FieldNumber_StructValue = 5,
115  GPBValue_FieldNumber_ListValue = 6,
116 };
117 
118 typedef GPB_ENUM(GPBValue_Kind_OneOfCase) {
119  GPBValue_Kind_OneOfCase_GPBUnsetOneOfCase = 0,
120  GPBValue_Kind_OneOfCase_NullValue = 1,
121  GPBValue_Kind_OneOfCase_NumberValue = 2,
122  GPBValue_Kind_OneOfCase_StringValue = 3,
123  GPBValue_Kind_OneOfCase_BoolValue = 4,
124  GPBValue_Kind_OneOfCase_StructValue = 5,
125  GPBValue_Kind_OneOfCase_ListValue = 6,
126 };
127 
136 GPB_FINAL @interface GPBValue : GPBMessage
137 
139 @property(nonatomic, readonly) GPBValue_Kind_OneOfCase kindOneOfCase;
140 
142 @property(nonatomic, readwrite) GPBNullValue nullValue;
143 
145 @property(nonatomic, readwrite) double numberValue;
146 
148 @property(nonatomic, readwrite, copy, null_resettable) NSString *stringValue;
149 
151 @property(nonatomic, readwrite) BOOL boolValue;
152 
154 @property(nonatomic, readwrite, strong, null_resettable) GPBStruct *structValue;
155 
157 @property(nonatomic, readwrite, strong, null_resettable) GPBListValue *listValue;
158 
159 @end
160 
172 
177 
178 #pragma mark - GPBListValue
179 
180 typedef GPB_ENUM(GPBListValue_FieldNumber) {
181  GPBListValue_FieldNumber_ValuesArray = 1,
182 };
183 
189 GPB_FINAL @interface GPBListValue : GPBMessage
190 
192 @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<GPBValue*> *valuesArray;
194 @property(nonatomic, readonly) NSUInteger valuesArray_Count;
195 
196 @end
197 
198 NS_ASSUME_NONNULL_END
199 
200 CF_EXTERN_C_END
201 
202 #pragma clang diagnostic pop
203 
204 // @@protoc_insertion_point(global_scope)
SetGPBValue_NullValue_RawValue
void SetGPBValue_NullValue_RawValue(GPBValue *message, int32_t value)
GPBStructRoot
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Struct.pbobjc.h:79
copy
static int copy(grpc_slice_buffer *input, grpc_slice_buffer *output)
Definition: message_compress.cc:145
GPB_FINAL
#define GPB_FINAL
Definition: protobuf/objectivec/GPBBootstrap.h:120
Json::nullValue
@ nullValue
'null' value
Definition: third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h:464
GPBDescriptor.h
kGPBUnrecognizedEnumeratorValue
@ kGPBUnrecognizedEnumeratorValue
Definition: bloaty/third_party/protobuf/objectivec/GPBRuntimeTypes.h:54
message
char * message
Definition: libuv/docs/code/tty-gravity/main.c:12
BOOL
int BOOL
Definition: undname.c:46
GPBValue_NullValue_RawValue
int32_t GPBValue_NullValue_RawValue(GPBValue *message)
GPBStruct
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Struct.pbobjc.h:98
Json::stringValue
@ stringValue
UTF-8 string value.
Definition: third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h:468
GPBNullValue_IsValidValue
BOOL GPBNullValue_IsValidValue(int32_t value)
GPBRootObject.h
GPBRootObject
Definition: bloaty/third_party/protobuf/objectivec/GPBRootObject.h:42
value
const char * value
Definition: hpack_parser_table.cc:165
GPBListValue
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Struct.pbobjc.h:189
profile_analyzer.fields
list fields
Definition: profile_analyzer.py:266
GPBMessage
Definition: bloaty/third_party/protobuf/objectivec/GPBMessage.h:83
GPBNullValue_EnumDescriptor
GPBEnumDescriptor * GPBNullValue_EnumDescriptor(void)
GPBValue_ClearKindOneOfCase
void GPBValue_ClearKindOneOfCase(GPBValue *message)
int32_t
signed int int32_t
Definition: stdint-msvc2008.h:77
GPBValue
Definition: bloaty/third_party/protobuf/objectivec/google/protobuf/Struct.pbobjc.h:136
GPBEnumDescriptor
Definition: bloaty/third_party/protobuf/objectivec/GPBDescriptor.h:216
GPB_ENUM
NS_ASSUME_NONNULL_BEGIN typedef GPB_ENUM(GPBNullValue)
Definition: GPBStruct.pbobjc.h:48
GPBMessage.h


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