webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Properties | List of all members
GPBValue Class Reference

#import <Struct.pbobjc.h>

Inheritance diagram for GPBValue:
GPBMessage NSObject

Properties

GPBValue_Kind_OneOfCase kindOneOfCase
 The kind of value. More...
 
GPBNullValue nullValue
 Represents a null value. More...
 
double numberValue
 Represents a double value. More...
 
NSStringstringValue
 Represents a string value. More...
 
BOOL boolValue
 Represents a boolean value. More...
 
GPBStructstructValue
 Represents a structured value. More...
 
GPBListValuelistValue
 Represents a repeated Value. More...
 
- Properties inherited from GPBMessage
GPBUnknownFieldSetunknownFields
 
BOOL initialized
 Are all required fields set in the message and all embedded messages. More...
 

Additional Inherited Members

- Instance Methods inherited from GPBMessage
(instancetype) - initWithData:error:
 
(instancetype) - initWithData:extensionRegistry:error:
 
(instancetype) - initWithCodedInputStream:extensionRegistry:error:
 
(void- writeToCodedOutputStream:
 Writes out the message to the given output stream. More...
 
(void- writeToOutputStream:
 Writes out the message to the given output stream. More...
 
(void- writeDelimitedToCodedOutputStream:
 
(void- writeDelimitedToOutputStream:
 
(nullable NSData *) - data
 
(NSData *) - delimitedData
 
(size_t- serializedSize
 
(GPBDescriptor *) - descriptor
 Return the descriptor for the message. More...
 
(BOOL- hasExtension:
 Test to see if the given extension is set on the message. More...
 
(nullable id- getExtension:
 
(void- setExtension:value:
 
(void- addExtension:value:
 
(void- setExtension:index:value:
 
(void- clearExtension:
 Clears the given extension for this message. More...
 
(void- clear
 Resets all of the fields of this message to their default values. More...
 
(void- mergeFromData:extensionRegistry:
 
(void- mergeFrom:
 
- Class Methods inherited from GPBMessage
(instancetype) + message
 Returns an autoreleased instance. More...
 
(instancetype) + parseFromData:error:
 
(instancetype) + parseFromData:extensionRegistry:error:
 
(instancetype) + parseFromCodedInputStream:extensionRegistry:error:
 
(instancetype) + parseDelimitedFromCodedInputStream:extensionRegistry:error:
 
(GPBDescriptor *) + descriptor
 Return the descriptor for the message class. More...
 

Detailed Description

Value represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of that variants, absence of any variant indicates an error.

The JSON representation for Value is JSON value.

Property Documentation

◆ boolValue

- (BOOL) boolValue
readwritenonatomicassign

Represents a boolean value.

◆ kindOneOfCase

- (GPBValue_Kind_OneOfCase) kindOneOfCase
readnonatomicassign

The kind of value.

◆ listValue

- (GPBListValue*) listValue
readwritenonatomicstrong

Represents a repeated Value.

◆ nullValue

- (GPBNullValue) nullValue
readwritenonatomicassign

Represents a null value.

◆ numberValue

- (double) numberValue
readwritenonatomicassign

Represents a double value.

◆ stringValue

- (NSString*) stringValue
readwritenonatomiccopy

Represents a string value.

◆ structValue

- (GPBStruct*) structValue
readwritenonatomicstrong

Represents a structured value.


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