webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Class Methods | List of all members
GPBUnknownFieldSet Class Reference

A collection of unknown fields. More...

#import <GPBUnknownFieldSet.h>

Inheritance diagram for GPBUnknownFieldSet:
NSObject

Instance Methods

(BOOL- hasField:
 
(nullable GPBUnknownField *) - getField:
 
(NSUInteger) - countOfFields
 Returns the number of fields in this set. More...
 
(void- addField:
 Adds the given field to the set. More...
 
(NSArray< GPBUnknownField * > *) - sortedFields
 Returns an NSArray of the GPBUnknownFields sorted by the field numbers. More...
 
(NSData *) - data [implementation]
 
(size_t- serializedSize [implementation]
 
(size_t- serializedSizeAsMessageSet [implementation]
 
(void- writeToCodedOutputStream: [implementation]
 
(void- writeAsMessageSetTo: [implementation]
 
(void- mergeUnknownFields: [implementation]
 
(void- mergeFromCodedInputStream: [implementation]
 
(void- mergeFromData: [implementation]
 
(void- mergeVarintField:value: [implementation]
 
(BOOL- mergeFieldFrom:input: [implementation]
 
(void- mergeMessageSetMessage:data: [implementation]
 
(void- addUnknownMapEntry:value: [implementation]
 

Class Methods

(BOOL+ isFieldTag: [implementation]
 

Detailed Description

A collection of unknown fields.

Method Documentation

◆ addField:()

- (void) addField: (GPBUnknownField *)  field

Adds the given field to the set.

◆ addUnknownMapEntry:value:()

- (void) addUnknownMapEntry: (int32_t fieldNum
value: (NSData *)  data 
implementation

◆ countOfFields()

- (NSUInteger) countOfFields

Returns the number of fields in this set.

◆ data()

- (NSData *) data
implementation

◆ getField:()

- (GPBUnknownField *) getField: (int32_t number

Fetches the GPBUnknownField for the given field number.

Parameters
numberThe field number to look up.
Returns
The GPBUnknownField or nil.

◆ hasField:()

- (BOOL) hasField: (int32_t number

Tests to see if the given field number has a value.

Parameters
numberThe field number to check.
Returns
YES if there is an unknown field for the given field number.

◆ isFieldTag:()

+ (BOOL) isFieldTag: (int32_t tag
implementation

◆ mergeFieldFrom:input:()

- (BOOL) mergeFieldFrom: (int32_t tag
input: (GPBCodedInputStream *)  input 
implementation

◆ mergeFromCodedInputStream:()

- (void) mergeFromCodedInputStream: (GPBCodedInputStream *)  input
implementation

◆ mergeFromData:()

- (void) mergeFromData: (NSData *)  data
implementation

◆ mergeMessageSetMessage:data:()

- (void) mergeMessageSetMessage: (int32_t number
data: (NSData *)  messageData 
implementation

◆ mergeUnknownFields:()

- (void) mergeUnknownFields: (GPBUnknownFieldSet *)  other
implementation

◆ mergeVarintField:value:()

- (void) mergeVarintField: (int32_t number
value: (int32_t value 
implementation

◆ serializedSize()

- (size_t) serializedSize
implementation

◆ serializedSizeAsMessageSet()

- (size_t) serializedSizeAsMessageSet
implementation

◆ sortedFields()

- (NSArray *) sortedFields

Returns an NSArray of the GPBUnknownFields sorted by the field numbers.

◆ writeAsMessageSetTo:()

- (void) writeAsMessageSetTo: (GPBCodedOutputStream *)  output
implementation

◆ writeToCodedOutputStream:()

- (void) writeToCodedOutputStream: (GPBCodedOutputStream *)  output
implementation

The documentation for this class was generated from the following files: