Instance Methods | Class Methods | List of all members
GPBUnknownFieldSet Class Reference

#import <GPBUnknownFieldSet.h>

Inheritance diagram for GPBUnknownFieldSet:
Inheritance graph
[legend]

Instance Methods

(void) - addField:
 
(void) - addField:
 
(void) - addUnknownMapEntry:value: [implementation]
 
(void) - addUnknownMapEntry:value: [implementation]
 
(NSUInteger) - countOfFields
 
(NSUInteger) - countOfFields
 
(NSData *) - data [implementation]
 
(NSData *) - data [implementation]
 
(nullable GPBUnknownField *) - getField:
 
(nullable GPBUnknownField *) - getField:
 
(BOOL- hasField:
 
(BOOL- hasField:
 
(BOOL- mergeFieldFrom:input: [implementation]
 
(BOOL- mergeFieldFrom:input: [implementation]
 
(void) - mergeFromCodedInputStream: [implementation]
 
(void) - mergeFromCodedInputStream: [implementation]
 
(void) - mergeFromData: [implementation]
 
(void) - mergeFromData: [implementation]
 
(void) - mergeMessageSetMessage:data: [implementation]
 
(void) - mergeMessageSetMessage:data: [implementation]
 
(void) - mergeUnknownFields: [implementation]
 
(void) - mergeUnknownFields: [implementation]
 
(void) - mergeVarintField:value: [implementation]
 
(void) - mergeVarintField:value: [implementation]
 
(size_t) - serializedSize [implementation]
 
(size_t) - serializedSize [implementation]
 
(size_t) - serializedSizeAsMessageSet [implementation]
 
(size_t) - serializedSizeAsMessageSet [implementation]
 
(NSArray< GPBUnknownField * > *) - sortedFields
 
(NSArray< GPBUnknownField * > *) - sortedFields
 
(void) - writeAsMessageSetTo: [implementation]
 
(void) - writeAsMessageSetTo: [implementation]
 
(void) - writeToCodedOutputStream: [implementation]
 
(void) - writeToCodedOutputStream: [implementation]
 

Class Methods

(BOOL+ isFieldTag: [implementation]
 
(BOOL+ isFieldTag: [implementation]
 

Detailed Description

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 bloaty/third_party/protobuf/objectivec/GPBUnknownFieldSet.h.

Method Documentation

◆ addField: [1/2]

- (void) addField: (GPBUnknownField *)  field

Adds the given field to the set.

Parameters
fieldThe field to add to the set.

◆ addField: [2/2]

- (void) addField: (GPBUnknownField *)  field

Adds the given field to the set.

Parameters
fieldThe field to add to the set.

◆ addUnknownMapEntry:value: [1/2]

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

◆ addUnknownMapEntry:value: [2/2]

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

◆ countOfFields [1/2]

- (NSUInteger) countOfFields
Returns
The number of fields in this set.

◆ countOfFields [2/2]

- (NSUInteger) countOfFields
Returns
The number of fields in this set.

◆ data [1/2]

- (NSData *) data
implementation

◆ data [2/2]

- (NSData *) data
implementation

◆ getField: [1/2]

- (nullable 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 if none found.

◆ getField: [2/2]

- (nullable 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 if none found.

◆ hasField: [1/2]

- (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.

◆ hasField: [2/2]

- (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: [1/2]

+ (BOOL) isFieldTag: (int32_t tag
implementation

◆ isFieldTag: [2/2]

+ (BOOL) isFieldTag: (int32_t tag
implementation

◆ mergeFieldFrom:input: [1/2]

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

◆ mergeFieldFrom:input: [2/2]

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

◆ mergeFromCodedInputStream: [1/2]

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

◆ mergeFromCodedInputStream: [2/2]

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

◆ mergeFromData: [1/2]

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

◆ mergeFromData: [2/2]

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

◆ mergeMessageSetMessage:data: [1/2]

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

◆ mergeMessageSetMessage:data: [2/2]

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

◆ mergeUnknownFields: [1/2]

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

◆ mergeUnknownFields: [2/2]

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

◆ mergeVarintField:value: [1/2]

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

◆ mergeVarintField:value: [2/2]

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

◆ serializedSize [1/2]

- (size_t) serializedSize
implementation

◆ serializedSize [2/2]

- (size_t) serializedSize
implementation

◆ serializedSizeAsMessageSet [1/2]

- (size_t) serializedSizeAsMessageSet
implementation

◆ serializedSizeAsMessageSet [2/2]

- (size_t) serializedSizeAsMessageSet
implementation

◆ sortedFields [1/2]

- (NSArray<GPBUnknownField *> *) sortedFields
Returns
An array of the GPBUnknownFields sorted by the field numbers.

◆ sortedFields [2/2]

- (NSArray<GPBUnknownField *> *) sortedFields
Returns
An array of the GPBUnknownFields sorted by the field numbers.

◆ writeAsMessageSetTo: [1/2]

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

◆ writeAsMessageSetTo: [2/2]

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

◆ writeToCodedOutputStream: [1/2]

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

◆ writeToCodedOutputStream: [2/2]

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:45