proto/fixtures/fixtures.proto
raw| 1 | syntax = "proto3"; |
| 2 | |
| 3 | package fixtures; |
| 4 | |
| 5 | option go_package = "github.com/segmentio/encoding/proto/fixtures"; |
| 6 | |
| 7 | message Message { |
| 8 | int64 a = 1; |
| 9 | uint32 b = 2; |
| 10 | uint64 c = 3; |
| 11 | string d = 4; |
| 12 | |
| 13 | sint32 signed_1 = 10; |
| 14 | sint64 signed_2 = 11; |
| 15 | |
| 16 | fixed32 fixed_1 = 20; |
| 17 | fixed64 fixed_2 = 21; |
| 18 | |
| 19 | sfixed32 signed_fixed_1 = 30; |
| 20 | sfixed64 signed_fixed_2 = 31; |
| 21 | |
| 22 | float float32 = 40; |
| 23 | double float64 = 41; |
| 24 | } |