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
68c8762b
Commit
68c8762b
authored
Jun 12, 2015
by
Feng Xiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #489 from tamird/go-package-descriptor
Give descriptor.proto a go package
parents
7b354163
66463d7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
descriptor.pb.cc
src/google/protobuf/descriptor.pb.cc
+4
-3
descriptor.proto
src/google/protobuf/descriptor.proto
+1
-0
No files found.
src/google/protobuf/descriptor.pb.cc
View file @
68c8762b
...
@@ -753,9 +753,10 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() {
...
@@ -753,9 +753,10 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() {
"ion
\032\206\001\n\010
Location
\022\020\n\004
path
\030\001
\003
(
\005
B
\002\020\001\022\020\n\004
sp"
"ion
\032\206\001\n\010
Location
\022\020\n\004
path
\030\001
\003
(
\005
B
\002\020\001\022\020\n\004
sp"
"an
\030\002
\003
(
\005
B
\002\020\001\022\030\n\020
leading_comments
\030\003
\001
(
\t\022\031
"
"an
\030\002
\003
(
\005
B
\002\020\001\022\030\n\020
leading_comments
\030\003
\001
(
\t\022\031
"
"
\n\021
trailing_comments
\030\004
\001
(
\t\022
!
\n\031
leading_det"
"
\n\021
trailing_comments
\030\004
\001
(
\t\022
!
\n\031
leading_det"
"ached_comments
\030\006
\003
(
\t
BY
\n\023
com.google.proto"
"ached_comments
\030\006
\003
(
\t
Be
\n\023
com.google.proto"
"bufB
\020
DescriptorProtosH
\001\242\002\003
GPB
\252\002\'
Google.P"
"bufB
\020
DescriptorProtosH
\001
Z
\n
descriptor
\242\002\003
GP"
"rotocolBuffers.DescriptorProtos"
,
4951
);
"B
\252\002\'
Google.ProtocolBuffers.DescriptorPro"
"tos"
,
4963
);
::
google
::
protobuf
::
MessageFactory
::
InternalRegisterGeneratedFile
(
::
google
::
protobuf
::
MessageFactory
::
InternalRegisterGeneratedFile
(
"google/protobuf/descriptor.proto"
,
&
protobuf_RegisterTypes
);
"google/protobuf/descriptor.proto"
,
&
protobuf_RegisterTypes
);
FileDescriptorSet
::
default_instance_
=
new
FileDescriptorSet
();
FileDescriptorSet
::
default_instance_
=
new
FileDescriptorSet
();
...
...
src/google/protobuf/descriptor.proto
View file @
68c8762b
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
syntax
=
"proto2"
;
syntax
=
"proto2"
;
package
google
.
protobuf
;
package
google
.
protobuf
;
option
go_package
=
"descriptor"
;
option
java_package
=
"com.google.protobuf"
;
option
java_package
=
"com.google.protobuf"
;
option
java_outer_classname
=
"DescriptorProtos"
;
option
java_outer_classname
=
"DescriptorProtos"
;
option
csharp_namespace
=
"Google.ProtocolBuffers.DescriptorProtos"
;
option
csharp_namespace
=
"Google.ProtocolBuffers.DescriptorProtos"
;
...
...
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