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
96bf11be
Commit
96bf11be
authored
May 18, 2015
by
Paul Yang
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #398 from thomasvl/post_csharp_quick_updates
Post csharp landing fixup.
parents
17ca0fee
ffa2e377
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
36 additions
and
13 deletions
+36
-13
Descriptor.pbobjc.h
objectivec/google/protobuf/Descriptor.pbobjc.h
+5
-0
Descriptor.pbobjc.m
objectivec/google/protobuf/Descriptor.pbobjc.m
+13
-0
any.pb.cc
src/google/protobuf/any.pb.cc
+3
-2
duration.pb.cc
src/google/protobuf/duration.pb.cc
+3
-2
duration.proto
src/google/protobuf/duration.proto
+1
-0
field_mask.pb.cc
src/google/protobuf/field_mask.pb.cc
+2
-2
struct.pb.cc
src/google/protobuf/struct.pb.cc
+3
-2
timestamp.pb.cc
src/google/protobuf/timestamp.pb.cc
+3
-2
wrappers.pb.cc
src/google/protobuf/wrappers.pb.cc
+3
-3
No files found.
objectivec/google/protobuf/Descriptor.pbobjc.h
View file @
96bf11be
...
...
@@ -467,6 +467,7 @@ typedef GPB_ENUM(GPBFileOptions_FieldNumber) {
GPBFileOptions_FieldNumber_JavaStringCheckUtf8
=
27
,
GPBFileOptions_FieldNumber_CcEnableArenas
=
31
,
GPBFileOptions_FieldNumber_ObjcClassPrefix
=
36
,
GPBFileOptions_FieldNumber_CsharpNamespace
=
37
,
GPBFileOptions_FieldNumber_UninterpretedOptionArray
=
999
,
};
...
...
@@ -565,6 +566,10 @@ typedef GPB_ENUM(GPBFileOptions_FieldNumber) {
@property
(
nonatomic
,
readwrite
)
BOOL
hasObjcClassPrefix
;
@property
(
nonatomic
,
readwrite
,
copy
)
NSString
*
objcClassPrefix
;
// Namespace for generated classes; defaults to the package.
@property
(
nonatomic
,
readwrite
)
BOOL
hasCsharpNamespace
;
@property
(
nonatomic
,
readwrite
,
copy
)
NSString
*
csharpNamespace
;
// The parser stores options it doesn't recognize here. See above.
// |uninterpretedOptionArray| contains |GPBUninterpretedOption|
@property
(
nonatomic
,
readwrite
,
strong
)
NSMutableArray
*
uninterpretedOptionArray
;
...
...
objectivec/google/protobuf/Descriptor.pbobjc.m
View file @
96bf11be
...
...
@@ -1105,6 +1105,7 @@ typedef struct GPBMethodDescriptorProto_Storage {
@dynamic
hasDeprecated
,
deprecated
;
@dynamic
hasCcEnableArenas
,
ccEnableArenas
;
@dynamic
hasObjcClassPrefix
,
objcClassPrefix
;
@dynamic
hasCsharpNamespace
,
csharpNamespace
;
@dynamic
uninterpretedOptionArray
;
typedef
struct
GPBFileOptions_Storage
{
...
...
@@ -1122,6 +1123,7 @@ typedef struct GPBFileOptions_Storage {
NSString
*
javaOuterClassname
;
NSString
*
goPackage
;
NSString
*
objcClassPrefix
;
NSString
*
csharpNamespace
;
NSMutableArray
*
uninterpretedOptionArray
;
}
GPBFileOptions_Storage
;
...
...
@@ -1274,6 +1276,17 @@ typedef struct GPBFileOptions_Storage {
.
typeSpecific
.
className
=
NULL
,
.
fieldOptions
=
NULL
,
},
{
.
name
=
"csharpNamespace"
,
.
number
=
GPBFileOptions_FieldNumber_CsharpNamespace
,
.
hasIndex
=
13
,
.
flags
=
GPBFieldOptional
,
.
type
=
GPBTypeString
,
.
offset
=
offsetof
(
GPBFileOptions_Storage
,
csharpNamespace
),
.
defaultValue
.
valueString
=
nil
,
.
typeSpecific
.
className
=
NULL
,
.
fieldOptions
=
NULL
,
},
{
.
name
=
"uninterpretedOptionArray"
,
.
number
=
GPBFileOptions_FieldNumber_UninterpretedOptionArray
,
...
...
src/google/protobuf/any.pb.cc
View file @
96bf11be
...
...
@@ -82,8 +82,9 @@ void protobuf_AddDesc_google_2fprotobuf_2fany_2eproto() {
::
google
::
protobuf
::
DescriptorPool
::
InternalAddGeneratedFile
(
"
\n\031
google/protobuf/any.proto
\022\017
google.prot"
"obuf
\"
&
\n\003
Any
\022\020\n\010
type_url
\030\001
\001
(
\t\022\r\n\005
value
\030\002
"
"
\001
(
\014
B*
\n\023
com.google.protobufB
\010
AnyProtoP
\001\240
"
"
\001\001\242\002\003
GPBb
\006
proto3"
,
136
);
"
\001
(
\014
BC
\n\023
com.google.protobufB
\010
AnyProtoP
\001\240
"
"
\001\001\242\002\003
GPB
\252\002\026
Google.ProtocolBuffersb
\006
proto"
"3"
,
161
);
::
google
::
protobuf
::
MessageFactory
::
InternalRegisterGeneratedFile
(
"google/protobuf/any.proto"
,
&
protobuf_RegisterTypes
);
Any
::
default_instance_
=
new
Any
();
...
...
src/google/protobuf/duration.pb.cc
View file @
96bf11be
...
...
@@ -82,8 +82,9 @@ void protobuf_AddDesc_google_2fprotobuf_2fduration_2eproto() {
::
google
::
protobuf
::
DescriptorPool
::
InternalAddGeneratedFile
(
"
\n\036
google/protobuf/duration.proto
\022\017
google"
".protobuf
\"
*
\n\010
Duration
\022\017\n\007
seconds
\030\001
\001
(
\003\022\r
"
"
\n\005
nanos
\030\002
\001
(
\005
B/
\n\023
com.google.protobufB
\r
Du"
"rationProtoP
\001\240\001\001\242\002\003
GPBb
\006
proto3"
,
150
);
"
\n\005
nanos
\030\002
\001
(
\005
BH
\n\023
com.google.protobufB
\r
Du"
"rationProtoP
\001\240\001\001\242\002\003
GPB
\252\002\026
Google.Protocol"
"Buffersb
\006
proto3"
,
175
);
::
google
::
protobuf
::
MessageFactory
::
InternalRegisterGeneratedFile
(
"google/protobuf/duration.proto"
,
&
protobuf_RegisterTypes
);
Duration
::
default_instance_
=
new
Duration
();
...
...
src/google/protobuf/duration.proto
View file @
96bf11be
...
...
@@ -36,6 +36,7 @@ option java_multiple_files = true;
option
java_outer_classname
=
"DurationProto"
;
option
java_package
=
"com.google.protobuf"
;
option
csharp_namespace
=
"Google.ProtocolBuffers"
;
option
objc_class_prefix
=
"GPB"
;
// A Duration represents a signed, fixed-length span of time represented
// as a count of seconds and fractions of seconds at nanosecond
...
...
src/google/protobuf/field_mask.pb.cc
View file @
96bf11be
...
...
@@ -81,8 +81,8 @@ void protobuf_AddDesc_google_2fprotobuf_2ffield_5fmask_2eproto() {
::
google
::
protobuf
::
DescriptorPool
::
InternalAddGeneratedFile
(
"
\n
google/protobuf/field_mask.proto
\022\017
goog"
"le.protobuf
\"\032\n\t
FieldMask
\022\r\n\005
paths
\030\001
\003
(
\t
B"
"
-
\n\023
com.google.protobufB
\016
FieldMaskProtoP
\001
"
"
\242\002\003
GPB
b
\006
proto3"
,
134
);
"
F
\n\023
com.google.protobufB
\016
FieldMaskProtoP
\001
"
"
\242\002\003
GPB
\252\002\026
Google.ProtocolBuffersb
\006
proto3"
,
159
);
::
google
::
protobuf
::
MessageFactory
::
InternalRegisterGeneratedFile
(
"google/protobuf/field_mask.proto"
,
&
protobuf_RegisterTypes
);
FieldMask
::
default_instance_
=
new
FieldMask
();
...
...
src/google/protobuf/struct.pb.cc
View file @
96bf11be
...
...
@@ -165,8 +165,9 @@ void protobuf_AddDesc_google_2fprotobuf_2fstruct_2eproto() {
"
\000\022
0
\n\n
list_value
\030\006
\001
(
\013
2
\032
.google.protobuf."
"ListValueH
\000
B
\006\n\004
kind
\"
3
\n\t
ListValue
\022
&
\n\006
valu"
"es
\030\001
\003
(
\013
2
\026
.google.protobuf.Value*
\033\n\t
Null"
"Value
\022\016\n\n
NULL_VALUE
\020\000
B-
\n\023
com.google.prot"
"obufB
\013
StructProtoP
\001\240\001\001\242\002\003
GPBb
\006
proto3"
,
556
);
"Value
\022\016\n\n
NULL_VALUE
\020\000
BF
\n\023
com.google.prot"
"obufB
\013
StructProtoP
\001\240\001\001\242\002\003
GPB
\252\002\026
Google.Pr"
"otocolBuffersb
\006
proto3"
,
581
);
::
google
::
protobuf
::
MessageFactory
::
InternalRegisterGeneratedFile
(
"google/protobuf/struct.proto"
,
&
protobuf_RegisterTypes
);
Struct
::
default_instance_
=
new
Struct
();
...
...
src/google/protobuf/timestamp.pb.cc
View file @
96bf11be
...
...
@@ -82,8 +82,9 @@ void protobuf_AddDesc_google_2fprotobuf_2ftimestamp_2eproto() {
::
google
::
protobuf
::
DescriptorPool
::
InternalAddGeneratedFile
(
"
\n\037
google/protobuf/timestamp.proto
\022\017
googl"
"e.protobuf
\"
+
\n\t
Timestamp
\022\017\n\007
seconds
\030\001
\001
(
\003
"
"
\022\r\n\005
nanos
\030\002
\001
(
\005
B0
\n\023
com.google.protobufB
\016
"
"TimestampProtoP
\001\240\001\001\242\002\003
GPBb
\006
proto3"
,
153
);
"
\022\r\n\005
nanos
\030\002
\001
(
\005
BI
\n\023
com.google.protobufB
\016
"
"TimestampProtoP
\001\240\001\001\242\002\003
GPB
\252\002\026
Google.Proto"
"colBuffersb
\006
proto3"
,
178
);
::
google
::
protobuf
::
MessageFactory
::
InternalRegisterGeneratedFile
(
"google/protobuf/timestamp.proto"
,
&
protobuf_RegisterTypes
);
Timestamp
::
default_instance_
=
new
Timestamp
();
...
...
src/google/protobuf/wrappers.pb.cc
View file @
96bf11be
...
...
@@ -262,9 +262,9 @@ void protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto() {
"e
\030\001
\001
(
\004\"\033\n\n
Int32Value
\022\r\n\005
value
\030\001
\001
(
\005\"\034\n\013
"
"UInt32Value
\022\r\n\005
value
\030\001
\001
(
\r\"\032\n\t
BoolValue
\022
"
"
\r\n\005
value
\030\001
\001
(
\010\"\034\n\013
StringValue
\022\r\n\005
value
\030\001
"
"
\001
(
\t\"\033\n\n
BytesValue
\022\r\n\005
value
\030\001
\001
(
\014
B
,
\n\023
com"
".google.protobufB
\r
WrappersProtoP
\001\242\002\003
GPB
b
"
"
\00
6
proto3"
,
367
);
"
\001
(
\t\"\033\n\n
BytesValue
\022\r\n\005
value
\030\001
\001
(
\014
B
E
\n\023
com"
".google.protobufB
\r
WrappersProtoP
\001\242\002\003
GPB
\252
"
"
\00
2\026
Google.ProtocolBuffersb
\006
proto3"
,
392
);
::
google
::
protobuf
::
MessageFactory
::
InternalRegisterGeneratedFile
(
"google/protobuf/wrappers.proto"
,
&
protobuf_RegisterTypes
);
DoubleValue
::
default_instance_
=
new
DoubleValue
();
...
...
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