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
462d569e
Commit
462d569e
authored
Jul 01, 2015
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to generated code due to previous commit.
parent
78ea98f5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
55 deletions
+36
-55
Addressbook.cs
csharp/src/AddressBook/Addressbook.cs
+20
-29
MapUnittestProto3.cs
.../src/ProtocolBuffers.Test/TestProtos/MapUnittestProto3.cs
+0
-0
UnittestImportProto3.cs
...c/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs
+8
-13
UnittestImportPublicProto3.cs
...ocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
+8
-13
UnittestIssues.cs
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
+0
-0
UnittestProto3.cs
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestProto3.cs
+0
-0
DescriptorProtoFile.cs
...c/ProtocolBuffers/DescriptorProtos/DescriptorProtoFile.cs
+0
-0
No files found.
csharp/src/AddressBook/Addressbook.cs
View file @
462d569e
...
@@ -13,12 +13,9 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -13,12 +13,9 @@ namespace Google.Protobuf.Examples.AddressBook {
public
static
partial
class
Addressbook
{
public
static
partial
class
Addressbook
{
#
region
Static
variables
#
region
Static
variables
internal
static
pbd
::
MessageDescriptor
internal__static_tutorial_Person__Descriptor
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
internal__static_tutorial_Person__FieldAccessorTable
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>
internal__static_tutorial_Person__FieldAccessorTable
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable
;
internal
static
pbd
::
MessageDescriptor
internal__static_tutorial_Person_PhoneNumber__Descriptor
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
internal__static_tutorial_AddressBook__FieldAccessorTable
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>
internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable
;
internal
static
pbd
::
MessageDescriptor
internal__static_tutorial_AddressBook__Descriptor
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
AddressBook
>
internal__static_tutorial_AddressBook__FieldAccessorTable
;
#
endregion
#
endregion
#
region
Descriptor
#
region
Descriptor
public
static
pbd
::
FileDescriptor
Descriptor
{
public
static
pbd
::
FileDescriptor
Descriptor
{
...
@@ -38,24 +35,18 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -38,24 +35,18 @@ namespace Google.Protobuf.Examples.AddressBook {
"ZXJzb24YASADKAsyEC50dXRvcmlhbC5QZXJzb25CUAoUY29tLmV4YW1wbGUu"
,
"ZXJzb24YASADKAsyEC50dXRvcmlhbC5QZXJzb25CUAoUY29tLmV4YW1wbGUu"
,
"dHV0b3JpYWxCEUFkZHJlc3NCb29rUHJvdG9zqgIkR29vZ2xlLlByb3RvYnVm"
,
"dHV0b3JpYWxCEUFkZHJlc3NCb29rUHJvdG9zqgIkR29vZ2xlLlByb3RvYnVm"
,
"LkV4YW1wbGVzLkFkZHJlc3NCb29r"
));
"LkV4YW1wbGVzLkFkZHJlc3NCb29r"
));
pbd
::
FileDescriptor
.
InternalDescriptorAssigner
assigner
=
delegate
(
pbd
::
FileDescriptor
root
)
{
descriptor
=
pbd
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
root
;
internal__static_tutorial_Person__Descriptor
=
Descriptor
.
MessageTypes
[
0
];
internal__static_tutorial_Person__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
>(
internal__static_tutorial_Person__Descriptor
,
new
string
[]
{
"Name"
,
"Id"
,
"Email"
,
"Phone"
,
});
internal__static_tutorial_Person_PhoneNumber__Descriptor
=
internal__static_tutorial_Person__Descriptor
.
NestedTypes
[
0
];
internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
>(
internal__static_tutorial_Person_PhoneNumber__Descriptor
,
new
string
[]
{
"Number"
,
"Type"
,
});
internal__static_tutorial_AddressBook__Descriptor
=
Descriptor
.
MessageTypes
[
1
];
internal__static_tutorial_AddressBook__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
AddressBook
>(
internal__static_tutorial_AddressBook__Descriptor
,
new
string
[]
{
"Person"
,
});
};
pbd
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbd
::
FileDescriptor
[]
{
new
pbd
::
FileDescriptor
[]
{
},
assigner
);
});
internal__static_tutorial_Person__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
(
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
),
descriptor
.
MessageTypes
[
0
],
new
string
[]
{
"Name"
,
"Id"
,
"Email"
,
"Phone"
,
});
internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
(
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Types
.
PhoneNumber
),
descriptor
.
MessageTypes
[
0
].
NestedTypes
[
0
],
new
string
[]
{
"Number"
,
"Type"
,
});
internal__static_tutorial_AddressBook__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
(
typeof
(
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
AddressBook
),
descriptor
.
MessageTypes
[
1
],
new
string
[]
{
"Person"
,
});
}
}
#
endregion
#
endregion
...
@@ -69,10 +60,10 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -69,10 +60,10 @@ namespace Google.Protobuf.Examples.AddressBook {
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"email"
,
"id"
,
"name"
,
"phone"
};
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"email"
,
"id"
,
"name"
,
"phone"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
26
,
16
,
10
,
34
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
26
,
16
,
10
,
34
};
public
static
pbd
::
MessageDescriptor
Descriptor
{
public
static
pbd
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_Person__Descriptor
;
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
Descriptor
.
MessageTypes
[
0
]
;
}
}
}
public
pb
::
FieldAccess
.
FieldAccessorTable
<
Person
>
Fields
{
public
pb
::
FieldAccess
.
FieldAccessorTable
Fields
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_Person__FieldAccessorTable
;
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_Person__FieldAccessorTable
;
}
}
}
...
@@ -260,10 +251,10 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -260,10 +251,10 @@ namespace Google.Protobuf.Examples.AddressBook {
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"number"
,
"type"
};
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"number"
,
"type"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
,
16
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
,
16
};
public
static
pbd
::
MessageDescriptor
Descriptor
{
public
static
pbd
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_Person_PhoneNumber__Descriptor
;
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Person
.
Descriptor
.
NestedTypes
[
0
]
;
}
}
}
public
pb
::
FieldAccess
.
FieldAccessorTable
<
PhoneNumber
>
Fields
{
public
pb
::
FieldAccess
.
FieldAccessorTable
Fields
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable
;
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable
;
}
}
}
...
@@ -403,10 +394,10 @@ namespace Google.Protobuf.Examples.AddressBook {
...
@@ -403,10 +394,10 @@ namespace Google.Protobuf.Examples.AddressBook {
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"person"
};
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"person"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
10
};
public
static
pbd
::
MessageDescriptor
Descriptor
{
public
static
pbd
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_AddressBook__Descriptor
;
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
Descriptor
.
MessageTypes
[
1
]
;
}
}
}
public
pb
::
FieldAccess
.
FieldAccessorTable
<
AddressBook
>
Fields
{
public
pb
::
FieldAccess
.
FieldAccessorTable
Fields
{
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_AddressBook__FieldAccessorTable
;
}
get
{
return
global
::
Google
.
Protobuf
.
Examples
.
AddressBook
.
Addressbook
.
internal__static_tutorial_AddressBook__FieldAccessorTable
;
}
}
}
...
...
csharp/src/ProtocolBuffers.Test/TestProtos/MapUnittestProto3.cs
View file @
462d569e
This diff is collapsed.
Click to expand it.
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs
View file @
462d569e
...
@@ -13,8 +13,7 @@ namespace Google.Protobuf.TestProtos {
...
@@ -13,8 +13,7 @@ namespace Google.Protobuf.TestProtos {
public
static
partial
class
UnittestImportProto3
{
public
static
partial
class
UnittestImportProto3
{
#
region
Static
variables
#
region
Static
variables
internal
static
pbd
::
MessageDescriptor
internal__static_protobuf_unittest_import_ImportMessage__Descriptor
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
TestProtos
.
ImportMessage
>
internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable
;
#
endregion
#
endregion
#
region
Descriptor
#
region
Descriptor
public
static
pbd
::
FileDescriptor
Descriptor
{
public
static
pbd
::
FileDescriptor
Descriptor
{
...
@@ -33,17 +32,13 @@ namespace Google.Protobuf.TestProtos {
...
@@ -33,17 +32,13 @@ namespace Google.Protobuf.TestProtos {
"UhAIEg4KCklNUE9SVF9CQVoQCUI8Chhjb20uZ29vZ2xlLnByb3RvYnVmLnRl"
,
"UhAIEg4KCklNUE9SVF9CQVoQCUI8Chhjb20uZ29vZ2xlLnByb3RvYnVmLnRl"
,
"c3RIAfgBAaoCGkdvb2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zUABiBnByb3Rv"
,
"c3RIAfgBAaoCGkdvb2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zUABiBnByb3Rv"
,
"Mw=="
));
"Mw=="
));
pbd
::
FileDescriptor
.
InternalDescriptorAssigner
assigner
=
delegate
(
pbd
::
FileDescriptor
root
)
{
descriptor
=
pbd
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
root
;
internal__static_protobuf_unittest_import_ImportMessage__Descriptor
=
Descriptor
.
MessageTypes
[
0
];
internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
TestProtos
.
ImportMessage
>(
internal__static_protobuf_unittest_import_ImportMessage__Descriptor
,
new
string
[]
{
"D"
,
});
};
pbd
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbd
::
FileDescriptor
[]
{
new
pbd
::
FileDescriptor
[]
{
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
,
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
,
},
assigner
);
});
internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
ImportMessage
),
descriptor
.
MessageTypes
[
0
],
new
string
[]
{
"D"
,
});
}
}
#
endregion
#
endregion
...
@@ -67,10 +62,10 @@ namespace Google.Protobuf.TestProtos {
...
@@ -67,10 +62,10 @@ namespace Google.Protobuf.TestProtos {
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"d"
};
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"d"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbd
::
MessageDescriptor
Descriptor
{
public
static
pbd
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3
.
internal__static_protobuf_unittest_import_ImportMessage__Descriptor
;
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3
.
Descriptor
.
MessageTypes
[
0
]
;
}
}
}
public
pb
::
FieldAccess
.
FieldAccessorTable
<
ImportMessage
>
Fields
{
public
pb
::
FieldAccess
.
FieldAccessorTable
Fields
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3
.
internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable
;
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportProto3
.
internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable
;
}
}
}
...
...
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
View file @
462d569e
...
@@ -13,8 +13,7 @@ namespace Google.Protobuf.TestProtos {
...
@@ -13,8 +13,7 @@ namespace Google.Protobuf.TestProtos {
public
static
partial
class
UnittestImportPublicProto3
{
public
static
partial
class
UnittestImportPublicProto3
{
#
region
Static
variables
#
region
Static
variables
internal
static
pbd
::
MessageDescriptor
internal__static_protobuf_unittest_import_PublicImportMessage__Descriptor
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable
;
internal
static
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
TestProtos
.
PublicImportMessage
>
internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable
;
#
endregion
#
endregion
#
region
Descriptor
#
region
Descriptor
public
static
pbd
::
FileDescriptor
Descriptor
{
public
static
pbd
::
FileDescriptor
Descriptor
{
...
@@ -29,16 +28,12 @@ namespace Google.Protobuf.TestProtos {
...
@@ -29,16 +28,12 @@ namespace Google.Protobuf.TestProtos {
"bzMucHJvdG8SGHByb3RvYnVmX3VuaXR0ZXN0X2ltcG9ydCIgChNQdWJsaWNJ"
,
"bzMucHJvdG8SGHByb3RvYnVmX3VuaXR0ZXN0X2ltcG9ydCIgChNQdWJsaWNJ"
,
"bXBvcnRNZXNzYWdlEgkKAWUYASABKAVCNwoYY29tLmdvb2dsZS5wcm90b2J1"
,
"bXBvcnRNZXNzYWdlEgkKAWUYASABKAVCNwoYY29tLmdvb2dsZS5wcm90b2J1"
,
"Zi50ZXN0qgIaR29vZ2xlLlByb3RvYnVmLlRlc3RQcm90b3NiBnByb3RvMw=="
));
"Zi50ZXN0qgIaR29vZ2xlLlByb3RvYnVmLlRlc3RQcm90b3NiBnByb3RvMw=="
));
pbd
::
FileDescriptor
.
InternalDescriptorAssigner
assigner
=
delegate
(
pbd
::
FileDescriptor
root
)
{
descriptor
=
pbd
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
descriptor
=
root
;
internal__static_protobuf_unittest_import_PublicImportMessage__Descriptor
=
Descriptor
.
MessageTypes
[
0
];
internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
<
global
::
Google
.
Protobuf
.
TestProtos
.
PublicImportMessage
>(
internal__static_protobuf_unittest_import_PublicImportMessage__Descriptor
,
new
string
[]
{
"E"
,
});
};
pbd
::
FileDescriptor
.
InternalBuildGeneratedFileFrom
(
descriptorData
,
new
pbd
::
FileDescriptor
[]
{
new
pbd
::
FileDescriptor
[]
{
},
assigner
);
});
internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable
=
new
pb
::
FieldAccess
.
FieldAccessorTable
(
typeof
(
global
::
Google
.
Protobuf
.
TestProtos
.
PublicImportMessage
),
descriptor
.
MessageTypes
[
0
],
new
string
[]
{
"E"
,
});
}
}
#
endregion
#
endregion
...
@@ -52,10 +47,10 @@ namespace Google.Protobuf.TestProtos {
...
@@ -52,10 +47,10 @@ namespace Google.Protobuf.TestProtos {
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"e"
};
private
static
readonly
string
[]
_fieldNames
=
new
string
[]
{
"e"
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
private
static
readonly
uint
[]
_fieldTags
=
new
uint
[]
{
8
};
public
static
pbd
::
MessageDescriptor
Descriptor
{
public
static
pbd
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
internal__static_protobuf_unittest_import_PublicImportMessage__Descriptor
;
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
Descriptor
.
MessageTypes
[
0
]
;
}
}
}
public
pb
::
FieldAccess
.
FieldAccessorTable
<
PublicImportMessage
>
Fields
{
public
pb
::
FieldAccess
.
FieldAccessorTable
Fields
{
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable
;
}
get
{
return
global
::
Google
.
Protobuf
.
TestProtos
.
UnittestImportPublicProto3
.
internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable
;
}
}
}
...
...
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
View file @
462d569e
This diff is collapsed.
Click to expand it.
csharp/src/ProtocolBuffers.Test/TestProtos/UnittestProto3.cs
View file @
462d569e
This diff is collapsed.
Click to expand it.
csharp/src/ProtocolBuffers/DescriptorProtos/DescriptorProtoFile.cs
View file @
462d569e
This diff is collapsed.
Click to expand it.
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