| 1 |
// This proto schema is used for tests in proto.star. |
| 2 |
// Re-generate the binary FileDescriptorSet file by |
| 3 |
// running: |
| 4 |
// |
| 5 |
// % protoc --descriptor_set_out=test.fds test.proto |
| 6 |
// |
| 7 |
// (Requires the "protobuf" brew/apt package, see |
| 8 |
// https://protobuf.dev/installation/) |
| 9 |
edition = "2023"; |
| 10 |
|
| 11 |
package go.starlark.net.testdata; |
| 12 |
|
| 13 |
message Test { |
| 14 |
string string_field = 1; |
| 15 |
int32 int32_field = 2; |
| 16 |
repeated string repeated_field = 3; |
| 17 |
map<string, string> map_field = 4; |
| 18 |
|
| 19 |
extensions 100 to 100; |
| 20 |
} |
| 21 |
|
| 22 |
extend Test { |
| 23 |
string ext_string_field = 100; |
| 24 |
} |