Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
52825bf9
Commit
52825bf9
authored
Apr 19, 2016
by
Thomas Van Lenten
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1426 from thomasvl/fix_comment_typo
Fix comments typo and update WKTs
parents
83a7a5e8
e664aa6d
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
175 additions
and
20 deletions
+175
-20
GPBCodedOutputStream.h
objectivec/GPBCodedOutputStream.h
+15
-15
Any.pbobjc.h
objectivec/google/protobuf/Any.pbobjc.h
+37
-4
Any.pbobjc.m
objectivec/google/protobuf/Any.pbobjc.m
+5
-0
Api.pbobjc.h
objectivec/google/protobuf/Api.pbobjc.h
+5
-0
Api.pbobjc.m
objectivec/google/protobuf/Api.pbobjc.m
+5
-0
Duration.pbobjc.h
objectivec/google/protobuf/Duration.pbobjc.h
+5
-0
Duration.pbobjc.m
objectivec/google/protobuf/Duration.pbobjc.m
+5
-0
Empty.pbobjc.h
objectivec/google/protobuf/Empty.pbobjc.h
+5
-0
Empty.pbobjc.m
objectivec/google/protobuf/Empty.pbobjc.m
+5
-0
FieldMask.pbobjc.h
objectivec/google/protobuf/FieldMask.pbobjc.h
+32
-0
FieldMask.pbobjc.m
objectivec/google/protobuf/FieldMask.pbobjc.m
+5
-0
SourceContext.pbobjc.h
objectivec/google/protobuf/SourceContext.pbobjc.h
+5
-0
SourceContext.pbobjc.m
objectivec/google/protobuf/SourceContext.pbobjc.m
+5
-0
Struct.pbobjc.h
objectivec/google/protobuf/Struct.pbobjc.h
+6
-1
Struct.pbobjc.m
objectivec/google/protobuf/Struct.pbobjc.m
+5
-0
Timestamp.pbobjc.h
objectivec/google/protobuf/Timestamp.pbobjc.h
+5
-0
Timestamp.pbobjc.m
objectivec/google/protobuf/Timestamp.pbobjc.m
+5
-0
Type.pbobjc.h
objectivec/google/protobuf/Type.pbobjc.h
+5
-0
Type.pbobjc.m
objectivec/google/protobuf/Type.pbobjc.m
+5
-0
Wrappers.pbobjc.h
objectivec/google/protobuf/Wrappers.pbobjc.h
+5
-0
Wrappers.pbobjc.m
objectivec/google/protobuf/Wrappers.pbobjc.m
+5
-0
No files found.
objectivec/GPBCodedOutputStream.h
View file @
52825bf9
...
@@ -112,7 +112,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -112,7 +112,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a double for the given field number.
/// Write a double for the given field number.
-
(
void
)
writeDouble
:(
int32_t
)
fieldNumber
value
:(
double
)
value
;
-
(
void
)
writeDouble
:(
int32_t
)
fieldNumber
value
:(
double
)
value
;
/// Write a pack
ag
ed array of double for the given field number.
/// Write a packed array of double for the given field number.
-
(
void
)
writeDoubleArray
:(
int32_t
)
fieldNumber
-
(
void
)
writeDoubleArray
:(
int32_t
)
fieldNumber
values
:(
GPBDoubleArray
*
)
values
values
:(
GPBDoubleArray
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -121,7 +121,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -121,7 +121,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a float for the given field number.
/// Write a float for the given field number.
-
(
void
)
writeFloat
:(
int32_t
)
fieldNumber
value
:(
float
)
value
;
-
(
void
)
writeFloat
:(
int32_t
)
fieldNumber
value
:(
float
)
value
;
/// Write a pack
ag
ed array of float for the given field number.
/// Write a packed array of float for the given field number.
-
(
void
)
writeFloatArray
:(
int32_t
)
fieldNumber
-
(
void
)
writeFloatArray
:(
int32_t
)
fieldNumber
values
:(
GPBFloatArray
*
)
values
values
:(
GPBFloatArray
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -130,7 +130,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -130,7 +130,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a uint64_t for the given field number.
/// Write a uint64_t for the given field number.
-
(
void
)
writeUInt64
:(
int32_t
)
fieldNumber
value
:(
uint64_t
)
value
;
-
(
void
)
writeUInt64
:(
int32_t
)
fieldNumber
value
:(
uint64_t
)
value
;
/// Write a pack
ag
ed array of uint64_t for the given field number.
/// Write a packed array of uint64_t for the given field number.
-
(
void
)
writeUInt64Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeUInt64Array
:(
int32_t
)
fieldNumber
values
:(
GPBUInt64Array
*
)
values
values
:(
GPBUInt64Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -139,7 +139,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -139,7 +139,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a int64_t for the given field number.
/// Write a int64_t for the given field number.
-
(
void
)
writeInt64
:(
int32_t
)
fieldNumber
value
:(
int64_t
)
value
;
-
(
void
)
writeInt64
:(
int32_t
)
fieldNumber
value
:(
int64_t
)
value
;
/// Write a pack
ag
ed array of int64_t for the given field number.
/// Write a packed array of int64_t for the given field number.
-
(
void
)
writeInt64Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeInt64Array
:(
int32_t
)
fieldNumber
values
:(
GPBInt64Array
*
)
values
values
:(
GPBInt64Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -148,7 +148,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -148,7 +148,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a int32_t for the given field number.
/// Write a int32_t for the given field number.
-
(
void
)
writeInt32
:(
int32_t
)
fieldNumber
value
:(
int32_t
)
value
;
-
(
void
)
writeInt32
:(
int32_t
)
fieldNumber
value
:(
int32_t
)
value
;
/// Write a pack
ag
ed array of int32_t for the given field number.
/// Write a packed array of int32_t for the given field number.
-
(
void
)
writeInt32Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeInt32Array
:(
int32_t
)
fieldNumber
values
:(
GPBInt32Array
*
)
values
values
:(
GPBInt32Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -157,7 +157,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -157,7 +157,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a uint32_t for the given field number.
/// Write a uint32_t for the given field number.
-
(
void
)
writeUInt32
:(
int32_t
)
fieldNumber
value
:(
uint32_t
)
value
;
-
(
void
)
writeUInt32
:(
int32_t
)
fieldNumber
value
:(
uint32_t
)
value
;
/// Write a pack
ag
ed array of uint32_t for the given field number.
/// Write a packed array of uint32_t for the given field number.
-
(
void
)
writeUInt32Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeUInt32Array
:(
int32_t
)
fieldNumber
values
:(
GPBUInt32Array
*
)
values
values
:(
GPBUInt32Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -166,7 +166,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -166,7 +166,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a uint64_t for the given field number.
/// Write a uint64_t for the given field number.
-
(
void
)
writeFixed64
:(
int32_t
)
fieldNumber
value
:(
uint64_t
)
value
;
-
(
void
)
writeFixed64
:(
int32_t
)
fieldNumber
value
:(
uint64_t
)
value
;
/// Write a pack
ag
ed array of uint64_t for the given field number.
/// Write a packed array of uint64_t for the given field number.
-
(
void
)
writeFixed64Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeFixed64Array
:(
int32_t
)
fieldNumber
values
:(
GPBUInt64Array
*
)
values
values
:(
GPBUInt64Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -175,7 +175,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -175,7 +175,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a uint32_t for the given field number.
/// Write a uint32_t for the given field number.
-
(
void
)
writeFixed32
:(
int32_t
)
fieldNumber
value
:(
uint32_t
)
value
;
-
(
void
)
writeFixed32
:(
int32_t
)
fieldNumber
value
:(
uint32_t
)
value
;
/// Write a pack
ag
ed array of uint32_t for the given field number.
/// Write a packed array of uint32_t for the given field number.
-
(
void
)
writeFixed32Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeFixed32Array
:(
int32_t
)
fieldNumber
values
:(
GPBUInt32Array
*
)
values
values
:(
GPBUInt32Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -184,7 +184,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -184,7 +184,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a int32_t for the given field number.
/// Write a int32_t for the given field number.
-
(
void
)
writeSInt32
:(
int32_t
)
fieldNumber
value
:(
int32_t
)
value
;
-
(
void
)
writeSInt32
:(
int32_t
)
fieldNumber
value
:(
int32_t
)
value
;
/// Write a pack
ag
ed array of int32_t for the given field number.
/// Write a packed array of int32_t for the given field number.
-
(
void
)
writeSInt32Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeSInt32Array
:(
int32_t
)
fieldNumber
values
:(
GPBInt32Array
*
)
values
values
:(
GPBInt32Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -193,7 +193,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -193,7 +193,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a int64_t for the given field number.
/// Write a int64_t for the given field number.
-
(
void
)
writeSInt64
:(
int32_t
)
fieldNumber
value
:(
int64_t
)
value
;
-
(
void
)
writeSInt64
:(
int32_t
)
fieldNumber
value
:(
int64_t
)
value
;
/// Write a pack
ag
ed array of int64_t for the given field number.
/// Write a packed array of int64_t for the given field number.
-
(
void
)
writeSInt64Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeSInt64Array
:(
int32_t
)
fieldNumber
values
:(
GPBInt64Array
*
)
values
values
:(
GPBInt64Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -202,7 +202,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -202,7 +202,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a int64_t for the given field number.
/// Write a int64_t for the given field number.
-
(
void
)
writeSFixed64
:(
int32_t
)
fieldNumber
value
:(
int64_t
)
value
;
-
(
void
)
writeSFixed64
:(
int32_t
)
fieldNumber
value
:(
int64_t
)
value
;
/// Write a pack
ag
ed array of int64_t for the given field number.
/// Write a packed array of int64_t for the given field number.
-
(
void
)
writeSFixed64Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeSFixed64Array
:(
int32_t
)
fieldNumber
values
:(
GPBInt64Array
*
)
values
values
:(
GPBInt64Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -211,7 +211,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -211,7 +211,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a int32_t for the given field number.
/// Write a int32_t for the given field number.
-
(
void
)
writeSFixed32
:(
int32_t
)
fieldNumber
value
:(
int32_t
)
value
;
-
(
void
)
writeSFixed32
:(
int32_t
)
fieldNumber
value
:(
int32_t
)
value
;
/// Write a pack
ag
ed array of int32_t for the given field number.
/// Write a packed array of int32_t for the given field number.
-
(
void
)
writeSFixed32Array
:(
int32_t
)
fieldNumber
-
(
void
)
writeSFixed32Array
:(
int32_t
)
fieldNumber
values
:(
GPBInt32Array
*
)
values
values
:(
GPBInt32Array
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -220,7 +220,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -220,7 +220,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a BOOL for the given field number.
/// Write a BOOL for the given field number.
-
(
void
)
writeBool
:(
int32_t
)
fieldNumber
value
:(
BOOL
)
value
;
-
(
void
)
writeBool
:(
int32_t
)
fieldNumber
value
:(
BOOL
)
value
;
/// Write a pack
ag
ed array of BOOL for the given field number.
/// Write a packed array of BOOL for the given field number.
-
(
void
)
writeBoolArray
:(
int32_t
)
fieldNumber
-
(
void
)
writeBoolArray
:(
int32_t
)
fieldNumber
values
:(
GPBBoolArray
*
)
values
values
:(
GPBBoolArray
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -229,7 +229,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -229,7 +229,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Write a int32_t for the given field number.
/// Write a int32_t for the given field number.
-
(
void
)
writeEnum
:(
int32_t
)
fieldNumber
value
:(
int32_t
)
value
;
-
(
void
)
writeEnum
:(
int32_t
)
fieldNumber
value
:(
int32_t
)
value
;
/// Write a pack
ag
ed array of int32_t for the given field number.
/// Write a packed array of int32_t for the given field number.
-
(
void
)
writeEnumArray
:(
int32_t
)
fieldNumber
-
(
void
)
writeEnumArray
:(
int32_t
)
fieldNumber
values
:(
GPBEnumArray
*
)
values
values
:(
GPBEnumArray
*
)
values
tag
:(
uint32_t
)
tag
;
tag
:(
uint32_t
)
tag
;
...
@@ -293,7 +293,7 @@ NS_ASSUME_NONNULL_END
...
@@ -293,7 +293,7 @@ NS_ASSUME_NONNULL_END
//%PDDM-DEFINE _WRITE_PACKABLE_DECLS(NAME, ARRAY_TYPE, TYPE)
//%PDDM-DEFINE _WRITE_PACKABLE_DECLS(NAME, ARRAY_TYPE, TYPE)
//%/// Write a TYPE for the given field number.
//%/// Write a TYPE for the given field number.
//%- (void)write##NAME:(int32_t)fieldNumber value:(TYPE)value;
//%- (void)write##NAME:(int32_t)fieldNumber value:(TYPE)value;
//%/// Write a pack
ag
ed array of TYPE for the given field number.
//%/// Write a packed array of TYPE for the given field number.
//%- (void)write##NAME##Array:(int32_t)fieldNumber
//%- (void)write##NAME##Array:(int32_t)fieldNumber
//% NAME$S values:(GPB##ARRAY_TYPE##Array *)values
//% NAME$S values:(GPB##ARRAY_TYPE##Array *)values
//% NAME$S tag:(uint32_t)tag;
//% NAME$S tag:(uint32_t)tag;
...
...
objectivec/google/protobuf/Any.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
...
@@ -33,8 +36,36 @@ typedef GPB_ENUM(GPBAny_FieldNumber) {
...
@@ -33,8 +36,36 @@ typedef GPB_ENUM(GPBAny_FieldNumber) {
GPBAny_FieldNumber_Value
=
2
,
GPBAny_FieldNumber_Value
=
2
,
};
};
/// `Any` contains an arbitrary serialized message along with a URL
/// `Any` contains an arbitrary serialized protocol buffer message along with a
/// that describes the type of the serialized message.
/// URL that describes the type of the serialized message.
///
/// Protobuf library provides support to pack/unpack Any values in the form
/// of utility functions or additional generated methods of the Any type.
///
/// Example 1: Pack and unpack a message in C++.
///
/// Foo foo = ...;
/// Any any;
/// any.PackFrom(foo);
/// ...
/// if (any.UnpackTo(&foo)) {
/// ...
/// }
///
/// Example 2: Pack and unpack a message in Java.
///
/// Foo foo = ...;
/// Any any = Any.pack(foo);
/// ...
/// if (any.is(Foo.class)) {
/// foo = any.unpack(Foo.class);
/// }
///
/// The pack methods provided by protobuf library will by default use
/// 'type.googleapis.com/full.type.name' as the type URL and the unpack
/// methods only use the fully qualified type name after the last '/'
/// in the type URL, for example "foo.bar.com/x/y.z" will yield type
/// name "y.z".
///
///
///
///
/// JSON
/// JSON
...
@@ -67,7 +98,7 @@ typedef GPB_ENUM(GPBAny_FieldNumber) {
...
@@ -67,7 +98,7 @@ typedef GPB_ENUM(GPBAny_FieldNumber) {
@interface
GPBAny
:
GPBMessage
@interface
GPBAny
:
GPBMessage
/// A URL/resource name whose content describes the type of the
/// A URL/resource name whose content describes the type of the
/// serialized message.
/// serialized
protocol buffer
message.
///
///
/// For URLs which use the schema `http`, `https`, or no schema, the
/// For URLs which use the schema `http`, `https`, or no schema, the
/// following restrictions and interpretations apply:
/// following restrictions and interpretations apply:
...
@@ -87,7 +118,7 @@ typedef GPB_ENUM(GPBAny_FieldNumber) {
...
@@ -87,7 +118,7 @@ typedef GPB_ENUM(GPBAny_FieldNumber) {
/// used with implementation specific semantics.
/// used with implementation specific semantics.
@property
(
nonatomic
,
readwrite
,
copy
,
null_resettable
)
NSString
*
typeURL
;
@property
(
nonatomic
,
readwrite
,
copy
,
null_resettable
)
NSString
*
typeURL
;
/// Must be
valid serialized data
of the above specified type.
/// Must be
a valid serialized protocol buffer
of the above specified type.
@property
(
nonatomic
,
readwrite
,
copy
,
null_resettable
)
NSData
*
value
;
@property
(
nonatomic
,
readwrite
,
copy
,
null_resettable
)
NSData
*
value
;
@end
@end
...
@@ -96,4 +127,6 @@ NS_ASSUME_NONNULL_END
...
@@ -96,4 +127,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Any.pbobjc.m
View file @
52825bf9
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
#import "google/protobuf/Any.pbobjc.h"
#import "google/protobuf/Any.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBAnyRoot
#pragma mark - GPBAnyRoot
@implementation
GPBAnyRoot
@implementation
GPBAnyRoot
...
@@ -85,4 +88,6 @@ typedef struct GPBAny__storage_ {
...
@@ -85,4 +88,6 @@ typedef struct GPBAny__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Api.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
@class
GPBMethod
;
@class
GPBMethod
;
...
@@ -254,4 +257,6 @@ NS_ASSUME_NONNULL_END
...
@@ -254,4 +257,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Api.pbobjc.m
View file @
52825bf9
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
#import "google/protobuf/Type.pbobjc.h"
#import "google/protobuf/Type.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBApiRoot
#pragma mark - GPBApiRoot
@implementation
GPBApiRoot
@implementation
GPBApiRoot
...
@@ -340,4 +343,6 @@ typedef struct GPBMixin__storage_ {
...
@@ -340,4 +343,6 @@ typedef struct GPBMixin__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Duration.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
...
@@ -93,4 +96,6 @@ NS_ASSUME_NONNULL_END
...
@@ -93,4 +96,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Duration.pbobjc.m
View file @
52825bf9
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
#import "google/protobuf/Duration.pbobjc.h"
#import "google/protobuf/Duration.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBDurationRoot
#pragma mark - GPBDurationRoot
@implementation
GPBDurationRoot
@implementation
GPBDurationRoot
...
@@ -80,4 +83,6 @@ typedef struct GPBDuration__storage_ {
...
@@ -80,4 +83,6 @@ typedef struct GPBDuration__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Empty.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
...
@@ -45,4 +48,6 @@ NS_ASSUME_NONNULL_END
...
@@ -45,4 +48,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Empty.pbobjc.m
View file @
52825bf9
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
#import "google/protobuf/Empty.pbobjc.h"
#import "google/protobuf/Empty.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBEmptyRoot
#pragma mark - GPBEmptyRoot
@implementation
GPBEmptyRoot
@implementation
GPBEmptyRoot
...
@@ -56,4 +59,6 @@ typedef struct GPBEmpty__storage_ {
...
@@ -56,4 +59,6 @@ typedef struct GPBEmpty__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/FieldMask.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
...
@@ -154,6 +157,33 @@ typedef GPB_ENUM(GPBFieldMask_FieldNumber) {
...
@@ -154,6 +157,33 @@ typedef GPB_ENUM(GPBFieldMask_FieldNumber) {
/// {
/// {
/// mask: "user.displayName,photo"
/// mask: "user.displayName,photo"
/// }
/// }
///
/// # Field Masks and Oneof Fields
///
/// Field masks treat fields in oneofs just as regular fields. Consider the
/// following message:
///
/// message SampleMessage {
/// oneof test_oneof {
/// string name = 4;
/// SubMessage sub_message = 9;
/// }
/// }
///
/// The field mask can be:
///
/// mask {
/// paths: "name"
/// }
///
/// Or:
///
/// mask {
/// paths: "sub_message"
/// }
///
/// Note that oneof type names ("test_oneof" in this case) cannot be used in
/// paths.
@interface
GPBFieldMask
:
GPBMessage
@interface
GPBFieldMask
:
GPBMessage
/// The set of field mask paths.
/// The set of field mask paths.
...
@@ -167,4 +197,6 @@ NS_ASSUME_NONNULL_END
...
@@ -167,4 +197,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/FieldMask.pbobjc.m
View file @
52825bf9
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
#import "google/protobuf/FieldMask.pbobjc.h"
#import "google/protobuf/FieldMask.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBFieldMaskRoot
#pragma mark - GPBFieldMaskRoot
@implementation
GPBFieldMaskRoot
@implementation
GPBFieldMaskRoot
...
@@ -69,4 +72,6 @@ typedef struct GPBFieldMask__storage_ {
...
@@ -69,4 +72,6 @@ typedef struct GPBFieldMask__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/SourceContext.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
...
@@ -46,4 +49,6 @@ NS_ASSUME_NONNULL_END
...
@@ -46,4 +49,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/SourceContext.pbobjc.m
View file @
52825bf9
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
#import "google/protobuf/SourceContext.pbobjc.h"
#import "google/protobuf/SourceContext.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBSourceContextRoot
#pragma mark - GPBSourceContextRoot
@implementation
GPBSourceContextRoot
@implementation
GPBSourceContextRoot
...
@@ -69,4 +72,6 @@ typedef struct GPBSourceContext__storage_ {
...
@@ -69,4 +72,6 @@ typedef struct GPBSourceContext__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Struct.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
@class
GPBListValue
;
@class
GPBListValue
;
...
@@ -67,7 +70,7 @@ typedef GPB_ENUM(GPBStruct_FieldNumber) {
...
@@ -67,7 +70,7 @@ typedef GPB_ENUM(GPBStruct_FieldNumber) {
/// The JSON representation for `Struct` is JSON object.
/// The JSON representation for `Struct` is JSON object.
@interface
GPBStruct
:
GPBMessage
@interface
GPBStruct
:
GPBMessage
///
M
ap of dynamically typed values.
///
Unordered m
ap of dynamically typed values.
@property
(
nonatomic
,
readwrite
,
strong
,
null_resettable
)
NSMutableDictionary
<
NSString
*
,
GPBValue
*>
*
fields
;
@property
(
nonatomic
,
readwrite
,
strong
,
null_resettable
)
NSMutableDictionary
<
NSString
*
,
GPBValue
*>
*
fields
;
/// The number of items in @c fields without causing the array to be created.
/// The number of items in @c fields without causing the array to be created.
@property
(
nonatomic
,
readonly
)
NSUInteger
fields_Count
;
@property
(
nonatomic
,
readonly
)
NSUInteger
fields_Count
;
...
@@ -159,4 +162,6 @@ NS_ASSUME_NONNULL_END
...
@@ -159,4 +162,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Struct.pbobjc.m
View file @
52825bf9
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
#import "google/protobuf/Struct.pbobjc.h"
#import "google/protobuf/Struct.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBStructRoot
#pragma mark - GPBStructRoot
@implementation
GPBStructRoot
@implementation
GPBStructRoot
...
@@ -265,4 +268,6 @@ typedef struct GPBListValue__storage_ {
...
@@ -265,4 +268,6 @@ typedef struct GPBListValue__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Timestamp.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
...
@@ -105,4 +108,6 @@ NS_ASSUME_NONNULL_END
...
@@ -105,4 +108,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Timestamp.pbobjc.m
View file @
52825bf9
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
#import "google/protobuf/Timestamp.pbobjc.h"
#import "google/protobuf/Timestamp.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBTimestampRoot
#pragma mark - GPBTimestampRoot
@implementation
GPBTimestampRoot
@implementation
GPBTimestampRoot
...
@@ -80,4 +83,6 @@ typedef struct GPBTimestamp__storage_ {
...
@@ -80,4 +83,6 @@ typedef struct GPBTimestamp__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Type.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
@class
GPBAny
;
@class
GPBAny
;
...
@@ -365,4 +368,6 @@ NS_ASSUME_NONNULL_END
...
@@ -365,4 +368,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Type.pbobjc.m
View file @
52825bf9
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
#import "google/protobuf/SourceContext.pbobjc.h"
#import "google/protobuf/SourceContext.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBTypeRoot
#pragma mark - GPBTypeRoot
@implementation
GPBTypeRoot
@implementation
GPBTypeRoot
...
@@ -685,4 +688,6 @@ typedef struct GPBOption__storage_ {
...
@@ -685,4 +688,6 @@ typedef struct GPBOption__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Wrappers.pbobjc.h
View file @
52825bf9
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CF_EXTERN_C_BEGIN
CF_EXTERN_C_BEGIN
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
...
@@ -174,4 +177,6 @@ NS_ASSUME_NONNULL_END
...
@@ -174,4 +177,6 @@ NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
CF_EXTERN_C_END
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
objectivec/google/protobuf/Wrappers.pbobjc.m
View file @
52825bf9
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
#import "google/protobuf/Wrappers.pbobjc.h"
#import "google/protobuf/Wrappers.pbobjc.h"
// @@protoc_insertion_point(imports)
// @@protoc_insertion_point(imports)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma mark - GPBWrappersRoot
#pragma mark - GPBWrappersRoot
@implementation
GPBWrappersRoot
@implementation
GPBWrappersRoot
...
@@ -412,4 +415,6 @@ typedef struct GPBBytesValue__storage_ {
...
@@ -412,4 +415,6 @@ typedef struct GPBBytesValue__storage_ {
@end
@end
#pragma clang diagnostic pop
// @@protoc_insertion_point(global_scope)
// @@protoc_insertion_point(global_scope)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment