cmd/protoc-gen-go-aip/internal/genaip/testdata/test/toplevelsingleton/testdata.proto
raw| 1 | syntax = "proto3"; |
| 2 | |
| 3 | package test.toplevelsingleton; |
| 4 | |
| 5 | import "google/api/resource.proto"; |
| 6 | |
| 7 | message Config { |
| 8 | option (google.api.resource) = { |
| 9 | type: "test1.testdata/Config" |
| 10 | singular: "config" |
| 11 | plural: "configs" |
| 12 | pattern: "config" |
| 13 | }; |
| 14 | |
| 15 | // The resource name of the config. |
| 16 | string name = 1; |
| 17 | } |