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
47bf49b9
Commit
47bf49b9
authored
Jul 22, 2015
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generated code for previous commit.
parent
4668c3dc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
60 additions
and
119 deletions
+60
-119
Addressbook.cs
csharp/src/AddressBook/Addressbook.cs
+5
-15
MapUnittestProto3.cs
.../src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
+0
-0
UnittestImportProto3.cs
...c/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs
+4
-5
UnittestImportPublicProto3.cs
...le.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs
+4
-5
UnittestIssues.cs
csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
+0
-0
UnittestProto3.cs
csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
+0
-0
UnittestWellKnownTypes.cs
...Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
+0
-0
Any.cs
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
+4
-6
Api.cs
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs
+5
-17
Duration.cs
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
+4
-6
Empty.cs
csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs
+4
-4
FieldMask.cs
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs
+4
-5
SourceContext.cs
csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs
+4
-5
Struct.cs
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
+6
-16
Timestamp.cs
csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs
+4
-6
Type.cs
csharp/src/Google.Protobuf/WellKnownTypes/Type.cs
+0
-0
Wrappers.cs
csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs
+12
-29
No files found.
csharp/src/AddressBook/Addressbook.cs
View file @
47bf49b9
...
@@ -29,10 +29,13 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -29,10 +29,13 @@ namespace Google.Protobuf.Examples.AddressBook {
"EggKBEhPTUUQARIICgRXT1JLEAIiLwoLQWRkcmVzc0Jvb2sSIAoGcGVvcGxl"
,
"EggKBEhPTUUQARIICgRXT1JLEAIiLwoLQWRkcmVzc0Jvb2sSIAoGcGVvcGxl"
,
"GAEgAygLMhAudHV0b3JpYWwuUGVyc29uQlAKFGNvbS5leGFtcGxlLnR1dG9y"
,
"GAEgAygLMhAudHV0b3JpYWwuUGVyc29uQlAKFGNvbS5leGFtcGxlLnR1dG9y"
,
"aWFsQhFBZGRyZXNzQm9va1Byb3Rvc6oCJEdvb2dsZS5Qcm90b2J1Zi5FeGFt"
,
"aWFsQhFBZGRyZXNzQm9va1Byb3Rvc6oCJEdvb2dsZS5Qcm90b2J1Zi5FeGFt"
,
"cGxlcy5BZGRyZXNzQm9va2IGcHJvdG8z"
));
"cGxlcy5BZGRyZXNzQm9va2IGcHJvdG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
),
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
),
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
),
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
AddressBook
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
),
new
[]{
"Name"
,
"Id"
,
"Email"
,
"Phones"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
)
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
),
new
[]{
"Number"
,
"Type"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
AddressBook
),
new
[]{
"People"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -43,8 +46,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -43,8 +46,6 @@ namespace Google.Protobuf.Examples.AddressBook {
private
static
readonly
pb
::
MessageParser
<
Person
>
_parser
=
new
pb
::
MessageParser
<
Person
>(()
=>
new
Person
());
private
static
readonly
pb
::
MessageParser
<
Person
>
_parser
=
new
pb
::
MessageParser
<
Person
>(()
=>
new
Person
());
public
static
pb
::
MessageParser
<
Person
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Person
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"email"
,
"id"
,
"name"
,
"phones"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
26
,
16
,
10
,
34
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -83,7 +84,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -83,7 +84,6 @@ namespace Google.Protobuf.Examples.AddressBook {
public
const
int
NameFieldNumber
=
1
;
public
const
int
NameFieldNumber
=
1
;
private
string
name_
=
""
;
private
string
name_
=
""
;
[
pbr
::
ProtobufField
(
1
,
"name"
)]
public
string
Name
{
public
string
Name
{
get
{
return
name_
;
}
get
{
return
name_
;
}
set
{
set
{
...
@@ -94,7 +94,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -94,7 +94,6 @@ namespace Google.Protobuf.Examples.AddressBook {
public
const
int
IdFieldNumber
=
2
;
public
const
int
IdFieldNumber
=
2
;
private
int
id_
;
private
int
id_
;
[
pbr
::
ProtobufField
(
2
,
"id"
)]
public
int
Id
{
public
int
Id
{
get
{
return
id_
;
}
get
{
return
id_
;
}
set
{
set
{
...
@@ -105,7 +104,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -105,7 +104,6 @@ namespace Google.Protobuf.Examples.AddressBook {
public
const
int
EmailFieldNumber
=
3
;
public
const
int
EmailFieldNumber
=
3
;
private
string
email_
=
""
;
private
string
email_
=
""
;
[
pbr
::
ProtobufField
(
3
,
"email"
)]
public
string
Email
{
public
string
Email
{
get
{
return
email_
;
}
get
{
return
email_
;
}
set
{
set
{
...
@@ -118,7 +116,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -118,7 +116,6 @@ namespace Google.Protobuf.Examples.AddressBook {
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>
_repeated_phones_codec
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>
_repeated_phones_codec
=
pb
::
FieldCodec
.
ForMessage
(
34
,
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
.
Parser
);
=
pb
::
FieldCodec
.
ForMessage
(
34
,
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
.
Parser
);
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>
phones_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>();
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>
phones_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>();
[
pbr
::
ProtobufField
(
4
,
"phones"
)]
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>
Phones
{
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>
Phones
{
get
{
return
phones_
;
}
get
{
return
phones_
;
}
}
}
...
@@ -246,8 +243,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -246,8 +243,6 @@ namespace Google.Protobuf.Examples.AddressBook {
private
static
readonly
pb
::
MessageParser
<
PhoneNumber
>
_parser
=
new
pb
::
MessageParser
<
PhoneNumber
>(()
=>
new
PhoneNumber
());
private
static
readonly
pb
::
MessageParser
<
PhoneNumber
>
_parser
=
new
pb
::
MessageParser
<
PhoneNumber
>(()
=>
new
PhoneNumber
());
public
static
pb
::
MessageParser
<
PhoneNumber
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
PhoneNumber
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"number"
,
"type"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
,
16
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Descriptor
.
NestedTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Descriptor
.
NestedTypes
[
0
];
}
}
}
...
@@ -283,7 +278,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -283,7 +278,6 @@ namespace Google.Protobuf.Examples.AddressBook {
public
const
int
NumberFieldNumber
=
1
;
public
const
int
NumberFieldNumber
=
1
;
private
string
number_
=
""
;
private
string
number_
=
""
;
[
pbr
::
ProtobufField
(
1
,
"number"
)]
public
string
Number
{
public
string
Number
{
get
{
return
number_
;
}
get
{
return
number_
;
}
set
{
set
{
...
@@ -294,7 +288,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -294,7 +288,6 @@ namespace Google.Protobuf.Examples.AddressBook {
public
const
int
TypeFieldNumber
=
2
;
public
const
int
TypeFieldNumber
=
2
;
private
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
type_
=
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
.
MOBILE
;
private
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
type_
=
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
.
MOBILE
;
[
pbr
::
ProtobufField
(
2
,
"type"
)]
public
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
Type
{
public
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneType
Type
{
get
{
return
type_
;
}
get
{
return
type_
;
}
set
{
set
{
...
@@ -399,8 +392,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -399,8 +392,6 @@ namespace Google.Protobuf.Examples.AddressBook {
private
static
readonly
pb
::
MessageParser
<
AddressBook
>
_parser
=
new
pb
::
MessageParser
<
AddressBook
>(()
=>
new
AddressBook
());
private
static
readonly
pb
::
MessageParser
<
AddressBook
>
_parser
=
new
pb
::
MessageParser
<
AddressBook
>(()
=>
new
AddressBook
());
public
static
pb
::
MessageParser
<
AddressBook
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
AddressBook
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"people"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
Descriptor
.
MessageTypes
[
1
];
}
}
}
...
@@ -438,7 +429,6 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -438,7 +429,6 @@ namespace Google.Protobuf.Examples.AddressBook {
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>
_repeated_people_codec
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>
_repeated_people_codec
=
pb
::
FieldCodec
.
ForMessage
(
10
,
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Parser
);
=
pb
::
FieldCodec
.
ForMessage
(
10
,
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Parser
);
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>
people_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>();
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>
people_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>();
[
pbr
::
ProtobufField
(
1
,
"people"
)]
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>
People
{
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>
People
{
get
{
return
people_
;
}
get
{
return
people_
;
}
}
}
...
...
csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
View file @
47bf49b9
This diff is collapsed.
Click to expand it.
csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs
View file @
47bf49b9
...
@@ -28,10 +28,12 @@ namespace Google.Protobuf.TestProtos {
...
@@ -28,10 +28,12 @@ namespace Google.Protobuf.TestProtos {
"VU1fVU5TUEVDSUZJRUQQABIOCgpJTVBPUlRfRk9PEAcSDgoKSU1QT1JUX0JB"
,
"VU1fVU5TUEVDSUZJRUQQABIOCgpJTVBPUlRfRk9PEAcSDgoKSU1QT1JUX0JB"
,
"UhAIEg4KCklNUE9SVF9CQVoQCUI8Chhjb20uZ29vZ2xlLnByb3RvYnVmLnRl"
,
"UhAIEg4KCklNUE9SVF9CQVoQCUI8Chhjb20uZ29vZ2xlLnByb3RvYnVmLnRl"
,
"c3RIAfgBAaoCGkdvb2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zUABiBnByb3Rv"
,
"c3RIAfgBAaoCGkdvb2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zUABiBnByb3Rv"
,
"Mw=="
));
"Mw=="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
,
},
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
,
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ImportMessage
),
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ImportEnum
),
});
new
pbr
::
GeneratedCodeInfo
(
new
[]
{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ImportEnum
),
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ImportMessage
),
new
[]{
"D"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -52,8 +54,6 @@ namespace Google.Protobuf.TestProtos {
...
@@ -52,8 +54,6 @@ namespace Google.Protobuf.TestProtos {
private
static
readonly
pb
::
MessageParser
<
ImportMessage
>
_parser
=
new
pb
::
MessageParser
<
ImportMessage
>(()
=>
new
ImportMessage
());
private
static
readonly
pb
::
MessageParser
<
ImportMessage
>
_parser
=
new
pb
::
MessageParser
<
ImportMessage
>(()
=>
new
ImportMessage
());
public
static
pb
::
MessageParser
<
ImportMessage
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
ImportMessage
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"d"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -88,7 +88,6 @@ namespace Google.Protobuf.TestProtos {
...
@@ -88,7 +88,6 @@ namespace Google.Protobuf.TestProtos {
public
const
int
DFieldNumber
=
1
;
public
const
int
DFieldNumber
=
1
;
private
int
d_
;
private
int
d_
;
[
pbr
::
ProtobufField
(
1
,
"d"
)]
public
int
D
{
public
int
D
{
get
{
return
d_
;
}
get
{
return
d_
;
}
set
{
set
{
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs
View file @
47bf49b9
...
@@ -24,10 +24,12 @@ namespace Google.Protobuf.TestProtos {
...
@@ -24,10 +24,12 @@ namespace Google.Protobuf.TestProtos {
"CjNnb29nbGUvcHJvdG9idWYvdW5pdHRlc3RfaW1wb3J0X3B1YmxpY19wcm90"
,
"CjNnb29nbGUvcHJvdG9idWYvdW5pdHRlc3RfaW1wb3J0X3B1YmxpY19wcm90"
,
"bzMucHJvdG8SGHByb3RvYnVmX3VuaXR0ZXN0X2ltcG9ydCIgChNQdWJsaWNJ"
,
"bzMucHJvdG8SGHByb3RvYnVmX3VuaXR0ZXN0X2ltcG9ydCIgChNQdWJsaWNJ"
,
"bXBvcnRNZXNzYWdlEgkKAWUYASABKAVCNwoYY29tLmdvb2dsZS5wcm90b2J1"
,
"bXBvcnRNZXNzYWdlEgkKAWUYASABKAVCNwoYY29tLmdvb2dsZS5wcm90b2J1"
,
"Zi50ZXN0qgIaR29vZ2xlLlByb3RvYnVmLlRlc3RQcm90b3NiBnByb3RvMw=="
));
"Zi50ZXN0qgIaR29vZ2xlLlByb3RvYnVmLlRlc3RQcm90b3NiBnByb3RvMw=="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
PublicImportMessage
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
PublicImportMessage
),
new
[]{
"E"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -38,8 +40,6 @@ namespace Google.Protobuf.TestProtos {
...
@@ -38,8 +40,6 @@ namespace Google.Protobuf.TestProtos {
private
static
readonly
pb
::
MessageParser
<
PublicImportMessage
>
_parser
=
new
pb
::
MessageParser
<
PublicImportMessage
>(()
=>
new
PublicImportMessage
());
private
static
readonly
pb
::
MessageParser
<
PublicImportMessage
>
_parser
=
new
pb
::
MessageParser
<
PublicImportMessage
>(()
=>
new
PublicImportMessage
());
public
static
pb
::
MessageParser
<
PublicImportMessage
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
PublicImportMessage
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"e"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -74,7 +74,6 @@ namespace Google.Protobuf.TestProtos {
...
@@ -74,7 +74,6 @@ namespace Google.Protobuf.TestProtos {
public
const
int
EFieldNumber
=
1
;
public
const
int
EFieldNumber
=
1
;
private
int
e_
;
private
int
e_
;
[
pbr
::
ProtobufField
(
1
,
"e"
)]
public
int
E
{
public
int
E
{
get
{
return
e_
;
}
get
{
return
e_
;
}
set
{
set
{
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
View file @
47bf49b9
This diff is collapsed.
Click to expand it.
csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
View file @
47bf49b9
This diff is collapsed.
Click to expand it.
csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
View file @
47bf49b9
This diff is collapsed.
Click to expand it.
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
View file @
47bf49b9
...
@@ -26,10 +26,12 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -26,10 +26,12 @@ namespace Google.Protobuf.WellKnownTypes {
"Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYi"
,
"Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYi"
,
"JgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQksKE2Nv"
,
"JgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQksKE2Nv"
,
"bS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAGgAQGiAgNHUEKqAh5Hb29n"
,
"bS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAGgAQGiAgNHUEKqAh5Hb29n"
,
"bGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw=="
));
"bGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw=="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Any
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Any
),
new
[]{
"TypeUrl"
,
"Value"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -41,8 +43,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -41,8 +43,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
Any
>
_parser
=
new
pb
::
MessageParser
<
Any
>(()
=>
new
Any
());
private
static
readonly
pb
::
MessageParser
<
Any
>
_parser
=
new
pb
::
MessageParser
<
Any
>(()
=>
new
Any
());
public
static
pb
::
MessageParser
<
Any
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Any
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"type_url"
,
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
,
18
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Any
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Any
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -78,7 +78,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -78,7 +78,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
TypeUrlFieldNumber
=
1
;
public
const
int
TypeUrlFieldNumber
=
1
;
private
string
typeUrl_
=
""
;
private
string
typeUrl_
=
""
;
[
pbr
::
ProtobufField
(
1
,
"type_url"
)]
public
string
TypeUrl
{
public
string
TypeUrl
{
get
{
return
typeUrl_
;
}
get
{
return
typeUrl_
;
}
set
{
set
{
...
@@ -89,7 +88,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -89,7 +88,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
2
;
public
const
int
ValueFieldNumber
=
2
;
private
pb
::
ByteString
value_
=
pb
::
ByteString
.
Empty
;
private
pb
::
ByteString
value_
=
pb
::
ByteString
.
Empty
;
[
pbr
::
ProtobufField
(
2
,
"value"
)]
public
pb
::
ByteString
Value
{
public
pb
::
ByteString
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs
View file @
47bf49b9
...
@@ -35,10 +35,13 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -35,10 +35,13 @@ namespace Google.Protobuf.WellKnownTypes {
"ZV9zdHJlYW1pbmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5w"
,
"ZV9zdHJlYW1pbmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5w"
,
"cm90b2J1Zi5PcHRpb25CSAoTY29tLmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJv"
,
"cm90b2J1Zi5PcHRpb25CSAoTY29tLmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJv"
,
"dG9QAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG"
,
"dG9QAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG"
,
"cHJvdG8z"
));
"cHJvdG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
SourceContext
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Type
.
Descriptor
,
},
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
SourceContext
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Type
.
Descriptor
,
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Api
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Api
),
new
[]{
"Name"
,
"Methods"
,
"Options"
,
"Version"
,
"SourceContext"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
),
new
[]{
"Name"
,
"RequestTypeUrl"
,
"RequestStreaming"
,
"ResponseTypeUrl"
,
"ResponseStreaming"
,
"Options"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -50,8 +53,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -50,8 +53,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
Api
>
_parser
=
new
pb
::
MessageParser
<
Api
>(()
=>
new
Api
());
private
static
readonly
pb
::
MessageParser
<
Api
>
_parser
=
new
pb
::
MessageParser
<
Api
>(()
=>
new
Api
());
public
static
pb
::
MessageParser
<
Api
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Api
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"methods"
,
"name"
,
"options"
,
"source_context"
,
"version"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
18
,
10
,
26
,
42
,
34
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Api
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Api
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -93,7 +94,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -93,7 +94,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
NameFieldNumber
=
1
;
public
const
int
NameFieldNumber
=
1
;
private
string
name_
=
""
;
private
string
name_
=
""
;
[
pbr
::
ProtobufField
(
1
,
"name"
)]
public
string
Name
{
public
string
Name
{
get
{
return
name_
;
}
get
{
return
name_
;
}
set
{
set
{
...
@@ -106,7 +106,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -106,7 +106,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
>
_repeated_methods_codec
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
>
_repeated_methods_codec
=
pb
::
FieldCodec
.
ForMessage
(
18
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
.
Parser
);
=
pb
::
FieldCodec
.
ForMessage
(
18
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
.
Parser
);
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
>
methods_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
>();
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
>
methods_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
>();
[
pbr
::
ProtobufField
(
2
,
"methods"
)]
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
>
Methods
{
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
>
Methods
{
get
{
return
methods_
;
}
get
{
return
methods_
;
}
}
}
...
@@ -115,14 +114,12 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -115,14 +114,12 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
_repeated_options_codec
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
_repeated_options_codec
=
pb
::
FieldCodec
.
ForMessage
(
26
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
.
Parser
);
=
pb
::
FieldCodec
.
ForMessage
(
26
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
.
Parser
);
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
options_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>();
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
options_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>();
[
pbr
::
ProtobufField
(
3
,
"options"
)]
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
Options
{
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
Options
{
get
{
return
options_
;
}
get
{
return
options_
;
}
}
}
public
const
int
VersionFieldNumber
=
4
;
public
const
int
VersionFieldNumber
=
4
;
private
string
version_
=
""
;
private
string
version_
=
""
;
[
pbr
::
ProtobufField
(
4
,
"version"
)]
public
string
Version
{
public
string
Version
{
get
{
return
version_
;
}
get
{
return
version_
;
}
set
{
set
{
...
@@ -133,7 +130,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -133,7 +130,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
SourceContextFieldNumber
=
5
;
public
const
int
SourceContextFieldNumber
=
5
;
private
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
sourceContext_
;
private
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
sourceContext_
;
[
pbr
::
ProtobufField
(
5
,
"source_context"
)]
public
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
SourceContext
{
public
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
SourceContext
{
get
{
return
sourceContext_
;
}
get
{
return
sourceContext_
;
}
set
{
set
{
...
@@ -273,8 +269,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -273,8 +269,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
Method
>
_parser
=
new
pb
::
MessageParser
<
Method
>(()
=>
new
Method
());
private
static
readonly
pb
::
MessageParser
<
Method
>
_parser
=
new
pb
::
MessageParser
<
Method
>(()
=>
new
Method
());
public
static
pb
::
MessageParser
<
Method
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Method
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"name"
,
"options"
,
"request_streaming"
,
"request_type_url"
,
"response_streaming"
,
"response_type_url"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
,
50
,
24
,
18
,
40
,
34
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Api
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Api
.
Descriptor
.
MessageTypes
[
1
];
}
}
}
...
@@ -315,7 +309,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -315,7 +309,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
NameFieldNumber
=
1
;
public
const
int
NameFieldNumber
=
1
;
private
string
name_
=
""
;
private
string
name_
=
""
;
[
pbr
::
ProtobufField
(
1
,
"name"
)]
public
string
Name
{
public
string
Name
{
get
{
return
name_
;
}
get
{
return
name_
;
}
set
{
set
{
...
@@ -326,7 +319,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -326,7 +319,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
RequestTypeUrlFieldNumber
=
2
;
public
const
int
RequestTypeUrlFieldNumber
=
2
;
private
string
requestTypeUrl_
=
""
;
private
string
requestTypeUrl_
=
""
;
[
pbr
::
ProtobufField
(
2
,
"request_type_url"
)]
public
string
RequestTypeUrl
{
public
string
RequestTypeUrl
{
get
{
return
requestTypeUrl_
;
}
get
{
return
requestTypeUrl_
;
}
set
{
set
{
...
@@ -337,7 +329,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -337,7 +329,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
RequestStreamingFieldNumber
=
3
;
public
const
int
RequestStreamingFieldNumber
=
3
;
private
bool
requestStreaming_
;
private
bool
requestStreaming_
;
[
pbr
::
ProtobufField
(
3
,
"request_streaming"
)]
public
bool
RequestStreaming
{
public
bool
RequestStreaming
{
get
{
return
requestStreaming_
;
}
get
{
return
requestStreaming_
;
}
set
{
set
{
...
@@ -348,7 +339,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -348,7 +339,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ResponseTypeUrlFieldNumber
=
4
;
public
const
int
ResponseTypeUrlFieldNumber
=
4
;
private
string
responseTypeUrl_
=
""
;
private
string
responseTypeUrl_
=
""
;
[
pbr
::
ProtobufField
(
4
,
"response_type_url"
)]
public
string
ResponseTypeUrl
{
public
string
ResponseTypeUrl
{
get
{
return
responseTypeUrl_
;
}
get
{
return
responseTypeUrl_
;
}
set
{
set
{
...
@@ -359,7 +349,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -359,7 +349,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ResponseStreamingFieldNumber
=
5
;
public
const
int
ResponseStreamingFieldNumber
=
5
;
private
bool
responseStreaming_
;
private
bool
responseStreaming_
;
[
pbr
::
ProtobufField
(
5
,
"response_streaming"
)]
public
bool
ResponseStreaming
{
public
bool
ResponseStreaming
{
get
{
return
responseStreaming_
;
}
get
{
return
responseStreaming_
;
}
set
{
set
{
...
@@ -372,7 +361,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -372,7 +361,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
_repeated_options_codec
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
_repeated_options_codec
=
pb
::
FieldCodec
.
ForMessage
(
50
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
.
Parser
);
=
pb
::
FieldCodec
.
ForMessage
(
50
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
.
Parser
);
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
options_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>();
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
options_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>();
[
pbr
::
ProtobufField
(
6
,
"options"
)]
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
Options
{
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
>
Options
{
get
{
return
options_
;
}
get
{
return
options_
;
}
}
}
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
View file @
47bf49b9
...
@@ -27,10 +27,12 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -27,10 +27,12 @@ namespace Google.Protobuf.WellKnownTypes {
"b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIg"
,
"b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIg"
,
"ASgFQlAKE2NvbS5nb29nbGUucHJvdG9idWZCDUR1cmF0aW9uUHJvdG9QAaAB"
,
"ASgFQlAKE2NvbS5nb29nbGUucHJvdG9idWZCDUR1cmF0aW9uUHJvdG9QAaAB"
,
"AaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJv"
,
"AaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJv"
,
"dG8z"
));
"dG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Duration
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Duration
),
new
[]{
"Seconds"
,
"Nanos"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -42,8 +44,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -42,8 +44,6 @@ namespace Google.Protobuf.WellKnownTypes {
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
());
public
static
pb
::
MessageParser
<
Duration
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Duration
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"nanos"
,
"seconds"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
16
,
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Duration
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Duration
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -79,7 +79,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -79,7 +79,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
SecondsFieldNumber
=
1
;
public
const
int
SecondsFieldNumber
=
1
;
private
long
seconds_
;
private
long
seconds_
;
[
pbr
::
ProtobufField
(
1
,
"seconds"
)]
public
long
Seconds
{
public
long
Seconds
{
get
{
return
seconds_
;
}
get
{
return
seconds_
;
}
set
{
set
{
...
@@ -90,7 +89,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -90,7 +89,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
NanosFieldNumber
=
2
;
public
const
int
NanosFieldNumber
=
2
;
private
int
nanos_
;
private
int
nanos_
;
[
pbr
::
ProtobufField
(
2
,
"nanos"
)]
public
int
Nanos
{
public
int
Nanos
{
get
{
return
nanos_
;
}
get
{
return
nanos_
;
}
set
{
set
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs
View file @
47bf49b9
...
@@ -26,10 +26,12 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -26,10 +26,12 @@ namespace Google.Protobuf.WellKnownTypes {
"Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1"
,
"Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1"
,
"ZiIHCgVFbXB0eUJKChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3Rv"
,
"ZiIHCgVFbXB0eUJKChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3Rv"
,
"UAGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnBy"
,
"UAGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnBy"
,
"b3RvMw=="
));
"b3RvMw=="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Empty
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Empty
),
null
,
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -41,8 +43,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -41,8 +43,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
Empty
>
_parser
=
new
pb
::
MessageParser
<
Empty
>(()
=>
new
Empty
());
private
static
readonly
pb
::
MessageParser
<
Empty
>
_parser
=
new
pb
::
MessageParser
<
Empty
>(()
=>
new
Empty
());
public
static
pb
::
MessageParser
<
Empty
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Empty
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Empty
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Empty
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
...
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs
View file @
47bf49b9
...
@@ -26,10 +26,12 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -26,10 +26,12 @@ namespace Google.Protobuf.WellKnownTypes {
"CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnBy"
,
"CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnBy"
,
"b3RvYnVmIhoKCUZpZWxkTWFzaxINCgVwYXRocxgBIAMoCUJOChNjb20uZ29v"
,
"b3RvYnVmIhoKCUZpZWxkTWFzaxINCgVwYXRocxgBIAMoCUJOChNjb20uZ29v"
,
"Z2xlLnByb3RvYnVmQg5GaWVsZE1hc2tQcm90b1ABogIDR1BCqgIeR29vZ2xl"
,
"Z2xlLnByb3RvYnVmQg5GaWVsZE1hc2tQcm90b1ABogIDR1BCqgIeR29vZ2xl"
,
"LlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM="
));
"LlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FieldMask
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FieldMask
),
new
[]{
"Paths"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -41,8 +43,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -41,8 +43,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
FieldMask
>
_parser
=
new
pb
::
MessageParser
<
FieldMask
>(()
=>
new
FieldMask
());
private
static
readonly
pb
::
MessageParser
<
FieldMask
>
_parser
=
new
pb
::
MessageParser
<
FieldMask
>(()
=>
new
FieldMask
());
public
static
pb
::
MessageParser
<
FieldMask
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
FieldMask
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"paths"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
FieldMask
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
FieldMask
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -80,7 +80,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -80,7 +80,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
FieldCodec
<
string
>
_repeated_paths_codec
private
static
readonly
pb
::
FieldCodec
<
string
>
_repeated_paths_codec
=
pb
::
FieldCodec
.
ForString
(
10
);
=
pb
::
FieldCodec
.
ForString
(
10
);
private
readonly
pbc
::
RepeatedField
<
string
>
paths_
=
new
pbc
::
RepeatedField
<
string
>();
private
readonly
pbc
::
RepeatedField
<
string
>
paths_
=
new
pbc
::
RepeatedField
<
string
>();
[
pbr
::
ProtobufField
(
1
,
"paths"
)]
public
pbc
::
RepeatedField
<
string
>
Paths
{
public
pbc
::
RepeatedField
<
string
>
Paths
{
get
{
return
paths_
;
}
get
{
return
paths_
;
}
}
}
...
...
csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs
View file @
47bf49b9
...
@@ -27,10 +27,12 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -27,10 +27,12 @@ namespace Google.Protobuf.WellKnownTypes {
"ZS5wcm90b2J1ZiIiCg1Tb3VyY2VDb250ZXh0EhEKCWZpbGVfbmFtZRgBIAEo"
,
"ZS5wcm90b2J1ZiIiCg1Tb3VyY2VDb250ZXh0EhEKCWZpbGVfbmFtZRgBIAEo"
,
"CUJSChNjb20uZ29vZ2xlLnByb3RvYnVmQhJTb3VyY2VDb250ZXh0UHJvdG9Q"
,
"CUJSChNjb20uZ29vZ2xlLnByb3RvYnVmQhJTb3VyY2VDb250ZXh0UHJvdG9Q"
,
"AaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJv"
,
"AaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJv"
,
"dG8z"
));
"dG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
),
new
[]{
"FileName"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -42,8 +44,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -42,8 +44,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
SourceContext
>
_parser
=
new
pb
::
MessageParser
<
SourceContext
>(()
=>
new
SourceContext
());
private
static
readonly
pb
::
MessageParser
<
SourceContext
>
_parser
=
new
pb
::
MessageParser
<
SourceContext
>(()
=>
new
SourceContext
());
public
static
pb
::
MessageParser
<
SourceContext
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
SourceContext
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"file_name"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
SourceContext
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
SourceContext
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -78,7 +78,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -78,7 +78,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
FileNameFieldNumber
=
1
;
public
const
int
FileNameFieldNumber
=
1
;
private
string
fileName_
=
""
;
private
string
fileName_
=
""
;
[
pbr
::
ProtobufField
(
1
,
"file_name"
)]
public
string
FileName
{
public
string
FileName
{
get
{
return
fileName_
;
}
get
{
return
fileName_
;
}
set
{
set
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
View file @
47bf49b9
...
@@ -36,10 +36,14 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -36,10 +36,14 @@ namespace Google.Protobuf.WellKnownTypes {
"Lmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9W"
,
"Lmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9W"
,
"QUxVRRAAQk4KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAGg"
,
"QUxVRRAAQk4KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAGg"
,
"AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnBy"
,
"AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnBy"
,
"b3RvMw=="
));
"b3RvMw=="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Struct
),
null
,
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ListValue
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
NullValue
),
});
new
pbr
::
GeneratedCodeInfo
(
new
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
NullValue
),
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Struct
),
new
[]{
"Fields"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
),
new
[]{
"NullValue"
,
"NumberValue"
,
"StringValue"
,
"BoolValue"
,
"StructValue"
,
"ListValue"
},
new
[]{
"Kind"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ListValue
),
new
[]{
"Values"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -58,8 +62,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -58,8 +62,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
Struct
>
_parser
=
new
pb
::
MessageParser
<
Struct
>(()
=>
new
Struct
());
private
static
readonly
pb
::
MessageParser
<
Struct
>
_parser
=
new
pb
::
MessageParser
<
Struct
>(()
=>
new
Struct
());
public
static
pb
::
MessageParser
<
Struct
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Struct
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"fields"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -97,7 +99,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -97,7 +99,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>.
Codec
_map_fields_codec
private
static
readonly
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>.
Codec
_map_fields_codec
=
new
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>.
Codec
(
pb
::
FieldCodec
.
ForString
(
10
),
pb
::
FieldCodec
.
ForMessage
(
18
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
.
Parser
),
10
);
=
new
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>.
Codec
(
pb
::
FieldCodec
.
ForString
(
10
),
pb
::
FieldCodec
.
ForMessage
(
18
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
.
Parser
),
10
);
private
readonly
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
fields_
=
new
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>();
private
readonly
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
fields_
=
new
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>();
[
pbr
::
ProtobufField
(
1
,
"fields"
)]
public
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
Fields
{
public
pbc
::
MapField
<
string
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
Fields
{
get
{
return
fields_
;
}
get
{
return
fields_
;
}
}
}
...
@@ -170,8 +171,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -170,8 +171,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
Value
>
_parser
=
new
pb
::
MessageParser
<
Value
>(()
=>
new
Value
());
private
static
readonly
pb
::
MessageParser
<
Value
>
_parser
=
new
pb
::
MessageParser
<
Value
>(()
=>
new
Value
());
public
static
pb
::
MessageParser
<
Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Value
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"bool_value"
,
"list_value"
,
"null_value"
,
"number_value"
,
"string_value"
,
"struct_value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
32
,
50
,
8
,
17
,
26
,
42
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
1
];
}
}
}
...
@@ -226,7 +225,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -226,7 +225,6 @@ namespace Google.Protobuf.WellKnownTypes {
}
}
public
const
int
NullValueFieldNumber
=
1
;
public
const
int
NullValueFieldNumber
=
1
;
[
pbr
::
ProtobufField
(
1
,
"null_value"
)]
public
global
::
Google
.
Protobuf
.
WellKnownTypes
.
NullValue
NullValue
{
public
global
::
Google
.
Protobuf
.
WellKnownTypes
.
NullValue
NullValue
{
get
{
return
kindCase_
==
KindOneofCase
.
NullValue
?
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
NullValue
)
kind_
:
global
::
Google
.
Protobuf
.
WellKnownTypes
.
NullValue
.
NULL_VALUE
;
}
get
{
return
kindCase_
==
KindOneofCase
.
NullValue
?
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
NullValue
)
kind_
:
global
::
Google
.
Protobuf
.
WellKnownTypes
.
NullValue
.
NULL_VALUE
;
}
set
{
set
{
...
@@ -237,7 +235,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -237,7 +235,6 @@ namespace Google.Protobuf.WellKnownTypes {
}
}
public
const
int
NumberValueFieldNumber
=
2
;
public
const
int
NumberValueFieldNumber
=
2
;
[
pbr
::
ProtobufField
(
2
,
"number_value"
)]
public
double
NumberValue
{
public
double
NumberValue
{
get
{
return
kindCase_
==
KindOneofCase
.
NumberValue
?
(
double
)
kind_
:
0D
;
}
get
{
return
kindCase_
==
KindOneofCase
.
NumberValue
?
(
double
)
kind_
:
0D
;
}
set
{
set
{
...
@@ -248,7 +245,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -248,7 +245,6 @@ namespace Google.Protobuf.WellKnownTypes {
}
}
public
const
int
StringValueFieldNumber
=
3
;
public
const
int
StringValueFieldNumber
=
3
;
[
pbr
::
ProtobufField
(
3
,
"string_value"
)]
public
string
StringValue
{
public
string
StringValue
{
get
{
return
kindCase_
==
KindOneofCase
.
StringValue
?
(
string
)
kind_
:
""
;
}
get
{
return
kindCase_
==
KindOneofCase
.
StringValue
?
(
string
)
kind_
:
""
;
}
set
{
set
{
...
@@ -259,7 +255,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -259,7 +255,6 @@ namespace Google.Protobuf.WellKnownTypes {
}
}
public
const
int
BoolValueFieldNumber
=
4
;
public
const
int
BoolValueFieldNumber
=
4
;
[
pbr
::
ProtobufField
(
4
,
"bool_value"
)]
public
bool
BoolValue
{
public
bool
BoolValue
{
get
{
return
kindCase_
==
KindOneofCase
.
BoolValue
?
(
bool
)
kind_
:
false
;
}
get
{
return
kindCase_
==
KindOneofCase
.
BoolValue
?
(
bool
)
kind_
:
false
;
}
set
{
set
{
...
@@ -270,7 +265,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -270,7 +265,6 @@ namespace Google.Protobuf.WellKnownTypes {
}
}
public
const
int
StructValueFieldNumber
=
5
;
public
const
int
StructValueFieldNumber
=
5
;
[
pbr
::
ProtobufField
(
5
,
"struct_value"
)]
public
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Struct
StructValue
{
public
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Struct
StructValue
{
get
{
return
kindCase_
==
KindOneofCase
.
StructValue
?
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Struct
)
kind_
:
null
;
}
get
{
return
kindCase_
==
KindOneofCase
.
StructValue
?
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Struct
)
kind_
:
null
;
}
set
{
set
{
...
@@ -281,7 +275,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -281,7 +275,6 @@ namespace Google.Protobuf.WellKnownTypes {
}
}
public
const
int
ListValueFieldNumber
=
6
;
public
const
int
ListValueFieldNumber
=
6
;
[
pbr
::
ProtobufField
(
6
,
"list_value"
)]
public
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ListValue
ListValue
{
public
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ListValue
ListValue
{
get
{
return
kindCase_
==
KindOneofCase
.
ListValue
?
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ListValue
)
kind_
:
null
;
}
get
{
return
kindCase_
==
KindOneofCase
.
ListValue
?
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ListValue
)
kind_
:
null
;
}
set
{
set
{
...
@@ -483,8 +476,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -483,8 +476,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
ListValue
>
_parser
=
new
pb
::
MessageParser
<
ListValue
>(()
=>
new
ListValue
());
private
static
readonly
pb
::
MessageParser
<
ListValue
>
_parser
=
new
pb
::
MessageParser
<
ListValue
>(()
=>
new
ListValue
());
public
static
pb
::
MessageParser
<
ListValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
ListValue
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"values"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
2
];
}
}
}
...
@@ -522,7 +513,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -522,7 +513,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
_repeated_values_codec
private
static
readonly
pb
::
FieldCodec
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
_repeated_values_codec
=
pb
::
FieldCodec
.
ForMessage
(
10
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
.
Parser
);
=
pb
::
FieldCodec
.
ForMessage
(
10
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
.
Parser
);
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
values_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>();
private
readonly
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
values_
=
new
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>();
[
pbr
::
ProtobufField
(
1
,
"values"
)]
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
Values
{
public
pbc
::
RepeatedField
<
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
>
Values
{
get
{
return
values_
;
}
get
{
return
values_
;
}
}
}
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs
View file @
47bf49b9
...
@@ -27,10 +27,12 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -27,10 +27,12 @@ namespace Google.Protobuf.WellKnownTypes {
"dG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MY"
,
"dG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MY"
,
"AiABKAVCUQoTY29tLmdvb2dsZS5wcm90b2J1ZkIOVGltZXN0YW1wUHJvdG9Q"
,
"AiABKAVCUQoTY29tLmdvb2dsZS5wcm90b2J1ZkIOVGltZXN0YW1wUHJvdG9Q"
,
"AaABAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG"
,
"AaABAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG"
,
"cHJvdG8z"
));
"cHJvdG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Timestamp
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Timestamp
),
new
[]{
"Seconds"
,
"Nanos"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -42,8 +44,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -42,8 +44,6 @@ namespace Google.Protobuf.WellKnownTypes {
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
());
public
static
pb
::
MessageParser
<
Timestamp
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Timestamp
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"nanos"
,
"seconds"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
16
,
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Timestamp
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Timestamp
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -79,7 +79,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -79,7 +79,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
SecondsFieldNumber
=
1
;
public
const
int
SecondsFieldNumber
=
1
;
private
long
seconds_
;
private
long
seconds_
;
[
pbr
::
ProtobufField
(
1
,
"seconds"
)]
public
long
Seconds
{
public
long
Seconds
{
get
{
return
seconds_
;
}
get
{
return
seconds_
;
}
set
{
set
{
...
@@ -90,7 +89,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -90,7 +89,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
NanosFieldNumber
=
2
;
public
const
int
NanosFieldNumber
=
2
;
private
int
nanos_
;
private
int
nanos_
;
[
pbr
::
ProtobufField
(
2
,
"nanos"
)]
public
int
Nanos
{
public
int
Nanos
{
get
{
return
nanos_
;
}
get
{
return
nanos_
;
}
set
{
set
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Type.cs
View file @
47bf49b9
This diff is collapsed.
Click to expand it.
csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs
View file @
47bf49b9
...
@@ -29,10 +29,20 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -29,10 +29,20 @@ namespace Google.Protobuf.WellKnownTypes {
"DSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUS"
,
"DSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUS"
,
"DQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEJN"
,
"DQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEJN"
,
"ChNjb20uZ29vZ2xlLnByb3RvYnVmQg1XcmFwcGVyc1Byb3RvUAGiAgNHUEKq"
,
"ChNjb20uZ29vZ2xlLnByb3RvYnVmQg1XcmFwcGVyc1Byb3RvUAGiAgNHUEKq"
,
"Ah5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw=="
));
"Ah5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw=="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
FileDescriptor
[]
{
},
new
global
::
System
.
Type
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
DoubleValue
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FloatValue
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Int64Value
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
UInt64Value
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Int32Value
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
UInt32Value
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
BoolValue
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
StringValue
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
BytesValue
),
});
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
DoubleValue
),
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FloatValue
),
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Int64Value
),
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
UInt64Value
),
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Int32Value
),
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
UInt32Value
),
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
BoolValue
),
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
StringValue
),
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
BytesValue
),
new
[]{
"Value"
},
null
,
null
,
null
)
}));
}
}
#
endregion
#
endregion
...
@@ -43,8 +53,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -43,8 +53,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
DoubleValue
>
_parser
=
new
pb
::
MessageParser
<
DoubleValue
>(()
=>
new
DoubleValue
());
private
static
readonly
pb
::
MessageParser
<
DoubleValue
>
_parser
=
new
pb
::
MessageParser
<
DoubleValue
>(()
=>
new
DoubleValue
());
public
static
pb
::
MessageParser
<
DoubleValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
DoubleValue
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
9
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
0
];
}
}
}
...
@@ -79,7 +87,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -79,7 +87,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
double
value_
;
private
double
value_
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
double
Value
{
public
double
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
@@ -163,8 +170,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -163,8 +170,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
FloatValue
>
_parser
=
new
pb
::
MessageParser
<
FloatValue
>(()
=>
new
FloatValue
());
private
static
readonly
pb
::
MessageParser
<
FloatValue
>
_parser
=
new
pb
::
MessageParser
<
FloatValue
>(()
=>
new
FloatValue
());
public
static
pb
::
MessageParser
<
FloatValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
FloatValue
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
13
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
1
];
}
}
}
...
@@ -199,7 +204,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -199,7 +204,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
float
value_
;
private
float
value_
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
float
Value
{
public
float
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
@@ -283,8 +287,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -283,8 +287,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
Int64Value
>
_parser
=
new
pb
::
MessageParser
<
Int64Value
>(()
=>
new
Int64Value
());
private
static
readonly
pb
::
MessageParser
<
Int64Value
>
_parser
=
new
pb
::
MessageParser
<
Int64Value
>(()
=>
new
Int64Value
());
public
static
pb
::
MessageParser
<
Int64Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Int64Value
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
2
];
}
}
}
...
@@ -319,7 +321,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -319,7 +321,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
long
value_
;
private
long
value_
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
long
Value
{
public
long
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
@@ -403,8 +404,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -403,8 +404,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
UInt64Value
>
_parser
=
new
pb
::
MessageParser
<
UInt64Value
>(()
=>
new
UInt64Value
());
private
static
readonly
pb
::
MessageParser
<
UInt64Value
>
_parser
=
new
pb
::
MessageParser
<
UInt64Value
>(()
=>
new
UInt64Value
());
public
static
pb
::
MessageParser
<
UInt64Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
UInt64Value
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
3
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
3
];
}
}
}
...
@@ -439,7 +438,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -439,7 +438,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
ulong
value_
;
private
ulong
value_
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
ulong
Value
{
public
ulong
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
@@ -523,8 +521,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -523,8 +521,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
Int32Value
>
_parser
=
new
pb
::
MessageParser
<
Int32Value
>(()
=>
new
Int32Value
());
private
static
readonly
pb
::
MessageParser
<
Int32Value
>
_parser
=
new
pb
::
MessageParser
<
Int32Value
>(()
=>
new
Int32Value
());
public
static
pb
::
MessageParser
<
Int32Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
Int32Value
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
4
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
4
];
}
}
}
...
@@ -559,7 +555,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -559,7 +555,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
int
value_
;
private
int
value_
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
int
Value
{
public
int
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
@@ -643,8 +638,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -643,8 +638,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
UInt32Value
>
_parser
=
new
pb
::
MessageParser
<
UInt32Value
>(()
=>
new
UInt32Value
());
private
static
readonly
pb
::
MessageParser
<
UInt32Value
>
_parser
=
new
pb
::
MessageParser
<
UInt32Value
>(()
=>
new
UInt32Value
());
public
static
pb
::
MessageParser
<
UInt32Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
UInt32Value
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
5
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
5
];
}
}
}
...
@@ -679,7 +672,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -679,7 +672,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
uint
value_
;
private
uint
value_
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
uint
Value
{
public
uint
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
@@ -763,8 +755,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -763,8 +755,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
BoolValue
>
_parser
=
new
pb
::
MessageParser
<
BoolValue
>(()
=>
new
BoolValue
());
private
static
readonly
pb
::
MessageParser
<
BoolValue
>
_parser
=
new
pb
::
MessageParser
<
BoolValue
>(()
=>
new
BoolValue
());
public
static
pb
::
MessageParser
<
BoolValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
BoolValue
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
6
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
6
];
}
}
}
...
@@ -799,7 +789,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -799,7 +789,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
bool
value_
;
private
bool
value_
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
bool
Value
{
public
bool
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
@@ -883,8 +872,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -883,8 +872,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
StringValue
>
_parser
=
new
pb
::
MessageParser
<
StringValue
>(()
=>
new
StringValue
());
private
static
readonly
pb
::
MessageParser
<
StringValue
>
_parser
=
new
pb
::
MessageParser
<
StringValue
>(()
=>
new
StringValue
());
public
static
pb
::
MessageParser
<
StringValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
StringValue
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
7
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
7
];
}
}
}
...
@@ -919,7 +906,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -919,7 +906,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
string
value_
=
""
;
private
string
value_
=
""
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
string
Value
{
public
string
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
@@ -1003,8 +989,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -1003,8 +989,6 @@ namespace Google.Protobuf.WellKnownTypes {
private
static
readonly
pb
::
MessageParser
<
BytesValue
>
_parser
=
new
pb
::
MessageParser
<
BytesValue
>(()
=>
new
BytesValue
());
private
static
readonly
pb
::
MessageParser
<
BytesValue
>
_parser
=
new
pb
::
MessageParser
<
BytesValue
>(()
=>
new
BytesValue
());
public
static
pb
::
MessageParser
<
BytesValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pb
::
MessageParser
<
BytesValue
>
Parser
{
get
{
return
_parser
;
}
}
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"value"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
public
static
pbr
::
MessageDescriptor
Descriptor
{
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
8
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
8
];
}
}
}
...
@@ -1039,7 +1023,6 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -1039,7 +1023,6 @@ namespace Google.Protobuf.WellKnownTypes {
public
const
int
ValueFieldNumber
=
1
;
public
const
int
ValueFieldNumber
=
1
;
private
pb
::
ByteString
value_
=
pb
::
ByteString
.
Empty
;
private
pb
::
ByteString
value_
=
pb
::
ByteString
.
Empty
;
[
pbr
::
ProtobufField
(
1
,
"value"
)]
public
pb
::
ByteString
Value
{
public
pb
::
ByteString
Value
{
get
{
return
value_
;
}
get
{
return
value_
;
}
set
{
set
{
...
...
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