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
b52cf04b
Commit
b52cf04b
authored
Apr 13, 2015
by
Jan Tattermusch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restricted number of csharp options and regenerated descriptor.proto
parent
685ae36c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
44 deletions
+5
-44
descriptor.pb.cc
src/google/protobuf/descriptor.pb.cc
+0
-0
descriptor.pb.h
src/google/protobuf/descriptor.pb.h
+0
-0
descriptor.proto
src/google/protobuf/descriptor.proto
+5
-44
No files found.
src/google/protobuf/descriptor.pb.cc
View file @
b52cf04b
This diff is collapsed.
Click to expand it.
src/google/protobuf/descriptor.pb.h
View file @
b52cf04b
This diff is collapsed.
Click to expand it.
src/google/protobuf/descriptor.proto
View file @
b52cf04b
...
...
@@ -354,55 +354,12 @@ message FileOptions {
// Namespace for generated classes; defaults to the package.
optional
string
csharp_namespace
=
37
;
// Name of the "umbrella" class used for metadata about all
// the messages within this file. Default is based on the name
// of the file.
optional
string
csharp_umbrella_classname
=
38
;
// Whether classes should be public (true) or internal (false)
optional
bool
csharp_public_classes
=
39
[
default
=
true
];
// Whether to generate a single file for everything within the
// .proto file (false), or one file per message (true).
// This option is not currently honored; please log a feature
// request if you really want it.
optional
bool
csharp_multiple_files
=
40
;
// Whether to nest messages within a single umbrella class (true)
// or create the umbrella class as a peer, with messages as
// top-level classes in the namespace (false)
optional
bool
csharp_nest_classes
=
41
;
// Generate appropriate support for Code Contracts
// (Ongoing; support should improve over time)
optional
bool
csharp_code_contracts
=
42
;
// Create subdirectories for namespaces, e.g. namespace "Foo.Bar"
// would generate files within [output directory]/Foo/Bar
optional
bool
csharp_expand_namespace_directories
=
43
;
// Generate attributes indicating non-CLS-compliance
optional
bool
csharp_cls_compliance
=
44
[
default
=
true
];
// Generate messages/builders with the [Serializable] attribute
optional
bool
csharp_add_serializable
=
45
[
default
=
false
];
// Generates a private ctor for Message types
optional
bool
csharp_generate_private_ctor
=
46
[
default
=
true
];
// The extension that should be appended to the umbrella_classname when creating files.
optional
string
csharp_file_extension
=
47
[
default
=
".cs"
];
// A nested namespace for the umbrella class. Helpful for name collisions caused by
// umbrella_classname conflicting with an existing type. This will be automatically
// set to 'Proto' if a collision is detected with types being generated. This value
// is ignored when nest_classes == true
optional
string
csharp_umbrella_namespace
=
48
;
// Used to add the System.Runtime.CompilerServices.CompilerGeneratedAttribute and
// System.CodeDom.Compiler.GeneratedCodeAttribute attributes to generated code.
optional
bool
csharp_generated_code_attributes
=
49
[
default
=
false
];
// The parser stores options it doesn't recognize here. See above.
repeated
UninterpretedOption
uninterpreted_option
=
999
;
...
...
@@ -533,7 +490,11 @@ message FieldOptions {
// For Google-internal migration only. Do not use.
optional
bool
weak
=
10
[
default
=
false
];
// Provides the ability to override the name of the property
// generated for this field. This is applied to all properties
// and methods to do with this field, including HasFoo, FooCount,
// FooList etc.
optional
string
csharp_property_name
=
11
;
// The parser stores options it doesn't recognize here. See above.
repeated
UninterpretedOption
uninterpreted_option
=
999
;
...
...
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