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
284bb452
Commit
284bb452
authored
Nov 05, 2015
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generated code changes and manual changes for previous commit.
parent
61a50b9e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
143 additions
and
168 deletions
+143
-168
Makefile.am
Makefile.am
+1
-1
Addressbook.cs
csharp/src/AddressBook/Addressbook.cs
+4
-4
Conformance.cs
csharp/src/Google.Protobuf.Conformance/Conformance.cs
+6
-6
JsonParserTest.cs
csharp/src/Google.Protobuf.Test/JsonParserTest.cs
+1
-1
DescriptorsTest.cs
...rp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
+14
-13
MapUnittestProto3.cs
.../src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
+10
-10
UnittestImportProto3.cs
...c/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs
+4
-4
UnittestImportPublicProto3.cs
...le.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs
+3
-3
UnittestIssues.cs
csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
+9
-9
UnittestProto3.cs
csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
+0
-0
UnittestWellKnownTypes.cs
...Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
+7
-7
FieldCodec.cs
csharp/src/Google.Protobuf/FieldCodec.cs
+9
-9
Google.Protobuf.csproj
csharp/src/Google.Protobuf/Google.Protobuf.csproj
+1
-1
JsonFormatter.cs
csharp/src/Google.Protobuf/JsonFormatter.cs
+1
-1
JsonParser.cs
csharp/src/Google.Protobuf/JsonParser.cs
+2
-2
Descriptor.cs
csharp/src/Google.Protobuf/Reflection/Descriptor.cs
+20
-20
FileDescriptor.cs
csharp/src/Google.Protobuf/Reflection/FileDescriptor.cs
+2
-1
Any.cs
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
+3
-6
Api.cs
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs
+6
-9
Duration.cs
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
+3
-6
Empty.cs
csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs
+3
-6
FieldMask.cs
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs
+3
-6
SourceContext.cs
csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs
+3
-6
Struct.cs
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
+5
-8
Timestamp.cs
csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs
+3
-6
Type.cs
csharp/src/Google.Protobuf/WellKnownTypes/Type.cs
+8
-11
Wrappers.cs
csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs
+11
-11
WrappersPartial.cs
csharp/src/Google.Protobuf/WellKnownTypes/WrappersPartial.cs
+1
-1
No files found.
Makefile.am
View file @
284bb452
...
...
@@ -130,9 +130,9 @@ csharp_EXTRA_DIST= \
csharp/src/Google.Protobuf/MessageParser.cs
\
csharp/src/Google.Protobuf/Preconditions.cs
\
csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs
\
csharp/src/Google.Protobuf/Reflection/Descriptor.cs
\
csharp/src/Google.Protobuf/Reflection/DescriptorBase.cs
\
csharp/src/Google.Protobuf/Reflection/DescriptorPool.cs
\
csharp/src/Google.Protobuf/Reflection/DescriptorProtoFile.cs
\
csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs
\
csharp/src/Google.Protobuf/Reflection/DescriptorValidationException.cs
\
csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs
\
...
...
csharp/src/AddressBook/Addressbook.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace Google.Protobuf.Examples.AddressBook {
/// <summary>Holder for reflection information generated from addressbook.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Addressbook
{
public
static
partial
class
Addressbook
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for addressbook.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace Google.Protobuf.Examples.AddressBook {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Addressbook
()
{
static
Addressbook
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"ChFhZGRyZXNzYm9vay5wcm90bxIIdHV0b3JpYWwi1QEKBlBlcnNvbhIMCgRu"
,
...
...
@@ -49,7 +49,7 @@ namespace Google.Protobuf.Examples.AddressBook {
public
static
pb
::
MessageParser
<
Person
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -374,7 +374,7 @@ namespace Google.Protobuf.Examples.AddressBook {
public
static
pb
::
MessageParser
<
AddressBook
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
Reflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf.Conformance/Conformance.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace Conformance {
/// <summary>Holder for reflection information generated from conformance.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Conformance
{
public
static
partial
class
Conformance
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for conformance.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace Conformance {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Conformance
()
{
static
Conformance
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"ChFjb25mb3JtYW5jZS5wcm90bxILY29uZm9ybWFuY2UijQEKEkNvbmZvcm1h"
,
...
...
@@ -176,7 +176,7 @@ namespace Conformance {
public
static
pb
::
MessageParser
<
ConformanceRequest
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Conformance
.
Conformance
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Conformance
.
Conformance
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -368,7 +368,7 @@ namespace Conformance {
public
static
pb
::
MessageParser
<
ConformanceResponse
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Conformance
.
Conformance
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Conformance
.
Conformance
Reflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -645,7 +645,7 @@ namespace Conformance {
public
static
pb
::
MessageParser
<
TestAllTypes
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Conformance
.
Conformance
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Conformance
.
Conformance
Reflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -2418,7 +2418,7 @@ namespace Conformance {
public
static
pb
::
MessageParser
<
ForeignMessage
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Conformance
.
Conformance
.
Descriptor
.
MessageTypes
[
3
];
}
get
{
return
global
::
Conformance
.
Conformance
Reflection
.
Descriptor
.
MessageTypes
[
3
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf.Test/JsonParserTest.cs
View file @
284bb452
...
...
@@ -139,7 +139,7 @@ namespace Google.Protobuf
Assert
.
AreEqual
(
expected
,
parsed
);
JsonParser
.
Default
.
Merge
(
parsed
,
json
);
expected
.
Descriptor
.
Fields
[
Wrappers
.
WrapperValueFieldNumber
].
Accessor
.
SetValue
(
expected
,
expectedValue
);
expected
.
Descriptor
.
Fields
[
Wrappers
Reflection
.
WrapperValueFieldNumber
].
Accessor
.
SetValue
(
expected
,
expectedValue
);
Assert
.
AreEqual
(
expected
,
parsed
);
}
...
...
csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
View file @
284bb452
...
...
@@ -46,7 +46,7 @@ namespace Google.Protobuf.Reflection
[
Test
]
public
void
FileDescriptor
()
{
FileDescriptor
file
=
UnittestProto3
.
Descriptor
;
FileDescriptor
file
=
UnittestProto3
Reflection
.
Descriptor
;
Assert
.
AreEqual
(
"google/protobuf/unittest_proto3.proto"
,
file
.
Name
);
Assert
.
AreEqual
(
"protobuf_unittest"
,
file
.
Package
);
...
...
@@ -56,11 +56,11 @@ namespace Google.Protobuf.Reflection
// unittest.proto doesn't have any public imports, but unittest_import.proto does.
Assert
.
AreEqual
(
0
,
file
.
PublicDependencies
.
Count
);
Assert
.
AreEqual
(
1
,
UnittestImportProto3
.
Descriptor
.
PublicDependencies
.
Count
);
Assert
.
AreEqual
(
UnittestImportPublicProto3
.
Descriptor
,
UnittestImportProto3
.
Descriptor
.
PublicDependencies
[
0
]);
Assert
.
AreEqual
(
1
,
UnittestImportProto3
Reflection
.
Descriptor
.
PublicDependencies
.
Count
);
Assert
.
AreEqual
(
UnittestImportPublicProto3
Reflection
.
Descriptor
,
UnittestImportProto3Reflection
.
Descriptor
.
PublicDependencies
[
0
]);
Assert
.
AreEqual
(
1
,
file
.
Dependencies
.
Count
);
Assert
.
AreEqual
(
UnittestImportProto3
.
Descriptor
,
file
.
Dependencies
[
0
]);
Assert
.
AreEqual
(
UnittestImportProto3
Reflection
.
Descriptor
,
file
.
Dependencies
[
0
]);
MessageDescriptor
messageType
=
TestAllTypes
.
Descriptor
;
Assert
.
AreSame
(
typeof
(
TestAllTypes
),
messageType
.
GeneratedType
);
...
...
@@ -76,8 +76,8 @@ namespace Google.Protobuf.Reflection
Assert
.
AreEqual
(
file
.
EnumTypes
[
0
],
file
.
FindTypeByName
<
EnumDescriptor
>(
"ForeignEnum"
));
Assert
.
Null
(
file
.
FindTypeByName
<
EnumDescriptor
>(
"NoSuchType"
));
Assert
.
Null
(
file
.
FindTypeByName
<
EnumDescriptor
>(
"protobuf_unittest.ForeignEnum"
));
Assert
.
AreEqual
(
1
,
UnittestImportProto3
.
Descriptor
.
EnumTypes
.
Count
);
Assert
.
AreEqual
(
"ImportEnum"
,
UnittestImportProto3
.
Descriptor
.
EnumTypes
[
0
].
Name
);
Assert
.
AreEqual
(
1
,
UnittestImportProto3
Reflection
.
Descriptor
.
EnumTypes
.
Count
);
Assert
.
AreEqual
(
"ImportEnum"
,
UnittestImportProto3
Reflection
.
Descriptor
.
EnumTypes
[
0
].
Name
);
for
(
int
i
=
0
;
i
<
file
.
EnumTypes
.
Count
;
i
++)
{
Assert
.
AreEqual
(
i
,
file
.
EnumTypes
[
i
].
Index
);
...
...
@@ -94,7 +94,7 @@ namespace Google.Protobuf.Reflection
Assert
.
AreEqual
(
"TestAllTypes"
,
messageType
.
Name
);
Assert
.
AreEqual
(
"protobuf_unittest.TestAllTypes"
,
messageType
.
FullName
);
Assert
.
AreEqual
(
UnittestProto3
.
Descriptor
,
messageType
.
File
);
Assert
.
AreEqual
(
UnittestProto3
Reflection
.
Descriptor
,
messageType
.
File
);
Assert
.
IsNull
(
messageType
.
ContainingType
);
Assert
.
IsNull
(
messageType
.
Proto
.
Options
);
...
...
@@ -102,7 +102,7 @@ namespace Google.Protobuf.Reflection
Assert
.
AreEqual
(
"NestedMessage"
,
nestedType
.
Name
);
Assert
.
AreEqual
(
"protobuf_unittest.TestAllTypes.NestedMessage"
,
nestedType
.
FullName
);
Assert
.
AreEqual
(
UnittestProto3
.
Descriptor
,
nestedType
.
File
);
Assert
.
AreEqual
(
UnittestProto3
Reflection
.
Descriptor
,
nestedType
.
File
);
Assert
.
AreEqual
(
messageType
,
nestedType
.
ContainingType
);
FieldDescriptor
field
=
messageType
.
Fields
.
InDeclarationOrder
()[
0
];
...
...
@@ -146,7 +146,7 @@ namespace Google.Protobuf.Reflection
primitiveField
.
FullName
);
Assert
.
AreEqual
(
1
,
primitiveField
.
FieldNumber
);
Assert
.
AreEqual
(
messageType
,
primitiveField
.
ContainingType
);
Assert
.
AreEqual
(
UnittestProto3
.
Descriptor
,
primitiveField
.
File
);
Assert
.
AreEqual
(
UnittestProto3
Reflection
.
Descriptor
,
primitiveField
.
File
);
Assert
.
AreEqual
(
FieldType
.
Int32
,
primitiveField
.
FieldType
);
Assert
.
IsNull
(
primitiveField
.
Proto
.
Options
);
...
...
@@ -175,19 +175,19 @@ namespace Google.Protobuf.Reflection
public
void
EnumDescriptor
()
{
// Note: this test is a bit different to the Java version because there's no static way of getting to the descriptor
EnumDescriptor
enumType
=
UnittestProto3
.
Descriptor
.
FindTypeByName
<
EnumDescriptor
>(
"ForeignEnum"
);
EnumDescriptor
enumType
=
UnittestProto3
Reflection
.
Descriptor
.
FindTypeByName
<
EnumDescriptor
>(
"ForeignEnum"
);
EnumDescriptor
nestedType
=
TestAllTypes
.
Descriptor
.
FindDescriptor
<
EnumDescriptor
>(
"NestedEnum"
);
Assert
.
AreEqual
(
"ForeignEnum"
,
enumType
.
Name
);
Assert
.
AreEqual
(
"protobuf_unittest.ForeignEnum"
,
enumType
.
FullName
);
Assert
.
AreEqual
(
UnittestProto3
.
Descriptor
,
enumType
.
File
);
Assert
.
AreEqual
(
UnittestProto3
Reflection
.
Descriptor
,
enumType
.
File
);
Assert
.
Null
(
enumType
.
ContainingType
);
Assert
.
Null
(
enumType
.
Proto
.
Options
);
Assert
.
AreEqual
(
"NestedEnum"
,
nestedType
.
Name
);
Assert
.
AreEqual
(
"protobuf_unittest.TestAllTypes.NestedEnum"
,
nestedType
.
FullName
);
Assert
.
AreEqual
(
UnittestProto3
.
Descriptor
,
nestedType
.
File
);
Assert
.
AreEqual
(
UnittestProto3
Reflection
.
Descriptor
,
nestedType
.
File
);
Assert
.
AreEqual
(
TestAllTypes
.
Descriptor
,
nestedType
.
ContainingType
);
EnumValueDescriptor
value
=
enumType
.
FindValueByName
(
"FOREIGN_FOO"
);
...
...
@@ -228,7 +228,7 @@ namespace Google.Protobuf.Reflection
[
Test
]
public
void
ConstructionWithoutGeneratedCodeInfo
()
{
var
data
=
UnittestIssues
.
Descriptor
.
Proto
.
ToByteArray
();
var
data
=
UnittestIssues
Reflection
.
Descriptor
.
Proto
.
ToByteArray
();
var
newDescriptor
=
Google
.
Protobuf
.
Reflection
.
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
data
,
new
Reflection
.
FileDescriptor
[]
{
},
null
);
// We should still be able to get at a field...
...
...
@@ -257,6 +257,7 @@ namespace Google.Protobuf.Reflection
public
void
DescriptorProtoFileDescriptor
()
{
var
descriptor
=
Google
.
Protobuf
.
Reflection
.
FileDescriptor
.
DescriptorProtoFileDescriptor
;
Assert
.
AreEqual
(
"google/protobuf/descriptor.proto"
,
descriptor
.
Name
);
}
}
}
csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace Google.Protobuf.TestProtos {
/// <summary>Holder for reflection information generated from google/protobuf/map_unittest_proto3.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
MapUnittestProto3
{
public
static
partial
class
MapUnittestProto3
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/map_unittest_proto3.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace Google.Protobuf.TestProtos {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
MapUnittestProto3
()
{
static
MapUnittestProto3
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Cilnb29nbGUvcHJvdG9idWYvbWFwX3VuaXR0ZXN0X3Byb3RvMy5wcm90bxIR"
,
...
...
@@ -148,7 +148,7 @@ namespace Google.Protobuf.TestProtos {
"EAoMTUFQX0VOVU1fQkFSEAESEAoMTUFQX0VOVU1fQkFaEAJCIPgBAaoCGkdv"
,
"b2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zYgZwcm90bzM="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestProto3
.
Descriptor
,
},
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestProto3
Reflection
.
Descriptor
,
},
new
pbr
::
GeneratedCodeInfo
(
new
[]
{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MapEnum
),
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMap
),
new
[]{
"MapInt32Int32"
,
"MapInt64Int64"
,
"MapUint32Uint32"
,
"MapUint64Uint64"
,
"MapSint32Sint32"
,
"MapSint64Sint64"
,
"MapFixed32Fixed32"
,
"MapFixed64Fixed64"
,
"MapSfixed32Sfixed32"
,
"MapSfixed64Sfixed64"
,
"MapInt32Float"
,
"MapInt32Double"
,
"MapBoolBool"
,
"MapStringString"
,
"MapInt32Bytes"
,
"MapInt32Enum"
,
"MapInt32ForeignMessage"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMapSubmessage
),
new
[]{
"TestMap"
},
null
,
null
,
null
),
...
...
@@ -181,7 +181,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
TestMap
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -580,7 +580,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
TestMapSubmessage
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
Reflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -689,7 +689,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
TestMessageMap
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
Reflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -787,7 +787,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
TestSameTypeMap
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
.
Descriptor
.
MessageTypes
[
3
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
Reflection
.
Descriptor
.
MessageTypes
[
3
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -901,7 +901,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
TestArenaMap
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
.
Descriptor
.
MessageTypes
[
4
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
Reflection
.
Descriptor
.
MessageTypes
[
4
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1266,7 +1266,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
MessageContainingEnumCalledType
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
.
Descriptor
.
MessageTypes
[
5
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
Reflection
.
Descriptor
.
MessageTypes
[
5
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1375,7 +1375,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
MessageContainingMapCalledEntry
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
.
Descriptor
.
MessageTypes
[
6
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
MapUnittestProto3
Reflection
.
Descriptor
.
MessageTypes
[
6
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace Google.Protobuf.TestProtos {
/// <summary>Holder for reflection information generated from google/protobuf/unittest_import_proto3.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
UnittestImportProto3
{
public
static
partial
class
UnittestImportProto3
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/unittest_import_proto3.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace Google.Protobuf.TestProtos {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
UnittestImportProto3
()
{
static
UnittestImportProto3
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Cixnb29nbGUvcHJvdG9idWYvdW5pdHRlc3RfaW1wb3J0X3Byb3RvMy5wcm90"
,
...
...
@@ -32,7 +32,7 @@ namespace Google.Protobuf.TestProtos {
"c3RIAfgBAaoCGkdvb2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zUABiBnByb3Rv"
,
"Mw=="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
,
},
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
Reflection
.
Descriptor
,
},
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
)
}));
...
...
@@ -57,7 +57,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
ImportMessage
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace Google.Protobuf.TestProtos {
/// <summary>Holder for reflection information generated from google/protobuf/unittest_import_public_proto3.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
UnittestImportPublicProto3
{
public
static
partial
class
UnittestImportPublicProto3
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/unittest_import_public_proto3.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace Google.Protobuf.TestProtos {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
UnittestImportPublicProto3
()
{
static
UnittestImportPublicProto3
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"CjNnb29nbGUvcHJvdG9idWYvdW5pdHRlc3RfaW1wb3J0X3B1YmxpY19wcm90"
,
...
...
@@ -43,7 +43,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
PublicImportMessage
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace UnitTest.Issues.TestProtos {
/// <summary>Holder for reflection information generated from unittest_issues.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
UnittestIssues
{
public
static
partial
class
UnittestIssues
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for unittest_issues.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace UnitTest.Issues.TestProtos {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
UnittestIssues
()
{
static
UnittestIssues
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"ChV1bml0dGVzdF9pc3N1ZXMucHJvdG8SD3VuaXR0ZXN0X2lzc3VlcyInCghJ"
,
...
...
@@ -86,7 +86,7 @@ namespace UnitTest.Issues.TestProtos {
public
static
pb
::
MessageParser
<
Issue307
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -328,7 +328,7 @@ namespace UnitTest.Issues.TestProtos {
public
static
pb
::
MessageParser
<
NegativeEnumMessage
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
Reflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -471,7 +471,7 @@ namespace UnitTest.Issues.TestProtos {
public
static
pb
::
MessageParser
<
DeprecatedChild
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
Reflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -547,7 +547,7 @@ namespace UnitTest.Issues.TestProtos {
public
static
pb
::
MessageParser
<
DeprecatedFieldsMessage
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
.
Descriptor
.
MessageTypes
[
3
];
}
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
Reflection
.
Descriptor
.
MessageTypes
[
3
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -778,7 +778,7 @@ namespace UnitTest.Issues.TestProtos {
public
static
pb
::
MessageParser
<
ItemField
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
.
Descriptor
.
MessageTypes
[
4
];
}
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
Reflection
.
Descriptor
.
MessageTypes
[
4
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -881,7 +881,7 @@ namespace UnitTest.Issues.TestProtos {
public
static
pb
::
MessageParser
<
ReservedNames
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
.
Descriptor
.
MessageTypes
[
5
];
}
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
Reflection
.
Descriptor
.
MessageTypes
[
5
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1109,7 +1109,7 @@ namespace UnitTest.Issues.TestProtos {
public
static
pb
::
MessageParser
<
TestJsonFieldOrdering
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
.
Descriptor
.
MessageTypes
[
6
];
}
get
{
return
global
::
UnitTest
.
Issues
.
TestProtos
.
UnittestIssues
Reflection
.
Descriptor
.
MessageTypes
[
6
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
View file @
284bb452
This diff is collapsed.
Click to expand it.
csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace Google.Protobuf.TestProtos {
/// <summary>Holder for reflection information generated from google/protobuf/unittest_well_known_types.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
UnittestWellKnownTypes
{
public
static
partial
class
UnittestWellKnownTypes
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/unittest_well_known_types.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace Google.Protobuf.TestProtos {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
UnittestWellKnownTypes
()
{
static
UnittestWellKnownTypes
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Ci9nb29nbGUvcHJvdG9idWYvdW5pdHRlc3Rfd2VsbF9rbm93bl90eXBlcy5w"
,
...
...
@@ -160,7 +160,7 @@ namespace Google.Protobuf.TestProtos {
"Lmdvb2dsZS5wcm90b2J1Zi50ZXN0UAGqAhpHb29nbGUuUHJvdG9idWYuVGVz"
,
"dFByb3Rvc2IGcHJvdG8z"
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Any
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Api
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Duration
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Empty
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
FieldMask
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
SourceContext
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Timestamp
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Type
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
,
},
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
AnyReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ApiReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
DurationReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
EmptyReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FieldMaskReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContextReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
StructReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TimestampReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
WrappersReflection
.
Descriptor
,
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestWellKnownTypes
),
new
[]{
"AnyField"
,
"ApiField"
,
"DurationField"
,
"EmptyField"
,
"FieldMaskField"
,
"SourceContextField"
,
"StructField"
,
"TimestampField"
,
"TypeField"
,
"DoubleField"
,
"FloatField"
,
"Int64Field"
,
"Uint64Field"
,
"Int32Field"
,
"Uint32Field"
,
"BoolField"
,
"StringField"
,
"BytesField"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
RepeatedWellKnownTypes
),
new
[]{
"AnyField"
,
"ApiField"
,
"DurationField"
,
"EmptyField"
,
"FieldMaskField"
,
"SourceContextField"
,
"StructField"
,
"TimestampField"
,
"TypeField"
,
"DoubleField"
,
"FloatField"
,
"Int64Field"
,
"Uint64Field"
,
"Int32Field"
,
"Uint32Field"
,
"BoolField"
,
"StringField"
,
"BytesField"
},
null
,
null
,
null
),
...
...
@@ -183,7 +183,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
TestWellKnownTypes
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestWellKnownTypes
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestWellKnownTypes
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -847,7 +847,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
RepeatedWellKnownTypes
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestWellKnownTypes
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestWellKnownTypes
Reflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1268,7 +1268,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
OneofWellKnownTypes
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestWellKnownTypes
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestWellKnownTypes
Reflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1957,7 +1957,7 @@ namespace Google.Protobuf.TestProtos {
public
static
pb
::
MessageParser
<
MapWellKnownTypes
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestWellKnownTypes
.
Descriptor
.
MessageTypes
[
3
];
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestWellKnownTypes
Reflection
.
Descriptor
.
MessageTypes
[
3
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/FieldCodec.cs
View file @
284bb452
...
...
@@ -264,15 +264,15 @@ namespace Google.Protobuf
{
private
static
readonly
Dictionary
<
System
.
Type
,
object
>
Codecs
=
new
Dictionary
<
System
.
Type
,
object
>
{
{
typeof
(
bool
),
ForBool
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
int
),
ForInt32
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
long
),
ForInt64
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
uint
),
ForUInt32
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
ulong
),
ForUInt64
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
float
),
ForFloat
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Fixed32
))
},
{
typeof
(
double
),
ForDouble
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Fixed64
))
},
{
typeof
(
string
),
ForString
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
LengthDelimited
))
},
{
typeof
(
ByteString
),
ForBytes
(
WireFormat
.
MakeTag
(
Wrappers
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
LengthDelimited
))
}
{
typeof
(
bool
),
ForBool
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
int
),
ForInt32
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
long
),
ForInt64
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
uint
),
ForUInt32
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
ulong
),
ForUInt64
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Varint
))
},
{
typeof
(
float
),
ForFloat
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Fixed32
))
},
{
typeof
(
double
),
ForDouble
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
Fixed64
))
},
{
typeof
(
string
),
ForString
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
LengthDelimited
))
},
{
typeof
(
ByteString
),
ForBytes
(
WireFormat
.
MakeTag
(
Wrappers
Reflection
.
WrapperValueFieldNumber
,
WireFormat
.
WireType
.
LengthDelimited
))
}
};
/// <summary>
...
...
csharp/src/Google.Protobuf/Google.Protobuf.csproj
View file @
284bb452
...
...
@@ -95,9 +95,9 @@
<Compile
Include=
"LimitedInputStream.cs"
/>
<Compile
Include=
"MessageParser.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"Reflection\Descriptor.cs"
/>
<Compile
Include=
"Reflection\DescriptorBase.cs"
/>
<Compile
Include=
"Reflection\DescriptorPool.cs"
/>
<Compile
Include=
"Reflection\DescriptorProtoFile.cs"
/>
<Compile
Include=
"Reflection\DescriptorUtil.cs"
/>
<Compile
Include=
"Reflection\DescriptorValidationException.cs"
/>
<Compile
Include=
"Reflection\EnumDescriptor.cs"
/>
...
...
csharp/src/Google.Protobuf/JsonFormatter.cs
View file @
284bb452
...
...
@@ -394,7 +394,7 @@ namespace Google.Protobuf
if
(
value
is
IMessage
)
{
var
message
=
(
IMessage
)
value
;
value
=
message
.
Descriptor
.
Fields
[
Wrappers
.
WrapperValueFieldNumber
].
Accessor
.
GetValue
(
message
);
value
=
message
.
Descriptor
.
Fields
[
Wrappers
Reflection
.
WrapperValueFieldNumber
].
Accessor
.
GetValue
(
message
);
}
WriteValue
(
builder
,
value
);
return
;
...
...
csharp/src/Google.Protobuf/JsonParser.cs
View file @
284bb452
...
...
@@ -92,7 +92,7 @@ namespace Google.Protobuf
// dictionary initialization.
private
static
void
MergeWrapperField
(
JsonParser
parser
,
IMessage
message
,
JsonTokenizer
tokenizer
)
{
parser
.
MergeField
(
message
,
message
.
Descriptor
.
Fields
[
Wrappers
.
WrapperValueFieldNumber
],
tokenizer
);
parser
.
MergeField
(
message
,
message
.
Descriptor
.
Fields
[
Wrappers
Reflection
.
WrapperValueFieldNumber
],
tokenizer
);
}
/// <summary>
...
...
@@ -294,7 +294,7 @@ namespace Google.Protobuf
// TODO: Detect this differently when we have dynamic messages, and put it in one place...
if
(
field
.
MessageType
.
IsWellKnownType
&&
field
.
MessageType
.
File
==
Int32Value
.
Descriptor
.
File
)
{
field
=
field
.
MessageType
.
Fields
[
Wrappers
.
WrapperValueFieldNumber
];
field
=
field
.
MessageType
.
Fields
[
Wrappers
Reflection
.
WrapperValueFieldNumber
];
fieldType
=
field
.
FieldType
;
}
else
...
...
csharp/src/Google.Protobuf/Reflection/Descriptor
ProtoFile
.cs
→
csharp/src/Google.Protobuf/Reflection/Descriptor.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace Google.Protobuf.Reflection {
/// <summary>Holder for reflection information generated from google/protobuf/descriptor.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
internal
static
partial
class
Descriptor
ProtoFile
{
internal
static
partial
class
Descriptor
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/descriptor.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace Google.Protobuf.Reflection {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Descriptor
ProtoFile
()
{
static
Descriptor
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"CiBnb29nbGUvcHJvdG9idWYvZGVzY3JpcHRvci5wcm90bxIPZ29vZ2xlLnBy"
,
...
...
@@ -173,7 +173,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
FileDescriptorSet
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -271,7 +271,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
FileDescriptorProto
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -661,7 +661,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
DescriptorProto
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1234,7 +1234,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
FieldDescriptorProto
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
3
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
3
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1688,7 +1688,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
OneofDescriptorProto
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
4
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
4
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1794,7 +1794,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
EnumDescriptorProto
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
5
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
5
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1952,7 +1952,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
EnumValueDescriptorProto
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
6
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
6
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -2118,7 +2118,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
ServiceDescriptorProto
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
7
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
7
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -2276,7 +2276,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
MethodDescriptorProto
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
8
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
8
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -2530,7 +2530,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
FileOptions
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
9
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
9
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -3141,7 +3141,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
MessageOptions
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
10
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
10
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -3401,7 +3401,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
FieldOptions
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
11
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
11
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -3754,7 +3754,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
EnumOptions
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
12
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
12
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -3916,7 +3916,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
EnumValueOptions
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
13
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
13
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -4047,7 +4047,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
ServiceOptions
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
14
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
14
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -4178,7 +4178,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
MethodOptions
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
15
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
15
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -4317,7 +4317,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
UninterpretedOption
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
16
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
16
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -4726,7 +4726,7 @@ namespace Google.Protobuf.Reflection {
public
static
pb
::
MessageParser
<
SourceCodeInfo
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
ProtoFile
.
Descriptor
.
MessageTypes
[
17
];
}
get
{
return
global
::
Google
.
Protobuf
.
Reflection
.
Descriptor
Reflection
.
Descriptor
.
MessageTypes
[
17
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/Reflection/FileDescriptor.cs
View file @
284bb452
...
...
@@ -383,6 +383,6 @@ namespace Google.Protobuf.Reflection
/// <value>
/// The file descriptor for <c>descriptor.proto</c>.
/// </value>
public
static
FileDescriptor
DescriptorProtoFileDescriptor
{
get
{
return
Descriptor
ProtoFile
.
Descriptor
;
}
}
public
static
FileDescriptor
DescriptorProtoFileDescriptor
{
get
{
return
Descriptor
Reflection
.
Descriptor
;
}
}
}
}
\ No newline at end of file
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/any.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Any
{
public
static
partial
class
AnyReflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/any.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Any
()
{
static
AnyReflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYi"
,
...
...
@@ -38,7 +36,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Messages
/// <summary>
/// `Any` contains an arbitrary serialized message along with a URL
...
...
@@ -78,7 +75,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Any
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Any
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
AnyReflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/api.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Api
{
public
static
partial
class
ApiReflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/api.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Api
()
{
static
ApiReflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Chlnb29nbGUvcHJvdG9idWYvYXBpLnByb3RvEg9nb29nbGUucHJvdG9idWYa"
,
...
...
@@ -42,7 +40,7 @@ namespace Google.Protobuf.WellKnownTypes {
"Lmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJvdG9QAaABAaICA0dQQqoCHkdvb2ds"
,
"ZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z"
));
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
.
SourceContextReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
,
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Api
),
new
[]{
"Name"
,
"Methods"
,
"Options"
,
"Version"
,
"SourceContext"
,
"Mixins"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
),
new
[]{
"Name"
,
"RequestTypeUrl"
,
"RequestStreaming"
,
"ResponseTypeUrl"
,
"ResponseStreaming"
,
"Options"
,
"Syntax"
},
null
,
null
,
null
),
...
...
@@ -52,7 +50,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Messages
/// <summary>
/// Api is a light-weight descriptor for a protocol buffer service.
...
...
@@ -63,7 +60,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Api
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Api
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ApiReflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -355,7 +352,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Method
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Api
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ApiReflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -713,7 +710,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Mixin
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Api
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ApiReflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/duration.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Dura
tion
{
public
static
partial
class
DurationReflec
tion
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/duration.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Dura
tion
()
{
static
DurationReflec
tion
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90"
,
...
...
@@ -39,7 +37,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Messages
/// <summary>
/// A Duration represents a signed, fixed-length span of time represented
...
...
@@ -89,7 +86,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Duration
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Dura
tion
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
DurationReflec
tion
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/empty.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Empty
{
public
static
partial
class
EmptyReflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/empty.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Empty
()
{
static
EmptyReflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1"
,
...
...
@@ -38,7 +36,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Messages
/// <summary>
/// A generic empty message that you can re-use to avoid defining duplicated
...
...
@@ -57,7 +54,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Empty
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Empty
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
EmptyReflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/field_mask.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
FieldMask
{
public
static
partial
class
FieldMaskReflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/field_mask.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
FieldMask
()
{
static
FieldMaskReflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnBy"
,
...
...
@@ -38,7 +36,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Messages
/// <summary>
/// `FieldMask` represents a set of symbolic field paths, for example:
...
...
@@ -169,7 +166,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
FieldMask
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
FieldMask
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FieldMaskReflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/source_context.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
SourceContext
{
public
static
partial
class
SourceContextReflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/source_context.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
SourceContext
()
{
static
SourceContextReflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"CiRnb29nbGUvcHJvdG9idWYvc291cmNlX2NvbnRleHQucHJvdG8SD2dvb2ds"
,
...
...
@@ -39,7 +37,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Messages
/// <summary>
/// `SourceContext` represents information about the source of a
...
...
@@ -51,7 +48,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
SourceContext
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
SourceContext
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContextReflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/struct.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Struct
{
public
static
partial
class
StructReflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/struct.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Struct
()
{
static
StructReflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9i"
,
...
...
@@ -50,7 +48,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Enums
/// <summary>
/// `NullValue` is a singleton enumeration to represent the null value for the
...
...
@@ -84,7 +81,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Struct
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
StructReflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -190,7 +187,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
StructReflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -503,7 +500,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
ListValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Struct
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
StructReflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/timestamp.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Timestamp
{
public
static
partial
class
TimestampReflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/timestamp.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Timestamp
()
{
static
TimestampReflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJv"
,
...
...
@@ -39,7 +37,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Messages
/// <summary>
/// A Timestamp represents a point in time independent of any time zone
...
...
@@ -101,7 +98,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Timestamp
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Timestamp
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TimestampReflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Type.cs
View file @
284bb452
...
...
@@ -9,11 +9,9 @@ using pbr = global::Google.Protobuf.Reflection;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Google.Protobuf.WellKnownTypes
{
namespace
Proto
{
/// <summary>Holder for reflection information generated from google/protobuf/type.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Type
{
public
static
partial
class
TypeReflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/type.proto</summary>
...
...
@@ -22,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Type
()
{
static
TypeReflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Chpnb29nbGUvcHJvdG9idWYvdHlwZS5wcm90bxIPZ29vZ2xlLnByb3RvYnVm"
,
...
...
@@ -60,7 +58,7 @@ namespace Google.Protobuf.WellKnownTypes {
"Y29tLmdvb2dsZS5wcm90b2J1ZkIJVHlwZVByb3RvUAGgAQGiAgNHUEKqAh5H"
,
"b29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw=="
));
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Any
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
SourceContext
.
Descriptor
,
},
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
WellKnownTypes
.
AnyReflection
.
Descriptor
,
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContextReflection
.
Descriptor
,
},
new
pbr
::
GeneratedCodeInfo
(
new
[]
{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Syntax
),
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Type
),
new
[]{
"Name"
,
"Fields"
,
"Oneofs"
,
"Options"
,
"SourceContext"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Field
),
new
[]{
"Kind"
,
"Cardinality"
,
"Number"
,
"Name"
,
"TypeUrl"
,
"OneofIndex"
,
"Packed"
,
"Options"
,
"JsonName"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Field
.
Types
.
Kind
),
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Field
.
Types
.
Cardinality
)
},
null
),
...
...
@@ -72,7 +70,6 @@ namespace Google.Protobuf.WellKnownTypes {
#
endregion
}
}
#
region
Enums
/// <summary>
/// Syntax specifies the syntax in which a service element was defined.
...
...
@@ -100,7 +97,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Type
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Type
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -341,7 +338,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Field
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Type
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -795,7 +792,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Enum
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Type
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1014,7 +1011,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
EnumValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Type
.
Descriptor
.
MessageTypes
[
3
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
.
MessageTypes
[
3
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -1175,7 +1172,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Option
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Proto
.
Type
.
Descriptor
.
MessageTypes
[
4
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
TypeReflection
.
Descriptor
.
MessageTypes
[
4
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs
View file @
284bb452
...
...
@@ -11,7 +11,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// <summary>Holder for reflection information generated from google/protobuf/wrappers.proto</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
public
static
partial
class
Wrappers
{
public
static
partial
class
Wrappers
Reflection
{
#
region
Descriptor
/// <summary>File descriptor for google/protobuf/wrappers.proto</summary>
...
...
@@ -20,7 +20,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
Wrappers
()
{
static
Wrappers
Reflection
()
{
byte
[]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90"
,
...
...
@@ -61,7 +61,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
DoubleValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
0
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
0
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -172,7 +172,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
FloatValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
1
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
1
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -283,7 +283,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Int64Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
2
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
2
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -394,7 +394,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
UInt64Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
3
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
3
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -505,7 +505,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
Int32Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
4
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
4
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -616,7 +616,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
UInt32Value
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
5
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
5
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -727,7 +727,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
BoolValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
6
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
6
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -838,7 +838,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
StringValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
7
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
7
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
@@ -949,7 +949,7 @@ namespace Google.Protobuf.WellKnownTypes {
public
static
pb
::
MessageParser
<
BytesValue
>
Parser
{
get
{
return
_parser
;
}
}
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
.
Descriptor
.
MessageTypes
[
8
];
}
get
{
return
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Wrappers
Reflection
.
Descriptor
.
MessageTypes
[
8
];
}
}
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
...
...
csharp/src/Google.Protobuf/WellKnownTypes/WrappersPartial.cs
View file @
284bb452
...
...
@@ -32,7 +32,7 @@
namespace
Google.Protobuf.WellKnownTypes
{
public
static
partial
class
Wrappers
public
static
partial
class
Wrappers
Reflection
{
/// <summary>
/// Field number for the single "value" field in all wrapper types.
...
...
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