| 1 |
syntax="proto3"; |
| 2 |
package names.types; |
| 3 |
option go_package = "example.com/foo/bar"; |
| 4 |
|
| 5 |
import "google/protobuf/duration.proto"; |
| 6 |
import "google/protobuf/type.proto"; |
| 7 |
|
| 8 |
message Proto3 { |
| 9 |
double double = 1; |
| 10 |
float float = 2; |
| 11 |
int64 int64 = 3; |
| 12 |
sfixed64 sfixed64 = 4; |
| 13 |
sint64 sint64 = 5; |
| 14 |
uint64 uint64 = 6; |
| 15 |
fixed64 fixed64 = 7; |
| 16 |
int32 int32 = 8; |
| 17 |
sfixed32 sfixed32 = 9; |
| 18 |
sint32 sint32 = 10; |
| 19 |
uint32 uint32 = 11; |
| 20 |
fixed32 fixed32 = 12; |
| 21 |
bool bool = 13; |
| 22 |
string string = 14; |
| 23 |
bytes bytes = 15; |
| 24 |
|
| 25 |
Enum enum = 16; |
| 26 |
google.protobuf.Syntax ext_enum = 17; |
| 27 |
Message msg = 18; |
| 28 |
google.protobuf.Duration ext_msg = 19; |
| 29 |
|
| 30 |
repeated double repeated_scalar = 20; |
| 31 |
repeated Enum repeated_enum = 21; |
| 32 |
repeated google.protobuf.Syntax repeated_ext_enum = 22; |
| 33 |
repeated Message repeated_msg = 23; |
| 34 |
repeated google.protobuf.Duration repeated_ext_msg = 24; |
| 35 |
|
| 36 |
map<string, float> map_scalar = 25; |
| 37 |
map<int32, Enum> map_enum = 26; |
| 38 |
map<uint64, google.protobuf.Syntax> map_ext_enum = 27; |
| 39 |
map<fixed32, Message> map_msg = 28; |
| 40 |
map<sfixed64, google.protobuf.Duration> map_ext_msg = 29; |
| 41 |
|
| 42 |
enum Enum {VALUE = 0;} |
| 43 |
|
| 44 |
message Message {} |
| 45 |
} |