Instance Methods | Protected Attributes | Properties | List of all members
GPBOneofDescriptor Class Reference

#import <GPBDescriptor.h>

Inheritance diagram for GPBOneofDescriptor:
Inheritance graph
[legend]

Instance Methods

(nullable GPBFieldDescriptor *) - fieldWithName:
 
(nullable GPBFieldDescriptor *) - fieldWithName:
 
(nullable GPBFieldDescriptor *) - fieldWithNumber:
 
(nullable GPBFieldDescriptor *) - fieldWithNumber:
 
(instancetype) - initWithName:fields: [implementation]
 
(instancetype) - initWithName:fields: [implementation]
 

Protected Attributes

SEL caseSel_
 
NSArray * fields_
 
const package char * name_
 

Properties

NSArray< GPBFieldDescriptor * > * fields
 
NSString * name
 

Detailed Description

Describes a oneof field.

Definition at line 138 of file bloaty/third_party/protobuf/objectivec/GPBDescriptor.h.

Method Documentation

◆ fieldWithName: [1/2]

- (nullable GPBFieldDescriptor *) fieldWithName: (NSString *)  name

Gets the field for the given name.

Parameters
nameThe name for the field to get.
Returns
The field descriptor for the given name, or nil if not found.

◆ fieldWithName: [2/2]

- (nullable GPBFieldDescriptor *) fieldWithName: (NSString *)  name

Gets the field for the given name.

Parameters
nameThe name for the field to get.
Returns
The field descriptor for the given name, or nil if not found.

◆ fieldWithNumber: [1/2]

- (nullable GPBFieldDescriptor *) fieldWithNumber: (uint32_t fieldNumber

Gets the field for the given number.

Parameters
fieldNumberThe number for the field to get.
Returns
The field descriptor for the given number, or nil if not found.

◆ fieldWithNumber: [2/2]

- (nullable GPBFieldDescriptor *) fieldWithNumber: (uint32_t fieldNumber

Gets the field for the given number.

Parameters
fieldNumberThe number for the field to get.
Returns
The field descriptor for the given number, or nil if not found.

◆ initWithName:fields: [1/2]

- (instancetype) initWithName: (const char *)  name
fields: (NSArray *)  fields 
implementation

◆ initWithName:fields: [2/2]

- (instancetype) initWithName: (const char *)  name
fields: (NSArray *)  fields 
implementation

Member Data Documentation

◆ caseSel_

- (SEL) caseSel_
protected

◆ fields_

- (NSArray *) fields_
protected

◆ name_

- (const package char *) name_
protected

Property Documentation

◆ fields

- (NSArray< GPBFieldDescriptor * > *) fields
readnonatomicassign

Fields declared in the oneof.

Definition at line 142 of file bloaty/third_party/protobuf/objectivec/GPBDescriptor.h.

◆ name

- (NSString *) name
readnonatomicassign

Name of the oneof field.

Definition at line 140 of file bloaty/third_party/protobuf/objectivec/GPBDescriptor.h.


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


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