Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
666 B
24 lines
666 B
14 years ago
|
// Additional options required for C# generation. File from copyright
|
||
|
// line onwards is as per original distribution.
|
||
|
import "google/protobuf/csharp_options.proto";
|
||
|
option (google.protobuf.csharp_file_options).namespace = "Google.ProtocolBuffers.TestProtos";
|
||
|
option (google.protobuf.csharp_file_options).umbrella_classname = "UnitTestExtrasLiteProtoFile";
|
||
|
|
||
|
package protobuf_unittest_extra;
|
||
|
|
||
|
option optimize_for = LITE_RUNTIME;
|
||
|
|
||
|
option java_package = "com.google.protobuf";
|
||
|
|
||
|
message TestRequiredLite {
|
||
|
required int32 d = 1;
|
||
|
required ExtraEnum en = 2 [default = DEFAULT];
|
||
|
}
|
||
|
|
||
|
enum ExtraEnum {
|
||
|
DEFAULT = 1;
|
||
|
EXLITE_FOO = 7;
|
||
|
EXLITE_BAR = 8;
|
||
|
EXLITE_BAZ = 9;
|
||
|
}
|