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
eadd4caa
Commit
eadd4caa
authored
Nov 13, 2015
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generated code from previous commit.
parent
2a15051a
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
107 additions
and
105 deletions
+107
-105
Addressbook.cs
csharp/src/AddressBook/Addressbook.cs
+2
-2
Conformance.cs
csharp/src/Google.Protobuf.Conformance/Conformance.cs
+4
-4
DescriptorsTest.cs
...rp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
+3
-1
MapUnittestProto3.cs
.../src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
+7
-7
UnittestImportProto3.cs
...c/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs
+1
-1
UnittestImportPublicProto3.cs
...le.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs
+1
-1
UnittestIssues.cs
csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
+7
-7
UnittestProto3.cs
csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
+33
-33
UnittestWellKnownTypes.cs
...Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
+4
-4
Descriptor.cs
csharp/src/Google.Protobuf/Reflection/Descriptor.cs
+19
-19
Any.cs
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
+1
-1
Api.cs
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs
+3
-3
Duration.cs
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
+1
-1
Empty.cs
csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs
+1
-1
FieldMask.cs
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs
+1
-1
SourceContext.cs
csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs
+1
-1
Struct.cs
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
+3
-3
Timestamp.cs
csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs
+1
-1
Type.cs
csharp/src/Google.Protobuf/WellKnownTypes/Type.cs
+5
-5
Wrappers.cs
csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs
+9
-9
No files found.
csharp/src/AddressBook/Addressbook.cs
View file @
eadd4caa
...
...
@@ -35,8 +35,8 @@ namespace Google.Protobuf.Examples.AddressBook {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
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
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
),
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Parser
,
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
),
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
.
Parser
,
new
[]{
"Number"
,
"Type"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
AddressBook
),
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
AddressBook
.
Parser
,
new
[]{
"People"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf.Conformance/Conformance.cs
View file @
eadd4caa
...
...
@@ -137,11 +137,11 @@ namespace Conformance {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
new
[]
{
typeof
(
global
::
Conformance
.
WireFormat
),
typeof
(
global
::
Conformance
.
ForeignEnum
),
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
ConformanceRequest
),
new
[]{
"ProtobufPayload"
,
"JsonPayload"
,
"RequestedOutputFormat"
},
new
[]{
"Payload"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
ConformanceResponse
),
new
[]{
"ParseError"
,
"RuntimeError"
,
"ProtobufPayload"
,
"JsonPayload"
,
"Skipped"
},
new
[]{
"Result"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
TestAllTypes
),
new
[]{
"OptionalInt32"
,
"OptionalInt64"
,
"OptionalUint32"
,
"OptionalUint64"
,
"OptionalSint32"
,
"OptionalSint64"
,
"OptionalFixed32"
,
"OptionalFixed64"
,
"OptionalSfixed32"
,
"OptionalSfixed64"
,
"OptionalFloat"
,
"OptionalDouble"
,
"OptionalBool"
,
"OptionalString"
,
"OptionalBytes"
,
"OptionalNestedMessage"
,
"OptionalForeignMessage"
,
"OptionalNestedEnum"
,
"OptionalForeignEnum"
,
"OptionalStringPiece"
,
"OptionalCord"
,
"RecursiveMessage"
,
"RepeatedInt32"
,
"RepeatedInt64"
,
"RepeatedUint32"
,
"RepeatedUint64"
,
"RepeatedSint32"
,
"RepeatedSint64"
,
"RepeatedFixed32"
,
"RepeatedFixed64"
,
"RepeatedSfixed32"
,
"RepeatedSfixed64"
,
"RepeatedFloat"
,
"RepeatedDouble"
,
"RepeatedBool"
,
"RepeatedString"
,
"RepeatedBytes"
,
"RepeatedNestedMessage"
,
"RepeatedForeignMessage"
,
"RepeatedNestedEnum"
,
"RepeatedForeignEnum"
,
"RepeatedStringPiece"
,
"RepeatedCord"
,
"MapInt32Int32"
,
"MapInt64Int64"
,
"MapUint32Uint32"
,
"MapUint64Uint64"
,
"MapSint32Sint32"
,
"MapSint64Sint64"
,
"MapFixed32Fixed32"
,
"MapFixed64Fixed64"
,
"MapSfixed32Sfixed32"
,
"MapSfixed64Sfixed64"
,
"MapInt32Float"
,
"MapInt32Double"
,
"MapBoolBool"
,
"MapStringString"
,
"MapStringBytes"
,
"MapStringNestedMessage"
,
"MapStringForeignMessage"
,
"MapStringNestedEnum"
,
"MapStringForeignEnum"
,
"OneofUint32"
,
"OneofNestedMessage"
,
"OneofString"
,
"OneofBytes"
},
new
[]{
"OneofField"
},
new
[]{
typeof
(
global
::
Conformance
.
TestAllTypes
.
Types
.
NestedEnum
)
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
TestAllTypes
.
Types
.
NestedMessage
)
,
new
[]{
"A"
,
"Corecursive"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
ConformanceRequest
),
global
::
Conformance
.
ConformanceRequest
.
Parser
,
new
[]{
"ProtobufPayload"
,
"JsonPayload"
,
"RequestedOutputFormat"
},
new
[]{
"Payload"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
ConformanceResponse
),
global
::
Conformance
.
ConformanceResponse
.
Parser
,
new
[]{
"ParseError"
,
"RuntimeError"
,
"ProtobufPayload"
,
"JsonPayload"
,
"Skipped"
},
new
[]{
"Result"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
TestAllTypes
),
global
::
Conformance
.
TestAllTypes
.
Parser
,
new
[]{
"OptionalInt32"
,
"OptionalInt64"
,
"OptionalUint32"
,
"OptionalUint64"
,
"OptionalSint32"
,
"OptionalSint64"
,
"OptionalFixed32"
,
"OptionalFixed64"
,
"OptionalSfixed32"
,
"OptionalSfixed64"
,
"OptionalFloat"
,
"OptionalDouble"
,
"OptionalBool"
,
"OptionalString"
,
"OptionalBytes"
,
"OptionalNestedMessage"
,
"OptionalForeignMessage"
,
"OptionalNestedEnum"
,
"OptionalForeignEnum"
,
"OptionalStringPiece"
,
"OptionalCord"
,
"RecursiveMessage"
,
"RepeatedInt32"
,
"RepeatedInt64"
,
"RepeatedUint32"
,
"RepeatedUint64"
,
"RepeatedSint32"
,
"RepeatedSint64"
,
"RepeatedFixed32"
,
"RepeatedFixed64"
,
"RepeatedSfixed32"
,
"RepeatedSfixed64"
,
"RepeatedFloat"
,
"RepeatedDouble"
,
"RepeatedBool"
,
"RepeatedString"
,
"RepeatedBytes"
,
"RepeatedNestedMessage"
,
"RepeatedForeignMessage"
,
"RepeatedNestedEnum"
,
"RepeatedForeignEnum"
,
"RepeatedStringPiece"
,
"RepeatedCord"
,
"MapInt32Int32"
,
"MapInt64Int64"
,
"MapUint32Uint32"
,
"MapUint64Uint64"
,
"MapSint32Sint32"
,
"MapSint64Sint64"
,
"MapFixed32Fixed32"
,
"MapFixed64Fixed64"
,
"MapSfixed32Sfixed32"
,
"MapSfixed64Sfixed64"
,
"MapInt32Float"
,
"MapInt32Double"
,
"MapBoolBool"
,
"MapStringString"
,
"MapStringBytes"
,
"MapStringNestedMessage"
,
"MapStringForeignMessage"
,
"MapStringNestedEnum"
,
"MapStringForeignEnum"
,
"OneofUint32"
,
"OneofNestedMessage"
,
"OneofString"
,
"OneofBytes"
},
new
[]{
"OneofField"
},
new
[]{
typeof
(
global
::
Conformance
.
TestAllTypes
.
Types
.
NestedEnum
)
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
TestAllTypes
.
Types
.
NestedMessage
),
global
::
Conformance
.
TestAllTypes
.
Types
.
NestedMessage
.
Parser
,
new
[]{
"A"
,
"Corecursive"
},
null
,
null
,
null
),
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
ForeignMessage
),
new
[]{
"C"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Conformance
.
ForeignMessage
),
global
::
Conformance
.
ForeignMessage
.
Parser
,
new
[]{
"C"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
View file @
eadd4caa
...
...
@@ -64,6 +64,7 @@ namespace Google.Protobuf.Reflection
MessageDescriptor
messageType
=
TestAllTypes
.
Descriptor
;
Assert
.
AreSame
(
typeof
(
TestAllTypes
),
messageType
.
GeneratedType
);
Assert
.
AreSame
(
TestAllTypes
.
Parser
,
messageType
.
Parser
);
Assert
.
AreEqual
(
messageType
,
file
.
MessageTypes
[
0
]);
Assert
.
AreEqual
(
messageType
,
file
.
FindTypeByName
<
MessageDescriptor
>(
"TestAllTypes"
));
Assert
.
Null
(
file
.
FindTypeByName
<
MessageDescriptor
>(
"NoSuchType"
));
...
...
@@ -234,9 +235,10 @@ namespace Google.Protobuf.Reflection
// We should still be able to get at a field...
var
messageDescriptor
=
newDescriptor
.
FindTypeByName
<
MessageDescriptor
>(
"ItemField"
);
var
fieldDescriptor
=
messageDescriptor
.
FindFieldByName
(
"item"
);
// But there shouldn't be an accessor (or a generated type for the message)
// But there shouldn't be an accessor (or a generated type for the message
, or parser
)
Assert
.
IsNull
(
fieldDescriptor
.
Accessor
);
Assert
.
IsNull
(
messageDescriptor
.
GeneratedType
);
Assert
.
IsNull
(
messageDescriptor
.
Parser
);
}
// From TestFieldOrdering:
...
...
csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
View file @
eadd4caa
...
...
@@ -150,13 +150,13 @@ namespace Google.Protobuf.TestProtos {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestProto3Reflection
.
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
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMessageMap
),
new
[]{
"MapInt32Message"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestSameTypeMap
),
new
[]{
"Map1"
,
"Map2"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestArenaMap
),
new
[]{
"MapInt32Int32"
,
"MapInt64Int64"
,
"MapUint32Uint32"
,
"MapUint64Uint64"
,
"MapSint32Sint32"
,
"MapSint64Sint64"
,
"MapFixed32Fixed32"
,
"MapFixed64Fixed64"
,
"MapSfixed32Sfixed32"
,
"MapSfixed64Sfixed64"
,
"MapInt32Float"
,
"MapInt32Double"
,
"MapBoolBool"
,
"MapInt32Enum"
,
"MapInt32ForeignMessage"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MessageContainingEnumCalledType
),
new
[]{
"Type"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MessageContainingEnumCalledType
.
Types
.
Type
)
},
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MessageContainingMapCalledEntry
),
new
[]{
"Entry"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
})
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMap
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestMap
.
Parser
,
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
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestMapSubmessage
.
Parser
,
new
[]{
"TestMap"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMessageMap
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestMessageMap
.
Parser
,
new
[]{
"MapInt32Message"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestSameTypeMap
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestSameTypeMap
.
Parser
,
new
[]{
"Map1"
,
"Map2"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestArenaMap
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestArenaMap
.
Parser
,
new
[]{
"MapInt32Int32"
,
"MapInt64Int64"
,
"MapUint32Uint32"
,
"MapUint64Uint64"
,
"MapSint32Sint32"
,
"MapSint64Sint64"
,
"MapFixed32Fixed32"
,
"MapFixed64Fixed64"
,
"MapSfixed32Sfixed32"
,
"MapSfixed64Sfixed64"
,
"MapInt32Float"
,
"MapInt32Double"
,
"MapBoolBool"
,
"MapInt32Enum"
,
"MapInt32ForeignMessage"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MessageContainingEnumCalledType
),
global
::
Google
.
Protobuf
.
TestProtos
.
MessageContainingEnumCalledType
.
Parser
,
new
[]{
"Type"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MessageContainingEnumCalledType
.
Types
.
Type
)
},
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MessageContainingMapCalledEntry
),
global
::
Google
.
Protobuf
.
TestProtos
.
MessageContainingMapCalledEntry
.
Parser
,
new
[]{
"Entry"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
})
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs
View file @
eadd4caa
...
...
@@ -34,7 +34,7 @@ namespace Google.Protobuf.TestProtos {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3Reflection
.
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
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ImportMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
ImportMessage
.
Parser
,
new
[]{
"D"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs
View file @
eadd4caa
...
...
@@ -30,7 +30,7 @@ namespace Google.Protobuf.TestProtos {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
PublicImportMessage
),
new
[]{
"E"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
PublicImportMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
PublicImportMessage
.
Parser
,
new
[]{
"E"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
View file @
eadd4caa
...
...
@@ -49,13 +49,13 @@ namespace UnitTest.Issues.TestProtos {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
new
[]
{
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
NegativeEnum
),
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
DeprecatedEnum
),
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
),
null
,
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
.
Types
.
NestedOnce
),
null
,
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
.
Types
.
NestedOnce
.
Types
.
NestedTwice
)
,
null
,
null
,
null
,
null
)})}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
NegativeEnumMessage
),
new
[]{
"Value"
,
"Values"
,
"PackedValues"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
DeprecatedChild
),
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
DeprecatedFieldsMessage
),
new
[]{
"PrimitiveValue"
,
"PrimitiveArray"
,
"MessageValue"
,
"MessageArray"
,
"EnumValue"
,
"EnumArray"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
ItemField
),
new
[]{
"Item"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
ReservedNames
),
new
[]{
"Types_"
,
"Descriptor_"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
ReservedNames
.
Types
.
SomeNestedType
)
,
null
,
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
TestJsonFieldOrdering
),
new
[]{
"PlainInt32"
,
"O1String"
,
"O1Int32"
,
"PlainString"
,
"O2Int32"
,
"O2String"
},
new
[]{
"O1"
,
"O2"
},
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
),
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
.
Parser
,
null
,
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
.
Types
.
NestedOnce
),
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
.
Types
.
NestedOnce
.
Parser
,
null
,
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
.
Types
.
NestedOnce
.
Types
.
NestedTwice
),
global
::
UnitTest
.
Issues
.
TestProtos
.
Issue307
.
Types
.
NestedOnce
.
Types
.
NestedTwice
.
Parser
,
null
,
null
,
null
,
null
)})}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
NegativeEnumMessage
),
global
::
UnitTest
.
Issues
.
TestProtos
.
NegativeEnumMessage
.
Parser
,
new
[]{
"Value"
,
"Values"
,
"PackedValues"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
DeprecatedChild
),
global
::
UnitTest
.
Issues
.
TestProtos
.
DeprecatedChild
.
Parser
,
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
DeprecatedFieldsMessage
),
global
::
UnitTest
.
Issues
.
TestProtos
.
DeprecatedFieldsMessage
.
Parser
,
new
[]{
"PrimitiveValue"
,
"PrimitiveArray"
,
"MessageValue"
,
"MessageArray"
,
"EnumValue"
,
"EnumArray"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
ItemField
),
global
::
UnitTest
.
Issues
.
TestProtos
.
ItemField
.
Parser
,
new
[]{
"Item"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
ReservedNames
),
global
::
UnitTest
.
Issues
.
TestProtos
.
ReservedNames
.
Parser
,
new
[]{
"Types_"
,
"Descriptor_"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
ReservedNames
.
Types
.
SomeNestedType
),
global
::
UnitTest
.
Issues
.
TestProtos
.
ReservedNames
.
Types
.
SomeNestedType
.
Parser
,
null
,
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
UnitTest
.
Issues
.
TestProtos
.
TestJsonFieldOrdering
),
global
::
UnitTest
.
Issues
.
TestProtos
.
TestJsonFieldOrdering
.
Parser
,
new
[]{
"PlainInt32"
,
"O1String"
,
"O1Int32"
,
"PlainString"
,
"O2Int32"
,
"O2String"
},
new
[]{
"O1"
,
"O2"
},
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
View file @
eadd4caa
...
...
@@ -153,39 +153,39 @@ namespace Google.Protobuf.TestProtos {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3Reflection
.
Descriptor
,
},
new
pbr
::
GeneratedCodeInfo
(
new
[]
{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ForeignEnum
),
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestEnumWithDupValue
),
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestSparseEnum
),
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestAllTypes
),
new
[]{
"SingleInt32"
,
"SingleInt64"
,
"SingleUint32"
,
"SingleUint64"
,
"SingleSint32"
,
"SingleSint64"
,
"SingleFixed32"
,
"SingleFixed64"
,
"SingleSfixed32"
,
"SingleSfixed64"
,
"SingleFloat"
,
"SingleDouble"
,
"SingleBool"
,
"SingleString"
,
"SingleBytes"
,
"SingleNestedMessage"
,
"SingleForeignMessage"
,
"SingleImportMessage"
,
"SingleNestedEnum"
,
"SingleForeignEnum"
,
"SingleImportEnum"
,
"SinglePublicImportMessage"
,
"RepeatedInt32"
,
"RepeatedInt64"
,
"RepeatedUint32"
,
"RepeatedUint64"
,
"RepeatedSint32"
,
"RepeatedSint64"
,
"RepeatedFixed32"
,
"RepeatedFixed64"
,
"RepeatedSfixed32"
,
"RepeatedSfixed64"
,
"RepeatedFloat"
,
"RepeatedDouble"
,
"RepeatedBool"
,
"RepeatedString"
,
"RepeatedBytes"
,
"RepeatedNestedMessage"
,
"RepeatedForeignMessage"
,
"RepeatedImportMessage"
,
"RepeatedNestedEnum"
,
"RepeatedForeignEnum"
,
"RepeatedImportEnum"
,
"RepeatedPublicImportMessage"
,
"OneofUint32"
,
"OneofNestedMessage"
,
"OneofString"
,
"OneofBytes"
},
new
[]{
"OneofField"
},
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestAllTypes
.
Types
.
NestedEnum
)
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestAllTypes
.
Types
.
NestedMessage
)
,
new
[]{
"Bb"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
NestedTestAllTypes
),
new
[]{
"Child"
,
"Payload"
,
"RepeatedChild"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestDeprecatedFields
),
new
[]{
"DeprecatedInt32"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ForeignMessage
),
new
[]{
"C"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestReservedFields
),
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestForeignNested
),
new
[]{
"ForeignNested"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestReallyLargeTagNumber
),
new
[]{
"A"
,
"Bb"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestRecursiveMessage
),
new
[]{
"A"
,
"I"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMutualRecursionA
),
new
[]{
"Bb"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMutualRecursionB
),
new
[]{
"A"
,
"OptionalInt32"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestCamelCaseFieldNames
),
new
[]{
"PrimitiveField"
,
"StringField"
,
"EnumField"
,
"MessageField"
,
"RepeatedPrimitiveField"
,
"RepeatedStringField"
,
"RepeatedEnumField"
,
"RepeatedMessageField"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestFieldOrderings
),
new
[]{
"MyString"
,
"MyInt"
,
"MyFloat"
,
"SingleNestedMessage"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestFieldOrderings
.
Types
.
NestedMessage
)
,
new
[]{
"Oo"
,
"Bb"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
SparseEnumMessage
),
new
[]{
"SparseEnum"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
OneString
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MoreString
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
OneBytes
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MoreBytes
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
Int32Message
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
Uint32Message
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
Int64Message
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
Uint64Message
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
BoolMessage
),
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestOneof
),
new
[]{
"FooInt"
,
"FooString"
,
"FooMessage"
},
new
[]{
"Foo"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestPackedTypes
),
new
[]{
"PackedInt32"
,
"PackedInt64"
,
"PackedUint32"
,
"PackedUint64"
,
"PackedSint32"
,
"PackedSint64"
,
"PackedFixed32"
,
"PackedFixed64"
,
"PackedSfixed32"
,
"PackedSfixed64"
,
"PackedFloat"
,
"PackedDouble"
,
"PackedBool"
,
"PackedEnum"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestUnpackedTypes
),
new
[]{
"UnpackedInt32"
,
"UnpackedInt64"
,
"UnpackedUint32"
,
"UnpackedUint64"
,
"UnpackedSint32"
,
"UnpackedSint64"
,
"UnpackedFixed32"
,
"UnpackedFixed64"
,
"UnpackedSfixed32"
,
"UnpackedSfixed64"
,
"UnpackedFloat"
,
"UnpackedDouble"
,
"UnpackedBool"
,
"UnpackedEnum"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestRepeatedScalarDifferentTagSizes
),
new
[]{
"RepeatedFixed32"
,
"RepeatedInt32"
,
"RepeatedFixed64"
,
"RepeatedInt64"
,
"RepeatedFloat"
,
"RepeatedUint64"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestCommentInjectionMessage
),
new
[]{
"A"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
FooRequest
),
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
FooResponse
),
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
FooClientMessage
),
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
FooServerMessage
),
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
BarRequest
),
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
BarResponse
),
null
,
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestAllTypes
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestAllTypes
.
Parser
,
new
[]{
"SingleInt32"
,
"SingleInt64"
,
"SingleUint32"
,
"SingleUint64"
,
"SingleSint32"
,
"SingleSint64"
,
"SingleFixed32"
,
"SingleFixed64"
,
"SingleSfixed32"
,
"SingleSfixed64"
,
"SingleFloat"
,
"SingleDouble"
,
"SingleBool"
,
"SingleString"
,
"SingleBytes"
,
"SingleNestedMessage"
,
"SingleForeignMessage"
,
"SingleImportMessage"
,
"SingleNestedEnum"
,
"SingleForeignEnum"
,
"SingleImportEnum"
,
"SinglePublicImportMessage"
,
"RepeatedInt32"
,
"RepeatedInt64"
,
"RepeatedUint32"
,
"RepeatedUint64"
,
"RepeatedSint32"
,
"RepeatedSint64"
,
"RepeatedFixed32"
,
"RepeatedFixed64"
,
"RepeatedSfixed32"
,
"RepeatedSfixed64"
,
"RepeatedFloat"
,
"RepeatedDouble"
,
"RepeatedBool"
,
"RepeatedString"
,
"RepeatedBytes"
,
"RepeatedNestedMessage"
,
"RepeatedForeignMessage"
,
"RepeatedImportMessage"
,
"RepeatedNestedEnum"
,
"RepeatedForeignEnum"
,
"RepeatedImportEnum"
,
"RepeatedPublicImportMessage"
,
"OneofUint32"
,
"OneofNestedMessage"
,
"OneofString"
,
"OneofBytes"
},
new
[]{
"OneofField"
},
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestAllTypes
.
Types
.
NestedEnum
)
},
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestAllTypes
.
Types
.
NestedMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestAllTypes
.
Types
.
NestedMessage
.
Parser
,
new
[]{
"Bb"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
NestedTestAllTypes
),
global
::
Google
.
Protobuf
.
TestProtos
.
NestedTestAllTypes
.
Parser
,
new
[]{
"Child"
,
"Payload"
,
"RepeatedChild"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestDeprecatedFields
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestDeprecatedFields
.
Parser
,
new
[]{
"DeprecatedInt32"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ForeignMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
ForeignMessage
.
Parser
,
new
[]{
"C"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestReservedFields
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestReservedFields
.
Parser
,
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestForeignNested
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestForeignNested
.
Parser
,
new
[]{
"ForeignNested"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestReallyLargeTagNumber
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestReallyLargeTagNumber
.
Parser
,
new
[]{
"A"
,
"Bb"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestRecursiveMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestRecursiveMessage
.
Parser
,
new
[]{
"A"
,
"I"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMutualRecursionA
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestMutualRecursionA
.
Parser
,
new
[]{
"Bb"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestMutualRecursionB
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestMutualRecursionB
.
Parser
,
new
[]{
"A"
,
"OptionalInt32"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestCamelCaseFieldNames
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestCamelCaseFieldNames
.
Parser
,
new
[]{
"PrimitiveField"
,
"StringField"
,
"EnumField"
,
"MessageField"
,
"RepeatedPrimitiveField"
,
"RepeatedStringField"
,
"RepeatedEnumField"
,
"RepeatedMessageField"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestFieldOrderings
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestFieldOrderings
.
Parser
,
new
[]{
"MyString"
,
"MyInt"
,
"MyFloat"
,
"SingleNestedMessage"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestFieldOrderings
.
Types
.
NestedMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestFieldOrderings
.
Types
.
NestedMessage
.
Parser
,
new
[]{
"Oo"
,
"Bb"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
SparseEnumMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
SparseEnumMessage
.
Parser
,
new
[]{
"SparseEnum"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
OneString
),
global
::
Google
.
Protobuf
.
TestProtos
.
OneString
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MoreString
),
global
::
Google
.
Protobuf
.
TestProtos
.
MoreString
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
OneBytes
),
global
::
Google
.
Protobuf
.
TestProtos
.
OneBytes
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MoreBytes
),
global
::
Google
.
Protobuf
.
TestProtos
.
MoreBytes
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
Int32Message
),
global
::
Google
.
Protobuf
.
TestProtos
.
Int32Message
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
Uint32Message
),
global
::
Google
.
Protobuf
.
TestProtos
.
Uint32Message
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
Int64Message
),
global
::
Google
.
Protobuf
.
TestProtos
.
Int64Message
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
Uint64Message
),
global
::
Google
.
Protobuf
.
TestProtos
.
Uint64Message
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
BoolMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
BoolMessage
.
Parser
,
new
[]{
"Data"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestOneof
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestOneof
.
Parser
,
new
[]{
"FooInt"
,
"FooString"
,
"FooMessage"
},
new
[]{
"Foo"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestPackedTypes
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestPackedTypes
.
Parser
,
new
[]{
"PackedInt32"
,
"PackedInt64"
,
"PackedUint32"
,
"PackedUint64"
,
"PackedSint32"
,
"PackedSint64"
,
"PackedFixed32"
,
"PackedFixed64"
,
"PackedSfixed32"
,
"PackedSfixed64"
,
"PackedFloat"
,
"PackedDouble"
,
"PackedBool"
,
"PackedEnum"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestUnpackedTypes
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestUnpackedTypes
.
Parser
,
new
[]{
"UnpackedInt32"
,
"UnpackedInt64"
,
"UnpackedUint32"
,
"UnpackedUint64"
,
"UnpackedSint32"
,
"UnpackedSint64"
,
"UnpackedFixed32"
,
"UnpackedFixed64"
,
"UnpackedSfixed32"
,
"UnpackedSfixed64"
,
"UnpackedFloat"
,
"UnpackedDouble"
,
"UnpackedBool"
,
"UnpackedEnum"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestRepeatedScalarDifferentTagSizes
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestRepeatedScalarDifferentTagSizes
.
Parser
,
new
[]{
"RepeatedFixed32"
,
"RepeatedInt32"
,
"RepeatedFixed64"
,
"RepeatedInt64"
,
"RepeatedFloat"
,
"RepeatedUint64"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
TestCommentInjectionMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestCommentInjectionMessage
.
Parser
,
new
[]{
"A"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
FooRequest
),
global
::
Google
.
Protobuf
.
TestProtos
.
FooRequest
.
Parser
,
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
FooResponse
),
global
::
Google
.
Protobuf
.
TestProtos
.
FooResponse
.
Parser
,
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
FooClientMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
FooClientMessage
.
Parser
,
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
FooServerMessage
),
global
::
Google
.
Protobuf
.
TestProtos
.
FooServerMessage
.
Parser
,
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
BarRequest
),
global
::
Google
.
Protobuf
.
TestProtos
.
BarRequest
.
Parser
,
null
,
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
BarResponse
),
global
::
Google
.
Protobuf
.
TestProtos
.
BarResponse
.
Parser
,
null
,
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
View file @
eadd4caa
...
...
@@ -162,10 +162,10 @@ namespace Google.Protobuf.TestProtos {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
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
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
OneofWellKnownTypes
),
new
[]{
"AnyField"
,
"ApiField"
,
"DurationField"
,
"EmptyField"
,
"FieldMaskField"
,
"SourceContextField"
,
"StructField"
,
"TimestampField"
,
"TypeField"
,
"DoubleField"
,
"FloatField"
,
"Int64Field"
,
"Uint64Field"
,
"Int32Field"
,
"Uint32Field"
,
"BoolField"
,
"StringField"
,
"BytesField"
},
new
[]{
"OneofField"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MapWellKnownTypes
),
new
[]{
"AnyField"
,
"ApiField"
,
"DurationField"
,
"EmptyField"
,
"FieldMaskField"
,
"SourceContextField"
,
"StructField"
,
"TimestampField"
,
"TypeField"
,
"DoubleField"
,
"FloatField"
,
"Int64Field"
,
"Uint64Field"
,
"Int32Field"
,
"Uint32Field"
,
"BoolField"
,
"StringField"
,
"BytesField"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
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
.
TestWellKnownTypes
),
global
::
Google
.
Protobuf
.
TestProtos
.
TestWellKnownTypes
.
Parser
,
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
),
global
::
Google
.
Protobuf
.
TestProtos
.
RepeatedWellKnownTypes
.
Parser
,
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
.
OneofWellKnownTypes
),
global
::
Google
.
Protobuf
.
TestProtos
.
OneofWellKnownTypes
.
Parser
,
new
[]{
"AnyField"
,
"ApiField"
,
"DurationField"
,
"EmptyField"
,
"FieldMaskField"
,
"SourceContextField"
,
"StructField"
,
"TimestampField"
,
"TypeField"
,
"DoubleField"
,
"FloatField"
,
"Int64Field"
,
"Uint64Field"
,
"Int32Field"
,
"Uint32Field"
,
"BoolField"
,
"StringField"
,
"BytesField"
},
new
[]{
"OneofField"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
MapWellKnownTypes
),
global
::
Google
.
Protobuf
.
TestProtos
.
MapWellKnownTypes
.
Parser
,
new
[]{
"AnyField"
,
"ApiField"
,
"DurationField"
,
"EmptyField"
,
"FieldMaskField"
,
"SourceContextField"
,
"StructField"
,
"TimestampField"
,
"TypeField"
,
"DoubleField"
,
"FloatField"
,
"Int64Field"
,
"Uint64Field"
,
"Int32Field"
,
"Uint32Field"
,
"BoolField"
,
"StringField"
,
"BytesField"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
null
,
})
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/Reflection/Descriptor.cs
View file @
eadd4caa
...
...
@@ -138,25 +138,25 @@ namespace Google.Protobuf.Reflection {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FileDescriptorSet
),
new
[]{
"File"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FileDescriptorProto
),
new
[]{
"Name"
,
"Package"
,
"Dependency"
,
"PublicDependency"
,
"WeakDependency"
,
"MessageType"
,
"EnumType"
,
"Service"
,
"Extension"
,
"Options"
,
"SourceCodeInfo"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
),
new
[]{
"Name"
,
"Field"
,
"Extension"
,
"NestedType"
,
"EnumType"
,
"ExtensionRange"
,
"OneofDecl"
,
"Options"
,
"ReservedRange"
,
"ReservedName"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
.
Types
.
ExtensionRange
)
,
new
[]{
"Start"
,
"End"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
.
Types
.
ReservedRange
),
new
[]{
"Start"
,
"End"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldDescriptorProto
),
new
[]{
"Name"
,
"Number"
,
"Label"
,
"Type"
,
"TypeName"
,
"Extendee"
,
"DefaultValue"
,
"OneofIndex"
,
"JsonName"
,
"Options"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldDescriptorProto
.
Types
.
Type
),
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldDescriptorProto
.
Types
.
Label
)
},
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
OneofDescriptorProto
),
new
[]{
"Name"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
EnumDescriptorProto
),
new
[]{
"Name"
,
"Value"
,
"Options"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
EnumValueDescriptorProto
),
new
[]{
"Name"
,
"Number"
,
"Options"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
ServiceDescriptorProto
),
new
[]{
"Name"
,
"Method"
,
"Options"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
MethodDescriptorProto
),
new
[]{
"Name"
,
"InputType"
,
"OutputType"
,
"Options"
,
"ClientStreaming"
,
"ServerStreaming"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FileOptions
),
new
[]{
"JavaPackage"
,
"JavaOuterClassname"
,
"JavaMultipleFiles"
,
"JavaGenerateEqualsAndHash"
,
"JavaStringCheckUtf8"
,
"OptimizeFor"
,
"GoPackage"
,
"CcGenericServices"
,
"JavaGenericServices"
,
"PyGenericServices"
,
"Deprecated"
,
"CcEnableArenas"
,
"ObjcClassPrefix"
,
"CsharpNamespace"
,
"JavananoUseDeprecatedPackage"
,
"UninterpretedOption"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FileOptions
.
Types
.
OptimizeMode
)
},
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
MessageOptions
),
new
[]{
"MessageSetWireFormat"
,
"NoStandardDescriptorAccessor"
,
"Deprecated"
,
"MapEntry"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldOptions
),
new
[]{
"Ctype"
,
"Packed"
,
"Jstype"
,
"Lazy"
,
"Deprecated"
,
"Weak"
,
"UninterpretedOption"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldOptions
.
Types
.
CType
),
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldOptions
.
Types
.
JSType
)
},
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
EnumOptions
),
new
[]{
"AllowAlias"
,
"Deprecated"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
EnumValueOptions
),
new
[]{
"Deprecated"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
ServiceOptions
),
new
[]{
"Deprecated"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
MethodOptions
),
new
[]{
"Deprecated"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
UninterpretedOption
),
new
[]{
"Name"
,
"IdentifierValue"
,
"PositiveIntValue"
,
"NegativeIntValue"
,
"DoubleValue"
,
"StringValue"
,
"AggregateValue"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
UninterpretedOption
.
Types
.
NamePart
)
,
new
[]{
"NamePart_"
,
"IsExtension"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
SourceCodeInfo
),
new
[]{
"Location"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
SourceCodeInfo
.
Types
.
Location
)
,
new
[]{
"Path"
,
"Span"
,
"LeadingComments"
,
"TrailingComments"
,
"LeadingDetachedComments"
},
null
,
null
,
null
)})
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FileDescriptorSet
),
global
::
Google
.
Protobuf
.
Reflection
.
FileDescriptorSet
.
Parser
,
new
[]{
"File"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FileDescriptorProto
),
global
::
Google
.
Protobuf
.
Reflection
.
FileDescriptorProto
.
Parser
,
new
[]{
"Name"
,
"Package"
,
"Dependency"
,
"PublicDependency"
,
"WeakDependency"
,
"MessageType"
,
"EnumType"
,
"Service"
,
"Extension"
,
"Options"
,
"SourceCodeInfo"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
),
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
.
Parser
,
new
[]{
"Name"
,
"Field"
,
"Extension"
,
"NestedType"
,
"EnumType"
,
"ExtensionRange"
,
"OneofDecl"
,
"Options"
,
"ReservedRange"
,
"ReservedName"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
.
Types
.
ExtensionRange
),
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
.
Types
.
ExtensionRange
.
Parser
,
new
[]{
"Start"
,
"End"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
.
Types
.
ReservedRange
),
global
::
Google
.
Protobuf
.
Reflection
.
DescriptorProto
.
Types
.
ReservedRange
.
Parser
,
new
[]{
"Start"
,
"End"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldDescriptorProto
),
global
::
Google
.
Protobuf
.
Reflection
.
FieldDescriptorProto
.
Parser
,
new
[]{
"Name"
,
"Number"
,
"Label"
,
"Type"
,
"TypeName"
,
"Extendee"
,
"DefaultValue"
,
"OneofIndex"
,
"JsonName"
,
"Options"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldDescriptorProto
.
Types
.
Type
),
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldDescriptorProto
.
Types
.
Label
)
},
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
OneofDescriptorProto
),
global
::
Google
.
Protobuf
.
Reflection
.
OneofDescriptorProto
.
Parser
,
new
[]{
"Name"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
EnumDescriptorProto
),
global
::
Google
.
Protobuf
.
Reflection
.
EnumDescriptorProto
.
Parser
,
new
[]{
"Name"
,
"Value"
,
"Options"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
EnumValueDescriptorProto
),
global
::
Google
.
Protobuf
.
Reflection
.
EnumValueDescriptorProto
.
Parser
,
new
[]{
"Name"
,
"Number"
,
"Options"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
ServiceDescriptorProto
),
global
::
Google
.
Protobuf
.
Reflection
.
ServiceDescriptorProto
.
Parser
,
new
[]{
"Name"
,
"Method"
,
"Options"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
MethodDescriptorProto
),
global
::
Google
.
Protobuf
.
Reflection
.
MethodDescriptorProto
.
Parser
,
new
[]{
"Name"
,
"InputType"
,
"OutputType"
,
"Options"
,
"ClientStreaming"
,
"ServerStreaming"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FileOptions
),
global
::
Google
.
Protobuf
.
Reflection
.
FileOptions
.
Parser
,
new
[]{
"JavaPackage"
,
"JavaOuterClassname"
,
"JavaMultipleFiles"
,
"JavaGenerateEqualsAndHash"
,
"JavaStringCheckUtf8"
,
"OptimizeFor"
,
"GoPackage"
,
"CcGenericServices"
,
"JavaGenericServices"
,
"PyGenericServices"
,
"Deprecated"
,
"CcEnableArenas"
,
"ObjcClassPrefix"
,
"CsharpNamespace"
,
"JavananoUseDeprecatedPackage"
,
"UninterpretedOption"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FileOptions
.
Types
.
OptimizeMode
)
},
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
MessageOptions
),
global
::
Google
.
Protobuf
.
Reflection
.
MessageOptions
.
Parser
,
new
[]{
"MessageSetWireFormat"
,
"NoStandardDescriptorAccessor"
,
"Deprecated"
,
"MapEntry"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldOptions
),
global
::
Google
.
Protobuf
.
Reflection
.
FieldOptions
.
Parser
,
new
[]{
"Ctype"
,
"Packed"
,
"Jstype"
,
"Lazy"
,
"Deprecated"
,
"Weak"
,
"UninterpretedOption"
},
null
,
new
[]{
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldOptions
.
Types
.
CType
),
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
FieldOptions
.
Types
.
JSType
)
},
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
EnumOptions
),
global
::
Google
.
Protobuf
.
Reflection
.
EnumOptions
.
Parser
,
new
[]{
"AllowAlias"
,
"Deprecated"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
EnumValueOptions
),
global
::
Google
.
Protobuf
.
Reflection
.
EnumValueOptions
.
Parser
,
new
[]{
"Deprecated"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
ServiceOptions
),
global
::
Google
.
Protobuf
.
Reflection
.
ServiceOptions
.
Parser
,
new
[]{
"Deprecated"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
MethodOptions
),
global
::
Google
.
Protobuf
.
Reflection
.
MethodOptions
.
Parser
,
new
[]{
"Deprecated"
,
"UninterpretedOption"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
UninterpretedOption
),
global
::
Google
.
Protobuf
.
Reflection
.
UninterpretedOption
.
Parser
,
new
[]{
"Name"
,
"IdentifierValue"
,
"PositiveIntValue"
,
"NegativeIntValue"
,
"DoubleValue"
,
"StringValue"
,
"AggregateValue"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
UninterpretedOption
.
Types
.
NamePart
),
global
::
Google
.
Protobuf
.
Reflection
.
UninterpretedOption
.
Types
.
NamePart
.
Parser
,
new
[]{
"NamePart_"
,
"IsExtension"
},
null
,
null
,
null
)}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
SourceCodeInfo
),
global
::
Google
.
Protobuf
.
Reflection
.
SourceCodeInfo
.
Parser
,
new
[]{
"Location"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
Reflection
.
SourceCodeInfo
.
Types
.
Location
),
global
::
Google
.
Protobuf
.
Reflection
.
SourceCodeInfo
.
Types
.
Location
.
Parser
,
new
[]{
"Path"
,
"Span"
,
"LeadingComments"
,
"TrailingComments"
,
"LeadingDetachedComments"
},
null
,
null
,
null
)})
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
View file @
eadd4caa
...
...
@@ -30,7 +30,7 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Any
),
new
[]{
"TypeUrl"
,
"Value"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Any
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Any
.
Parser
,
new
[]{
"TypeUrl"
,
"Value"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs
View file @
eadd4caa
...
...
@@ -42,9 +42,9 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
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
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Mixin
),
new
[]{
"Name"
,
"Root"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Api
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Api
.
Parser
,
new
[]{
"Name"
,
"Methods"
,
"Options"
,
"Version"
,
"SourceContext"
,
"Mixins"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Method
.
Parser
,
new
[]{
"Name"
,
"RequestTypeUrl"
,
"RequestStreaming"
,
"ResponseTypeUrl"
,
"ResponseStreaming"
,
"Options"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Mixin
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Mixin
.
Parser
,
new
[]{
"Name"
,
"Root"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
View file @
eadd4caa
...
...
@@ -31,7 +31,7 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Duration
),
new
[]{
"Seconds"
,
"Nanos"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Duration
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Duration
.
Parser
,
new
[]{
"Seconds"
,
"Nanos"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs
View file @
eadd4caa
...
...
@@ -30,7 +30,7 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Empty
),
null
,
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Empty
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Empty
.
Parser
,
null
,
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs
View file @
eadd4caa
...
...
@@ -30,7 +30,7 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FieldMask
),
new
[]{
"Paths"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FieldMask
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FieldMask
.
Parser
,
new
[]{
"Paths"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs
View file @
eadd4caa
...
...
@@ -31,7 +31,7 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
),
new
[]{
"FileName"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
SourceContext
.
Parser
,
new
[]{
"FileName"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
View file @
eadd4caa
...
...
@@ -40,9 +40,9 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
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
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Struct
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Struct
.
Parser
,
new
[]{
"Fields"
},
null
,
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
null
,
}),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Value
.
Parser
,
new
[]{
"NullValue"
,
"NumberValue"
,
"StringValue"
,
"BoolValue"
,
"StructValue"
,
"ListValue"
},
new
[]{
"Kind"
},
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ListValue
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
ListValue
.
Parser
,
new
[]{
"Values"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs
View file @
eadd4caa
...
...
@@ -31,7 +31,7 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
new
pbr
::
GeneratedCodeInfo
(
null
,
new
pbr
::
GeneratedCodeInfo
[]
{
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Timestamp
),
new
[]{
"Seconds"
,
"Nanos"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Timestamp
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Timestamp
.
Parser
,
new
[]{
"Seconds"
,
"Nanos"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Type.cs
View file @
eadd4caa
...
...
@@ -60,11 +60,11 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
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
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Enum
),
new
[]{
"Name"
,
"Enumvalue"
,
"Options"
,
"SourceContext"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
EnumValue
),
new
[]{
"Name"
,
"Number"
,
"Options"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
),
new
[]{
"Name"
,
"Value"
},
null
,
null
,
null
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Type
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Type
.
Parser
,
new
[]{
"Name"
,
"Fields"
,
"Oneofs"
,
"Options"
,
"SourceContext"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Field
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Field
.
Parser
,
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
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Enum
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Enum
.
Parser
,
new
[]{
"Name"
,
"Enumvalue"
,
"Options"
,
"SourceContext"
,
"Syntax"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
EnumValue
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
EnumValue
.
Parser
,
new
[]{
"Name"
,
"Number"
,
"Options"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Option
.
Parser
,
new
[]{
"Name"
,
"Value"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs
View file @
eadd4caa
...
...
@@ -35,15 +35,15 @@ namespace Google.Protobuf.WellKnownTypes {
descriptor
=
pbr
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbr
::
FileDescriptor
[]
{
},
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
)
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
DoubleValue
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
DoubleValue
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FloatValue
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
FloatValue
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Int64Value
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Int64Value
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
UInt64Value
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
UInt64Value
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Int32Value
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
Int32Value
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
UInt32Value
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
UInt32Value
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
BoolValue
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
BoolValue
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
StringValue
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
StringValue
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
),
new
pbr
::
GeneratedCodeInfo
(
typeof
(
global
::
Google
.
Protobuf
.
WellKnownTypes
.
BytesValue
),
global
::
Google
.
Protobuf
.
WellKnownTypes
.
BytesValue
.
Parser
,
new
[]{
"Value"
},
null
,
null
,
null
)
}));
}
#
endregion
...
...
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