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
2c2f76c5
Commit
2c2f76c5
authored
Apr 16, 2015
by
Jan Tattermusch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing field number of csharp_umbrella_namespace option
parent
333d200a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
descriptor.pb.cc
src/google/protobuf/descriptor.pb.cc
+11
-11
descriptor.pb.h
src/google/protobuf/descriptor.pb.h
+3
-3
descriptor.proto
src/google/protobuf/descriptor.proto
+1
-1
No files found.
src/google/protobuf/descriptor.pb.cc
View file @
2c2f76c5
...
@@ -679,7 +679,7 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() {
...
@@ -679,7 +679,7 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() {
"
\n\n
deprecated
\030\027
\001
(
\010
:
\005
false
\022\037\n\020
cc_enable_a"
"
\n\n
deprecated
\030\027
\001
(
\010
:
\005
false
\022\037\n\020
cc_enable_a"
"renas
\030\037
\001
(
\010
:
\005
false
\022\031\n\021
objc_class_prefix
\030
"
"renas
\030\037
\001
(
\010
:
\005
false
\022\031\n\021
objc_class_prefix
\030
"
"$
\001
(
\t\022\030\n\020
csharp_namespace
\030
%
\001
(
\t\022
!
\n\031
cshar"
"$
\001
(
\t\022\030\n\020
csharp_namespace
\030
%
\001
(
\t\022
!
\n\031
cshar"
"p_umbrella_namespace
\030
0
\001
(
\t\022
C
\n\024
uninterpre"
"p_umbrella_namespace
\030
&
\001
(
\t\022
C
\n\024
uninterpre"
"ted_option
\030\347\007
\003
(
\013
2$.google.protobuf.Unin"
"ted_option
\030\347\007
\003
(
\013
2$.google.protobuf.Unin"
"terpretedOption
\"
:
\n\014
OptimizeMode
\022\t\n\005
SPEED"
"terpretedOption
\"
:
\n\014
OptimizeMode
\022\t\n\005
SPEED"
"
\020\001\022\r\n\t
CODE_SIZE
\020\002\022\020\n\014
LITE_RUNTIME
\020\003
*
\t\010\350\007
"
"
\020\001\022\r\n\t
CODE_SIZE
\020\002\022\020\n\014
LITE_RUNTIME
\020\003
*
\t\010\350\007
"
...
@@ -7381,13 +7381,13 @@ bool FileOptions::MergePartialFromCodedStream(
...
@@ -7381,13 +7381,13 @@ bool FileOptions::MergePartialFromCodedStream(
}
else
{
}
else
{
goto
handle_unusual
;
goto
handle_unusual
;
}
}
if
(
input
->
ExpectTag
(
3
8
6
))
goto
parse_csharp_umbrella_namespace
;
if
(
input
->
ExpectTag
(
3
0
6
))
goto
parse_csharp_umbrella_namespace
;
break
;
break
;
}
}
// optional string csharp_umbrella_namespace =
4
8;
// optional string csharp_umbrella_namespace =
3
8;
case
4
8
:
{
case
3
8
:
{
if
(
tag
==
3
8
6
)
{
if
(
tag
==
3
0
6
)
{
parse_csharp_umbrella_namespace
:
parse_csharp_umbrella_namespace
:
DO_
(
::
google
::
protobuf
::
internal
::
WireFormatLite
::
ReadString
(
DO_
(
::
google
::
protobuf
::
internal
::
WireFormatLite
::
ReadString
(
input
,
this
->
mutable_csharp_umbrella_namespace
()));
input
,
this
->
mutable_csharp_umbrella_namespace
()));
...
@@ -7542,14 +7542,14 @@ void FileOptions::SerializeWithCachedSizes(
...
@@ -7542,14 +7542,14 @@ void FileOptions::SerializeWithCachedSizes(
37
,
this
->
csharp_namespace
(),
output
);
37
,
this
->
csharp_namespace
(),
output
);
}
}
// optional string csharp_umbrella_namespace =
4
8;
// optional string csharp_umbrella_namespace =
3
8;
if
(
has_csharp_umbrella_namespace
())
{
if
(
has_csharp_umbrella_namespace
())
{
::
google
::
protobuf
::
internal
::
WireFormat
::
VerifyUTF8StringNamedField
(
::
google
::
protobuf
::
internal
::
WireFormat
::
VerifyUTF8StringNamedField
(
this
->
csharp_umbrella_namespace
().
data
(),
this
->
csharp_umbrella_namespace
().
length
(),
this
->
csharp_umbrella_namespace
().
data
(),
this
->
csharp_umbrella_namespace
().
length
(),
::
google
::
protobuf
::
internal
::
WireFormat
::
SERIALIZE
,
::
google
::
protobuf
::
internal
::
WireFormat
::
SERIALIZE
,
"google.protobuf.FileOptions.csharp_umbrella_namespace"
);
"google.protobuf.FileOptions.csharp_umbrella_namespace"
);
::
google
::
protobuf
::
internal
::
WireFormatLite
::
WriteStringMaybeAliased
(
::
google
::
protobuf
::
internal
::
WireFormatLite
::
WriteStringMaybeAliased
(
4
8
,
this
->
csharp_umbrella_namespace
(),
output
);
3
8
,
this
->
csharp_umbrella_namespace
(),
output
);
}
}
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
...
@@ -7673,7 +7673,7 @@ void FileOptions::SerializeWithCachedSizes(
...
@@ -7673,7 +7673,7 @@ void FileOptions::SerializeWithCachedSizes(
37
,
this
->
csharp_namespace
(),
target
);
37
,
this
->
csharp_namespace
(),
target
);
}
}
// optional string csharp_umbrella_namespace =
4
8;
// optional string csharp_umbrella_namespace =
3
8;
if
(
has_csharp_umbrella_namespace
())
{
if
(
has_csharp_umbrella_namespace
())
{
::
google
::
protobuf
::
internal
::
WireFormat
::
VerifyUTF8StringNamedField
(
::
google
::
protobuf
::
internal
::
WireFormat
::
VerifyUTF8StringNamedField
(
this
->
csharp_umbrella_namespace
().
data
(),
this
->
csharp_umbrella_namespace
().
length
(),
this
->
csharp_umbrella_namespace
().
data
(),
this
->
csharp_umbrella_namespace
().
length
(),
...
@@ -7681,7 +7681,7 @@ void FileOptions::SerializeWithCachedSizes(
...
@@ -7681,7 +7681,7 @@ void FileOptions::SerializeWithCachedSizes(
"google.protobuf.FileOptions.csharp_umbrella_namespace"
);
"google.protobuf.FileOptions.csharp_umbrella_namespace"
);
target
=
target
=
::
google
::
protobuf
::
internal
::
WireFormatLite
::
WriteStringToArray
(
::
google
::
protobuf
::
internal
::
WireFormatLite
::
WriteStringToArray
(
4
8
,
this
->
csharp_umbrella_namespace
(),
target
);
3
8
,
this
->
csharp_umbrella_namespace
(),
target
);
}
}
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
...
@@ -7790,7 +7790,7 @@ int FileOptions::ByteSize() const {
...
@@ -7790,7 +7790,7 @@ int FileOptions::ByteSize() const {
this
->
csharp_namespace
());
this
->
csharp_namespace
());
}
}
// optional string csharp_umbrella_namespace =
4
8;
// optional string csharp_umbrella_namespace =
3
8;
if
(
has_csharp_umbrella_namespace
())
{
if
(
has_csharp_umbrella_namespace
())
{
total_size
+=
2
+
total_size
+=
2
+
::
google
::
protobuf
::
internal
::
WireFormatLite
::
StringSize
(
::
google
::
protobuf
::
internal
::
WireFormatLite
::
StringSize
(
...
@@ -8434,7 +8434,7 @@ void FileOptions::InternalSwap(FileOptions* other) {
...
@@ -8434,7 +8434,7 @@ void FileOptions::InternalSwap(FileOptions* other) {
// @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)
// @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)
}
}
// optional string csharp_umbrella_namespace =
4
8;
// optional string csharp_umbrella_namespace =
3
8;
bool
FileOptions
::
has_csharp_umbrella_namespace
()
const
{
bool
FileOptions
::
has_csharp_umbrella_namespace
()
const
{
return
(
_has_bits_
[
0
]
&
0x00004000u
)
!=
0
;
return
(
_has_bits_
[
0
]
&
0x00004000u
)
!=
0
;
}
}
...
...
src/google/protobuf/descriptor.pb.h
View file @
2c2f76c5
...
@@ -1849,10 +1849,10 @@ class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {
...
@@ -1849,10 +1849,10 @@ class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {
::
std
::
string
*
release_csharp_namespace
();
::
std
::
string
*
release_csharp_namespace
();
void
set_allocated_csharp_namespace
(
::
std
::
string
*
csharp_namespace
);
void
set_allocated_csharp_namespace
(
::
std
::
string
*
csharp_namespace
);
// optional string csharp_umbrella_namespace =
4
8;
// optional string csharp_umbrella_namespace =
3
8;
bool
has_csharp_umbrella_namespace
()
const
;
bool
has_csharp_umbrella_namespace
()
const
;
void
clear_csharp_umbrella_namespace
();
void
clear_csharp_umbrella_namespace
();
static
const
int
kCsharpUmbrellaNamespaceFieldNumber
=
4
8
;
static
const
int
kCsharpUmbrellaNamespaceFieldNumber
=
3
8
;
const
::
std
::
string
&
csharp_umbrella_namespace
()
const
;
const
::
std
::
string
&
csharp_umbrella_namespace
()
const
;
void
set_csharp_umbrella_namespace
(
const
::
std
::
string
&
value
);
void
set_csharp_umbrella_namespace
(
const
::
std
::
string
&
value
);
void
set_csharp_umbrella_namespace
(
const
char
*
value
);
void
set_csharp_umbrella_namespace
(
const
char
*
value
);
...
@@ -5600,7 +5600,7 @@ inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na
...
@@ -5600,7 +5600,7 @@ inline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_na
// @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)
// @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)
}
}
// optional string csharp_umbrella_namespace =
4
8;
// optional string csharp_umbrella_namespace =
3
8;
inline
bool
FileOptions
::
has_csharp_umbrella_namespace
()
const
{
inline
bool
FileOptions
::
has_csharp_umbrella_namespace
()
const
{
return
(
_has_bits_
[
0
]
&
0x00004000u
)
!=
0
;
return
(
_has_bits_
[
0
]
&
0x00004000u
)
!=
0
;
}
}
...
...
src/google/protobuf/descriptor.proto
View file @
2c2f76c5
...
@@ -358,7 +358,7 @@ message FileOptions {
...
@@ -358,7 +358,7 @@ message FileOptions {
// umbrella_classname conflicting with an existing type. This will be automatically
// umbrella_classname conflicting with an existing type. This will be automatically
// set to 'Proto' if a collision is detected with types being generated. This value
// set to 'Proto' if a collision is detected with types being generated. This value
// is ignored when nest_classes == true
// is ignored when nest_classes == true
optional
string
csharp_umbrella_namespace
=
4
8
;
optional
string
csharp_umbrella_namespace
=
3
8
;
// The parser stores options it doesn't recognize here. See above.
// The parser stores options it doesn't recognize here. See above.
repeated
UninterpretedOption
uninterpreted_option
=
999
;
repeated
UninterpretedOption
uninterpreted_option
=
999
;
...
...
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