Go to the source code of this file.
Classes | |
class | GPBEnum |
class | GPBEnumValue |
class | GPBField |
class | GPBOption |
class | GPBType |
class | GPBTypeRoot |
Macros | |
#define | GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0 |
#define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0 |
Definition at line 7 of file Type.pbobjc.h.
typedef GPB_ENUM | ( | GPBEnum_FieldNumber | ) |
Definition at line 331 of file Type.pbobjc.h.
typedef GPB_ENUM | ( | GPBEnumValue_FieldNumber | ) |
Definition at line 381 of file Type.pbobjc.h.
typedef GPB_ENUM | ( | GPBField_Cardinality | ) |
Whether a field is optional, required, or repeated.
Value used if any message's field encounters a value that is not defined by this enum. The message will also have C functions to get/set the rawValue of the field.
For fields with unknown cardinality.
For optional fields.
For required fields. Proto2 syntax only.
For repeated fields.
Definition at line 146 of file Type.pbobjc.h.
typedef GPB_ENUM | ( | GPBField_FieldNumber | ) |
Definition at line 247 of file Type.pbobjc.h.
typedef GPB_ENUM | ( | GPBField_Kind | ) |
Basic field types.
Value used if any message's field encounters a value that is not defined by this enum. The message will also have C functions to get/set the rawValue of the field.
Field type unknown.
Field type double.
Field type float.
Field type int64.
Field type uint64.
Field type int32.
Field type fixed64.
Field type fixed32.
Field type bool.
Field type string.
Field type group. Proto2 syntax only, and deprecated.
Field type message.
Field type bytes.
Field type uint32.
Field type enum.
Field type sfixed32.
Field type sfixed64.
Field type sint32.
Field type sint64.
Definition at line 70 of file Type.pbobjc.h.
typedef GPB_ENUM | ( | GPBOption_FieldNumber | ) |
Definition at line 407 of file Type.pbobjc.h.
NS_ASSUME_NONNULL_BEGIN typedef GPB_ENUM | ( | GPBSyntax | ) |
The syntax in which a protocol buffer element is defined.
Value used if any message's field encounters a value that is not defined by this enum. The message will also have C functions to get/set the rawValue of the field.
Syntax proto2
.
Syntax proto3
.
Definition at line 45 of file Type.pbobjc.h.
typedef GPB_ENUM | ( | GPBType_FieldNumber | ) |
Definition at line 191 of file Type.pbobjc.h.
int32_t GPBEnum_Syntax_RawValue | ( | GPBEnum * | message | ) |
Fetches the raw value of a GPBEnum's
syntax
property, even if the value was not defined by the enum at the time the code was generated.
GPBEnumDescriptor* GPBField_Cardinality_EnumDescriptor | ( | void | ) |
BOOL GPBField_Cardinality_IsValidValue | ( | int32_t | value | ) |
Checks to see if the given value is defined by the enum or was not known at the time this source was generated.
int32_t GPBField_Cardinality_RawValue | ( | GPBField * | message | ) |
Fetches the raw value of a GPBField's
cardinality
property, even if the value was not defined by the enum at the time the code was generated.
GPBEnumDescriptor* GPBField_Kind_EnumDescriptor | ( | void | ) |
BOOL GPBField_Kind_IsValidValue | ( | int32_t | value | ) |
Checks to see if the given value is defined by the enum or was not known at the time this source was generated.
int32_t GPBField_Kind_RawValue | ( | GPBField * | message | ) |
Fetches the raw value of a GPBField's
kind
property, even if the value was not defined by the enum at the time the code was generated.
GPBEnumDescriptor* GPBSyntax_EnumDescriptor | ( | void | ) |
BOOL GPBSyntax_IsValidValue | ( | int32_t | value | ) |
Checks to see if the given value is defined by the enum or was not known at the time this source was generated.
int32_t GPBType_Syntax_RawValue | ( | GPBType * | message | ) |
Fetches the raw value of a GPBType's
syntax
property, even if the value was not defined by the enum at the time the code was generated.
Sets the raw value of an GPBEnum's
syntax
property, allowing it to be set to a value that was not defined by the enum at the time the code was generated.
Sets the raw value of an GPBField's
cardinality
property, allowing it to be set to a value that was not defined by the enum at the time the code was generated.
Sets the raw value of an GPBField's
kind
property, allowing it to be set to a value that was not defined by the enum at the time the code was generated.