#import <GPBUnknownFieldSet.h>
Instance Methods | |
(void) | - addField: |
(void) | - addUnknownMapEntry:value: [implementation] |
(NSUInteger) | - countOfFields |
(NSData *) | - data [implementation] |
(nullable GPBUnknownField *) | - getField: |
(BOOL) | - hasField: |
(BOOL) | - mergeFieldFrom:input: [implementation] |
(void) | - mergeFromCodedInputStream: [implementation] |
(void) | - mergeFromData: [implementation] |
(void) | - mergeMessageSetMessage:data: [implementation] |
(void) | - mergeUnknownFields: [implementation] |
(void) | - mergeVarintField:value: [implementation] |
(size_t) | - serializedSize [implementation] |
(size_t) | - serializedSizeAsMessageSet [implementation] |
(NSArray< GPBUnknownField * > *) | - sortedFields |
(void) | - writeAsMessageSetTo: [implementation] |
(void) | - writeToCodedOutputStream: [implementation] |
Class Methods | |
(BOOL) | + isFieldTag: [implementation] |
A collection of unknown fields. Fields parsed from the binary representation of a message that are unknown end up in an instance of this set. This only applies for files declared with the "proto2" syntax. Files declared with the "proto3" syntax discard the unknown values.
Definition at line 43 of file GPBUnknownFieldSet.h.
- (void) addField: | (GPBUnknownField *) | field |
Adds the given field to the set.
field | The field to add to the set. |
|
implementation |
- (NSUInteger) countOfFields |
|
implementation |
- (nullable GPBUnknownField *) getField: | (int32_t) | number |
Fetches the GPBUnknownField for the given field number.
number | The field number to look up. |
- (BOOL) hasField: | (int32_t) | number |
Tests to see if the given field number has a value.
number | The field number to check. |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
- (NSArray<GPBUnknownField *> *) sortedFields |
|
implementation |
|
implementation |