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
93007e15
Commit
93007e15
authored
Sep 21, 2016
by
Bo Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump library veriosn to 3.1
parent
fe1aaad7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
68 additions
and
64 deletions
+68
-64
Descriptor.cs
csharp/src/Google.Protobuf/Reflection/Descriptor.cs
+0
-0
Any.cs
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
+3
-3
Api.cs
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs
+3
-3
Duration.cs
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
+7
-1
Empty.cs
csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs
+4
-4
FieldMask.cs
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs
+6
-6
SourceContext.cs
csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs
+3
-3
Struct.cs
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
+1
-1
Timestamp.cs
csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs
+7
-9
Type.cs
csharp/src/Google.Protobuf/WellKnownTypes/Type.cs
+1
-1
Wrappers.cs
csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs
+3
-3
Makefile.am
src/Makefile.am
+1
-1
any.pb.h
src/google/protobuf/any.pb.h
+2
-2
api.pb.h
src/google/protobuf/api.pb.h
+2
-2
plugin.pb.h
src/google/protobuf/compiler/plugin.pb.h
+2
-2
descriptor.pb.h
src/google/protobuf/descriptor.pb.h
+2
-2
duration.pb.h
src/google/protobuf/duration.pb.h
+2
-2
empty.pb.h
src/google/protobuf/empty.pb.h
+2
-2
field_mask.pb.h
src/google/protobuf/field_mask.pb.h
+2
-2
source_context.pb.h
src/google/protobuf/source_context.pb.h
+2
-2
struct.pb.h
src/google/protobuf/struct.pb.h
+2
-2
common.h
src/google/protobuf/stubs/common.h
+5
-5
timestamp.pb.h
src/google/protobuf/timestamp.pb.h
+2
-2
type.pb.h
src/google/protobuf/type.pb.h
+2
-2
wrappers.pb.h
src/google/protobuf/wrappers.pb.h
+2
-2
No files found.
csharp/src/Google.Protobuf/Reflection/Descriptor.cs
View file @
93007e15
This diff is collapsed.
Click to expand it.
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
View file @
93007e15
...
@@ -23,10 +23,10 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -23,10 +23,10 @@ namespace Google.Protobuf.WellKnownTypes {
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
string
.
Concat
(
"Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYi"
,
"Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYi"
,
"JgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQ
nI
KE2Nv"
,
"JgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQ
m8
KE2Nv"
,
"bS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaJWdpdGh1Yi5jb20vZ29s"
,
"bS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaJWdpdGh1Yi5jb20vZ29s"
,
"YW5nL3Byb3RvYnVmL3B0eXBlcy9hbnm
gAQGiAgNHUEKqAh5Hb29nbGUuUHJv
"
,
"YW5nL3Byb3RvYnVmL3B0eXBlcy9hbnm
iAgNHUEKqAh5Hb29nbGUuUHJvdG9i
"
,
"d
G9id
WYuV2VsbEtub3duVHlwZXNiBnByb3RvMw=="
));
"dWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw=="
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs
View file @
93007e15
...
@@ -35,9 +35,9 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -35,9 +35,9 @@ namespace Google.Protobuf.WellKnownTypes {
"ChFyZXNwb25zZV90eXBlX3VybBgEIAEoCRIaChJyZXNwb25zZV9zdHJlYW1p"
,
"ChFyZXNwb25zZV90eXBlX3VybBgEIAEoCRIaChJyZXNwb25zZV9zdHJlYW1p"
,
"bmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5P"
,
"bmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5P"
,
"cHRpb24SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRh"
,
"cHRpb24SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRh"
,
"eCIjCgVNaXhpbhIMCgRuYW1lGAEgASgJEgwKBHJvb3QYAiABKAlCS
w
oTY29t"
,
"eCIjCgVNaXhpbhIMCgRuYW1lGAEgASgJEgwKBHJvb3QYAiABKAlCS
A
oTY29t"
,
"Lmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJvdG9QAa
ABAaICA0dQQqoCHkdvb2ds
"
,
"Lmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJvdG9QAa
ICA0dQQqoCHkdvb2dsZS5Q
"
,
"
ZS5Q
cm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z"
));
"cm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContextReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
,
},
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContextReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
,
},
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
View file @
93007e15
...
@@ -25,7 +25,7 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -25,7 +25,7 @@ namespace Google.Protobuf.WellKnownTypes {
"Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90"
,
"Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90"
,
"b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIg"
,
"b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIg"
,
"ASgFQnwKE2NvbS5nb29nbGUucHJvdG9idWZCDUR1cmF0aW9uUHJvdG9QAVoq"
,
"ASgFQnwKE2NvbS5nb29nbGUucHJvdG9idWZCDUR1cmF0aW9uUHJvdG9QAVoq"
,
"Z2l0aHViLmNvbS9nb2xhbmcvcHJvdG9idWYvcHR5cGVzL2R1cmF0aW9u
o
AEB"
,
"Z2l0aHViLmNvbS9nb2xhbmcvcHJvdG9idWYvcHR5cGVzL2R1cmF0aW9u
+
AEB"
,
"ogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90"
,
"ogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90"
,
"bzM="
));
"bzM="
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
...
@@ -79,6 +79,12 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -79,6 +79,12 @@ namespace Google.Protobuf.WellKnownTypes {
/// end.seconds += 1;
/// end.seconds += 1;
/// end.nanos -= 1000000000;
/// end.nanos -= 1000000000;
/// }
/// }
///
/// Example 3: Compute Duration from datetime.timedelta in Python.
///
/// td = datetime.timedelta(days=3, minutes=10)
/// duration = Duration()
/// duration.FromTimedelta(td)
/// </summary>
/// </summary>
public
sealed
partial
class
Duration
:
pb
::
IMessage
<
Duration
>
{
public
sealed
partial
class
Duration
:
pb
::
IMessage
<
Duration
>
{
private
static
readonly
pb
::
MessageParser
<
Duration
>
_parser
=
new
pb
::
MessageParser
<
Duration
>(()
=>
new
Duration
());
private
static
readonly
pb
::
MessageParser
<
Duration
>
_parser
=
new
pb
::
MessageParser
<
Duration
>(()
=>
new
Duration
());
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs
View file @
93007e15
...
@@ -23,10 +23,10 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -23,10 +23,10 @@ namespace Google.Protobuf.WellKnownTypes {
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
string
.
Concat
(
"Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1"
,
"Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1"
,
"ZiIHCgVFbXB0eUJ
5
ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3Rv"
,
"ZiIHCgVFbXB0eUJ
2
ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3Rv"
,
"UAFaJ2dpdGh1Yi5jb20vZ29sYW5nL3Byb3RvYnVmL3B0eXBlcy9lbXB0e
aA
B"
,
"UAFaJ2dpdGh1Yi5jb20vZ29sYW5nL3Byb3RvYnVmL3B0eXBlcy9lbXB0e
fg
B"
,
"A
fgBAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG
"
,
"A
aICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJv
"
,
"
cHJv
dG8z"
));
"dG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs
View file @
93007e15
...
@@ -23,9 +23,9 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -23,9 +23,9 @@ namespace Google.Protobuf.WellKnownTypes {
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
string
.
Concat
(
"CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnBy"
,
"CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnBy"
,
"b3RvYnVmIhoKCUZpZWxkTWFzaxINCgVwYXRocxgBIAMoCUJ
R
ChNjb20uZ29v"
,
"b3RvYnVmIhoKCUZpZWxkTWFzaxINCgVwYXRocxgBIAMoCUJ
O
ChNjb20uZ29v"
,
"Z2xlLnByb3RvYnVmQg5GaWVsZE1hc2tQcm90b1ABo
AEBogIDR1BCqgIeR29v
"
,
"Z2xlLnByb3RvYnVmQg5GaWVsZE1hc2tQcm90b1ABo
gIDR1BCqgIeR29vZ2xl
"
,
"
Z2xl
LlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM="
));
"LlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM="
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
...
@@ -79,7 +79,7 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -79,7 +79,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// }
/// }
///
///
/// A repeated field is not allowed except at the last position of a
/// A repeated field is not allowed except at the last position of a
///
field mask
.
///
paths string
.
///
///
/// If a FieldMask object is not present in a get operation, the
/// If a FieldMask object is not present in a get operation, the
/// operation applies to all fields (as if a FieldMask of all fields
/// operation applies to all fields (as if a FieldMask of all fields
...
@@ -106,8 +106,8 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -106,8 +106,8 @@ namespace Google.Protobuf.WellKnownTypes {
///
///
/// If a repeated field is specified for an update operation, the existing
/// If a repeated field is specified for an update operation, the existing
/// repeated values in the target resource will be overwritten by the new values.
/// repeated values in the target resource will be overwritten by the new values.
/// Note that a repeated field is only allowed in the last position of a
field
/// Note that a repeated field is only allowed in the last position of a
`paths`
///
mask
.
///
string
.
///
///
/// If a sub-message is specified in the last position of the field mask for an
/// If a sub-message is specified in the last position of the field mask for an
/// update operation, then the existing sub-message in the target resource is
/// update operation, then the existing sub-message in the target resource is
...
...
csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs
View file @
93007e15
...
@@ -24,9 +24,9 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -24,9 +24,9 @@ namespace Google.Protobuf.WellKnownTypes {
string
.
Concat
(
string
.
Concat
(
"CiRnb29nbGUvcHJvdG9idWYvc291cmNlX2NvbnRleHQucHJvdG8SD2dvb2ds"
,
"CiRnb29nbGUvcHJvdG9idWYvc291cmNlX2NvbnRleHQucHJvdG8SD2dvb2ds"
,
"ZS5wcm90b2J1ZiIiCg1Tb3VyY2VDb250ZXh0EhEKCWZpbGVfbmFtZRgBIAEo"
,
"ZS5wcm90b2J1ZiIiCg1Tb3VyY2VDb250ZXh0EhEKCWZpbGVfbmFtZRgBIAEo"
,
"CUJ
V
ChNjb20uZ29vZ2xlLnByb3RvYnVmQhJTb3VyY2VDb250ZXh0UHJvdG9Q"
,
"CUJ
S
ChNjb20uZ29vZ2xlLnByb3RvYnVmQhJTb3VyY2VDb250ZXh0UHJvdG9Q"
,
"Aa
ABAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG
"
,
"Aa
ICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJv
"
,
"
cHJv
dG8z"
));
"dG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
View file @
93007e15
...
@@ -35,7 +35,7 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -35,7 +35,7 @@ namespace Google.Protobuf.WellKnownTypes {
"Lmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9W"
,
"Lmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9W"
,
"QUxVRRAAQoEBChNjb20uZ29vZ2xlLnByb3RvYnVmQgtTdHJ1Y3RQcm90b1AB"
,
"QUxVRRAAQoEBChNjb20uZ29vZ2xlLnByb3RvYnVmQgtTdHJ1Y3RQcm90b1AB"
,
"WjFnaXRodWIuY29tL2dvbGFuZy9wcm90b2J1Zi9wdHlwZXMvc3RydWN0O3N0"
,
"WjFnaXRodWIuY29tL2dvbGFuZy9wcm90b2J1Zi9wdHlwZXMvc3RydWN0O3N0"
,
"cnVjdHBi
o
AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5"
,
"cnVjdHBi
+
AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5"
,
"cGVzYgZwcm90bzM="
));
"cGVzYgZwcm90bzM="
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs
View file @
93007e15
...
@@ -24,10 +24,10 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -24,10 +24,10 @@ namespace Google.Protobuf.WellKnownTypes {
string
.
Concat
(
string
.
Concat
(
"Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJv"
,
"Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJv"
,
"dG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MY"
,
"dG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MY"
,
"AiABKAVC
gQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3Rv
"
,
"AiABKAVC
fgoTY29tLmdvb2dsZS5wcm90b2J1ZkIOVGltZXN0YW1wUHJvdG9Q
"
,
"
UAFaK2dpdGh1Yi5jb20vZ29sYW5nL3Byb3RvYnVmL3B0eXBlcy90aW1lc3Rh
"
,
"
AVorZ2l0aHViLmNvbS9nb2xhbmcvcHJvdG9idWYvcHR5cGVzL3RpbWVzdGFt
"
,
"
bXCgAQH4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlw
"
,
"
cPgBAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG
"
,
"
ZXNiBnByb3RvMw==
"
));
"
cHJvdG8z
"
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
...
@@ -87,10 +87,8 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -87,10 +87,8 @@ namespace Google.Protobuf.WellKnownTypes {
///
///
/// Example 5: Compute Timestamp from current time in Python.
/// Example 5: Compute Timestamp from current time in Python.
///
///
/// now = time.time()
/// timestamp = Timestamp()
/// seconds = int(now)
/// timestamp.GetCurrentTime()
/// nanos = int((now - seconds) * 10**9)
/// timestamp = Timestamp(seconds=seconds, nanos=nanos)
/// </summary>
/// </summary>
public
sealed
partial
class
Timestamp
:
pb
::
IMessage
<
Timestamp
>
{
public
sealed
partial
class
Timestamp
:
pb
::
IMessage
<
Timestamp
>
{
private
static
readonly
pb
::
MessageParser
<
Timestamp
>
_parser
=
new
pb
::
MessageParser
<
Timestamp
>(()
=>
new
Timestamp
());
private
static
readonly
pb
::
MessageParser
<
Timestamp
>
_parser
=
new
pb
::
MessageParser
<
Timestamp
>(()
=>
new
Timestamp
());
...
@@ -130,7 +128,7 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -130,7 +128,7 @@ namespace Google.Protobuf.WellKnownTypes {
private
long
seconds_
;
private
long
seconds_
;
/// <summary>
/// <summary>
/// Represents seconds of UTC time since Unix epoch
/// Represents seconds of UTC time since Unix epoch
/// 1970-01-01T00:00:00Z. Must be from
from
0001-01-01T00:00:00Z to
/// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
/// 9999-12-31T23:59:59Z inclusive.
/// 9999-12-31T23:59:59Z inclusive.
/// </summary>
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Type.cs
View file @
93007e15
...
@@ -55,7 +55,7 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -55,7 +55,7 @@ namespace Google.Protobuf.WellKnownTypes {
"IjsKBk9wdGlvbhIMCgRuYW1lGAEgASgJEiMKBXZhbHVlGAIgASgLMhQuZ29v"
,
"IjsKBk9wdGlvbhIMCgRuYW1lGAEgASgJEiMKBXZhbHVlGAIgASgLMhQuZ29v"
,
"Z2xlLnByb3RvYnVmLkFueSouCgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAA"
,
"Z2xlLnByb3RvYnVmLkFueSouCgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAA"
,
"EhEKDVNZTlRBWF9QUk9UTzMQAUJMChNjb20uZ29vZ2xlLnByb3RvYnVmQglU"
,
"EhEKDVNZTlRBWF9QUk9UTzMQAUJMChNjb20uZ29vZ2xlLnByb3RvYnVmQglU"
,
"eXBlUHJvdG9QA
aA
BAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25v"
,
"eXBlUHJvdG9QA
fg
BAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25v"
,
"d25UeXBlc2IGcHJvdG8z"
));
"d25UeXBlc2IGcHJvdG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
AnyReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContextReflection
.
Descriptor
,
},
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
AnyReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContextReflection
.
Descriptor
,
},
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs
View file @
93007e15
...
@@ -28,10 +28,10 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -28,10 +28,10 @@ namespace Google.Protobuf.WellKnownTypes {
"KAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1"
,
"KAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1"
,
"ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEo"
,
"ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEo"
,
"DSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUS"
,
"DSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUS"
,
"DQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEJ
/
"
,
"DQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEJ
8
"
,
"ChNjb20uZ29vZ2xlLnByb3RvYnVmQg1XcmFwcGVyc1Byb3RvUAFaKmdpdGh1"
,
"ChNjb20uZ29vZ2xlLnByb3RvYnVmQg1XcmFwcGVyc1Byb3RvUAFaKmdpdGh1"
,
"Yi5jb20vZ29sYW5nL3Byb3RvYnVmL3B0eXBlcy93cmFwcGVyc
6ABAfgBAaIC
"
,
"Yi5jb20vZ29sYW5nL3Byb3RvYnVmL3B0eXBlcy93cmFwcGVyc
/gBAaICA0dQ
"
,
"
A0dQ
QqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z"
));
"QqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
new
pbr
::
GeneratedClrTypeInfo
(
null
,
new
pbr
::
GeneratedClrTypeInfo
[]
{
...
...
src/Makefile.am
View file @
93007e15
...
@@ -177,7 +177,7 @@ nobase_include_HEADERS = \
...
@@ -177,7 +177,7 @@ nobase_include_HEADERS = \
lib_LTLIBRARIES
=
libprotobuf-lite.la libprotobuf.la libprotoc.la
lib_LTLIBRARIES
=
libprotobuf-lite.la libprotobuf.la libprotoc.la
libprotobuf_lite_la_LIBADD
=
$(PTHREAD_LIBS)
libprotobuf_lite_la_LIBADD
=
$(PTHREAD_LIBS)
libprotobuf_lite_la_LDFLAGS
=
-version-info
1
0
:0:0
-export-dynamic
-no-undefined
libprotobuf_lite_la_LDFLAGS
=
-version-info
1
1
:0:0
-export-dynamic
-no-undefined
libprotobuf_lite_la_SOURCES
=
\
libprotobuf_lite_la_SOURCES
=
\
google/protobuf/stubs/atomicops_internals_x86_gcc.cc
\
google/protobuf/stubs/atomicops_internals_x86_gcc.cc
\
google/protobuf/stubs/atomicops_internals_x86_msvc.cc
\
google/protobuf/stubs/atomicops_internals_x86_msvc.cc
\
...
...
src/google/protobuf/any.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/api.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/compiler/plugin.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/descriptor.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/duration.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/empty.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/field_mask.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/source_context.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/struct.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/stubs/common.h
View file @
93007e15
...
@@ -96,24 +96,24 @@ namespace internal {
...
@@ -96,24 +96,24 @@ namespace internal {
// The current version, represented as a single integer to make comparison
// The current version, represented as a single integer to make comparison
// easier: major * 10^6 + minor * 10^3 + micro
// easier: major * 10^6 + minor * 10^3 + micro
#define GOOGLE_PROTOBUF_VERSION 300
0002
#define GOOGLE_PROTOBUF_VERSION 300
1000
// The minimum library version which works with the current version of the
// The minimum library version which works with the current version of the
// headers.
// headers.
#define GOOGLE_PROTOBUF_MIN_LIBRARY_VERSION 300
0
000
#define GOOGLE_PROTOBUF_MIN_LIBRARY_VERSION 300
1
000
// The minimum header version which works with the current version of
// The minimum header version which works with the current version of
// the library. This constant should only be used by protoc's C++ code
// the library. This constant should only be used by protoc's C++ code
// generator.
// generator.
static
const
int
kMinHeaderVersionForLibrary
=
300
0
000
;
static
const
int
kMinHeaderVersionForLibrary
=
300
1
000
;
// The minimum protoc version which works with the current version of the
// The minimum protoc version which works with the current version of the
// headers.
// headers.
#define GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 300
0
000
#define GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 300
1
000
// The minimum header version which works with the current version of
// The minimum header version which works with the current version of
// protoc. This constant should only be used in VerifyVersion().
// protoc. This constant should only be used in VerifyVersion().
static
const
int
kMinHeaderVersionForProtoc
=
300
0
000
;
static
const
int
kMinHeaderVersionForProtoc
=
300
1
000
;
// Verifies that the headers and libraries are compatible. Use the macro
// Verifies that the headers and libraries are compatible. Use the macro
// below to call this.
// below to call this.
...
...
src/google/protobuf/timestamp.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/type.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
src/google/protobuf/wrappers.pb.h
View file @
93007e15
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 300
0
000
#if GOOGLE_PROTOBUF_VERSION < 300
1
000
#error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#error your headers.
#endif
#endif
#if 300
0002
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#if 300
1000
< GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
...
...
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