Lines Matching +full:binary +full:- +full:extensions
1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
5 // Redistribution and use in source and binary forms, with or without
11 // * Redistributions in binary form must reproduce the above
53 GPBMessageErrorCodeOther = -100,
55 GPBMessageErrorCodeMissingRequiredField = -101,
75 * extensions, they will end up reloaded in @c unknownFields as there is
77 * @c GPBExtensionRegistry. To support extensions, instead of passing the
143 * @param extensionRegistry The extension registry to use to look up extensions.
166 * @param extensionRegistry The extension registry to use to look up extensions.
191 * @param extensionRegistry The extension registry to use to look up extensions.
220 - (nullable instancetype)initWithData:(NSData *)data error:(NSError **)errorPtr;
235 * @param extensionRegistry The extension registry to use to look up extensions.
241 - (nullable instancetype)initWithData:(NSData *)data
259 * @param extensionRegistry The extension registry to use to look up extensions.
265 - (nullable instancetype)initWithCodedInputStream:(GPBCodedInputStream *)input
274 * @param data The binary representation of the message to merge.
275 * @param extensionRegistry The extension registry to use to look up extensions.
280 - (void)mergeFromData:(NSData *)data
289 - (void)mergeFrom:(GPBMessage *)other;
299 - (void)writeToCodedOutputStream:(GPBCodedOutputStream *)output;
308 - (void)writeToOutputStream:(NSOutputStream *)output;
318 - (void)writeDelimitedToCodedOutputStream:(GPBCodedOutputStream *)output;
328 - (void)writeDelimitedToOutputStream:(NSOutputStream *)output;
341 * @return The binary representation of the message.
343 - (nullable NSData *)data;
352 * @return The binary representation of the size along with the message.
354 - (NSData *)delimitedData;
378 * @return The size of the message in it's binary representation.
380 - (size_t)serializedSize;
390 - (GPBDescriptor *)descriptor;
396 - (NSArray *)extensionsCurrentlySet;
406 - (BOOL)hasExtension:(GPBExtensionDescriptor *)extension;
411 * Extensions use boxed values (NSNumbers) for PODs and NSMutableArrays for
419 - (nullable id)getExtension:(GPBExtensionDescriptor *)extension;
423 * single field extensions (i.e. - not repeated fields).
425 * Extensions use boxed values (NSNumbers).
430 - (void)setExtension:(GPBExtensionDescriptor *)extension
435 * to repeated field extensions. If the field is a repeated POD type, the value
441 - (void)addExtension:(GPBExtensionDescriptor *)extension value:(id)value;
445 * on this message. This only applies to repeated field extensions. If the field
452 - (void)setExtension:(GPBExtensionDescriptor *)extension
461 - (void)clearExtension:(GPBExtensionDescriptor *)extension;
466 - (void)clear;