From eb9ade434b7679044b72c596708f0a86a87d6c4e Mon Sep 17 00:00:00 2001 From: Phil Kedy Date: Mon, 30 Jun 2025 16:18:20 -0400 Subject: [PATCH] Adding enum name as a prefix to enum values to prevent naming collisions. --- apex.yaml | 2 +- src/proto/proto_visitor.ts | 6 +- testdata/go/expected/proto/service.pb.go | 313 +++++++++--------- testdata/go/expected/proto/service.proto | 150 ++++----- testdata/go/expected/proto/service_grpc.pb.go | 2 +- 5 files changed, 239 insertions(+), 234 deletions(-) diff --git a/apex.yaml b/apex.yaml index e272993..61ea92a 100644 --- a/apex.yaml +++ b/apex.yaml @@ -4,7 +4,7 @@ tasks: cmds: - deno fmt --check src/ test/ - deno lint src/ - - deno check ./**/*.ts + - deno check ./src/**/*.ts - deno test -A --unstable-worker-options --permit-no-files install: description: Install templates diff --git a/src/proto/proto_visitor.ts b/src/proto/proto_visitor.ts index 591b743..d6a4878 100644 --- a/src/proto/proto_visitor.ts +++ b/src/proto/proto_visitor.ts @@ -143,7 +143,11 @@ package ${ns.name};\n\n`); this.write(`enum ${pascalCase(e.name)} {\n`); e.values.forEach((ev) => { this.write(formatComment(" // ", ev.description)); - this.write(` ${snakeCase(ev.name).toUpperCase()} = ${ev.index};\n`); + this.write( + ` ${snakeCase(e.name).toUpperCase()}_${ + snakeCase(ev.name).toUpperCase() + } = ${ev.index};\n`, + ); }); this.write(`}\n\n`); if (!this.valueTypes.has(e.name)) { diff --git a/testdata/go/expected/proto/service.pb.go b/testdata/go/expected/proto/service.pb.go index 6dd1eb7..3e4d33d 100644 --- a/testdata/go/expected/proto/service.pb.go +++ b/testdata/go/expected/proto/service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 -// protoc v4.25.2 +// protoc v5.29.3 // source: proto/service.proto package proto @@ -28,24 +28,24 @@ type MyEnum int32 const ( // ONE value - MyEnum_ONE MyEnum = 0 + MyEnum_MY_ENUM_ONE MyEnum = 0 // TWO value - MyEnum_TWO MyEnum = 1 + MyEnum_MY_ENUM_TWO MyEnum = 1 // THREE value - MyEnum_THREE MyEnum = 2 + MyEnum_MY_ENUM_THREE MyEnum = 2 ) // Enum value maps for MyEnum. var ( MyEnum_name = map[int32]string{ - 0: "ONE", - 1: "TWO", - 2: "THREE", + 0: "MY_ENUM_ONE", + 1: "MY_ENUM_TWO", + 2: "MY_ENUM_THREE", } MyEnum_value = map[string]int32{ - "ONE": 0, - "TWO": 1, - "THREE": 2, + "MY_ENUM_ONE": 0, + "MY_ENUM_TWO": 1, + "MY_ENUM_THREE": 2, } ) @@ -438,14 +438,14 @@ func (x *MyType) GetEnumValue() MyEnum { if x != nil { return x.EnumValue } - return MyEnum_ONE + return MyEnum_MY_ENUM_ONE } func (x *MyType) GetEnumOption() MyEnum { if x != nil && x.EnumOption != nil { return *x.EnumOption } - return MyEnum_ONE + return MyEnum_MY_ENUM_ONE } func (x *MyType) GetAliasValue() string { @@ -594,7 +594,7 @@ func (x *MyUnion) GetMyEnumValue() MyEnum { if x, ok := x.GetValue().(*MyUnion_MyEnumValue); ok { return x.MyEnumValue } - return MyEnum_ONE + return MyEnum_MY_ENUM_ONE } func (x *MyUnion) GetStringValue() string { @@ -670,7 +670,7 @@ func (x *MyEnumValue) GetValue() MyEnum { if x != nil { return x.Value } - return MyEnum_ONE + return MyEnum_MY_ENUM_ONE } type MyServiceFuncTypeArgs struct { @@ -773,14 +773,14 @@ func (x *MyServiceFuncEnumArgs) GetValue() MyEnum { if x != nil { return x.Value } - return MyEnum_ONE + return MyEnum_MY_ENUM_ONE } func (x *MyServiceFuncEnumArgs) GetOptional() MyEnum { if x != nil && x.Optional != nil { return *x.Optional } - return MyEnum_ONE + return MyEnum_MY_ENUM_ONE } type MyServiceFuncAliasArgs struct { @@ -1750,159 +1750,160 @@ var file_proto_service_proto_rawDesc = []byte{ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x61, 0x6c, 0x2a, 0x25, 0x0a, 0x06, 0x4d, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, - 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x01, - 0x12, 0x09, 0x0a, 0x05, 0x54, 0x48, 0x52, 0x45, 0x45, 0x10, 0x02, 0x32, 0xa3, 0x12, 0x0a, 0x09, - 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x56, 0x6f, 0x69, 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, + 0x6f, 0x6e, 0x61, 0x6c, 0x2a, 0x3d, 0x0a, 0x06, 0x4d, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0f, + 0x0a, 0x0b, 0x4d, 0x59, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, + 0x0f, 0x0a, 0x0b, 0x4d, 0x59, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x57, 0x4f, 0x10, 0x01, + 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x59, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x48, 0x52, 0x45, + 0x45, 0x10, 0x02, 0x32, 0xa3, 0x12, 0x0a, 0x09, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x56, 0x6f, 0x69, 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x09, 0x55, 0x6e, 0x61, 0x72, - 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x14, 0x2e, 0x61, 0x70, - 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x54, 0x79, 0x70, - 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x09, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x45, 0x6e, 0x75, 0x6d, - 0x12, 0x19, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, - 0x4d, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x19, 0x2e, 0x61, 0x70, - 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x45, 0x6e, 0x75, - 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0a, 0x55, 0x6e, 0x61, 0x72, - 0x79, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0b, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x00, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x49, 0x36, 0x34, 0x12, 0x1b, 0x2e, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, + 0x12, 0x39, 0x0a, 0x09, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x2e, + 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x54, + 0x79, 0x70, 0x65, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x09, 0x55, + 0x6e, 0x61, 0x72, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, + 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, + 0x12, 0x4a, 0x0a, 0x0a, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0b, + 0x55, 0x6e, 0x61, 0x72, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x6e, 0x61, + 0x72, 0x79, 0x49, 0x36, 0x34, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0x00, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x49, 0x33, 0x32, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, + 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, - 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x6e, 0x61, - 0x72, 0x79, 0x49, 0x33, 0x32, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x6e, 0x61, + 0x72, 0x79, 0x49, 0x31, 0x36, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x00, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x49, 0x31, 0x36, 0x12, 0x1b, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, - 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x07, 0x55, 0x6e, 0x61, - 0x72, 0x79, 0x49, 0x38, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, - 0x12, 0x48, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x55, 0x36, 0x34, 0x12, 0x1c, 0x2e, 0x67, + 0x00, 0x12, 0x45, 0x0a, 0x07, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x49, 0x38, 0x12, 0x1b, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, + 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, + 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, + 0x79, 0x55, 0x36, 0x34, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x22, 0x00, 0x12, 0x48, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x55, 0x33, 0x32, 0x12, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, - 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, - 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x08, 0x55, 0x6e, - 0x61, 0x72, 0x79, 0x55, 0x33, 0x32, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x08, + 0x55, 0x6e, 0x61, 0x72, 0x79, 0x55, 0x31, 0x36, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, + 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x55, 0x31, 0x36, - 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x47, - 0x0a, 0x07, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x55, 0x38, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, - 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, - 0x46, 0x36, 0x34, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x00, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x33, 0x32, 0x12, 0x1b, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, - 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x0a, 0x55, 0x6e, 0x61, - 0x72, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x23, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, - 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x54, 0x79, 0x70, 0x65, - 0x41, 0x72, 0x67, 0x73, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x08, - 0x46, 0x75, 0x6e, 0x63, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, - 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x46, 0x75, 0x6e, 0x63, 0x45, 0x6e, 0x75, 0x6d, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e, - 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x45, - 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x09, 0x46, 0x75, - 0x6e, 0x63, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x07, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x55, + 0x38, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, + 0x48, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x36, 0x34, 0x12, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, + 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, + 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x6e, 0x61, + 0x72, 0x79, 0x46, 0x33, 0x32, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0x00, 0x12, 0x48, 0x0a, 0x0a, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, + 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1b, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x08, 0x46, + 0x75, 0x6e, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x46, 0x75, 0x6e, 0x63, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, - 0x0a, 0x46, 0x75, 0x6e, 0x63, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x2e, 0x61, 0x70, - 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x41, 0x72, - 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x36, 0x34, 0x12, 0x22, 0x2e, - 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x36, 0x34, 0x41, 0x72, 0x67, + 0x46, 0x75, 0x6e, 0x63, 0x54, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x14, 0x2e, 0x61, + 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x54, 0x79, + 0x70, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x45, 0x6e, 0x75, 0x6d, + 0x12, 0x23, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, + 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x45, 0x6e, 0x75, + 0x6d, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x22, 0x00, 0x12, 0x51, 0x0a, 0x09, 0x46, 0x75, 0x6e, 0x63, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, + 0x24, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, + 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0a, 0x46, 0x75, 0x6e, 0x63, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x12, 0x25, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x07, 0x46, 0x75, + 0x6e, 0x63, 0x49, 0x36, 0x34, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, + 0x6e, 0x63, 0x49, 0x36, 0x34, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, + 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, + 0x49, 0x33, 0x32, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, + 0x49, 0x33, 0x32, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x31, + 0x36, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, + 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x31, + 0x36, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x06, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x38, 0x12, 0x21, + 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x38, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, - 0x12, 0x4c, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x33, 0x32, 0x12, 0x22, 0x2e, 0x61, 0x70, + 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, + 0x12, 0x4d, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x36, 0x34, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x33, 0x32, 0x41, 0x72, 0x67, 0x73, 0x1a, - 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4c, - 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x31, 0x36, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, + 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x36, 0x34, 0x41, 0x72, 0x67, 0x73, 0x1a, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, + 0x4d, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x33, 0x32, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, + 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x33, 0x32, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4d, + 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x31, 0x36, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x49, 0x31, 0x36, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, + 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x31, 0x36, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x06, - 0x46, 0x75, 0x6e, 0x63, 0x49, 0x38, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, - 0x75, 0x6e, 0x63, 0x49, 0x38, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, - 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, - 0x55, 0x36, 0x34, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, - 0x55, 0x36, 0x34, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x55, - 0x33, 0x32, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x55, - 0x33, 0x32, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x31, - 0x36, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, - 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x31, - 0x36, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x06, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x38, 0x12, - 0x21, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, - 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x38, 0x41, 0x72, - 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x46, 0x36, 0x34, 0x12, 0x22, 0x2e, - 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x46, 0x36, 0x34, 0x41, 0x72, 0x67, - 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x00, 0x12, 0x4c, 0x0a, 0x07, 0x46, 0x75, 0x6e, 0x63, 0x46, 0x33, 0x32, 0x12, 0x22, 0x2e, 0x61, - 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x46, 0x33, 0x32, 0x41, 0x72, 0x67, 0x73, - 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, - 0x50, 0x0a, 0x09, 0x46, 0x75, 0x6e, 0x63, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x61, - 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x42, 0x79, 0x74, 0x65, 0x73, 0x41, 0x72, - 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x00, 0x42, 0x26, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x61, 0x70, 0x65, 0x78, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x74, - 0x65, 0x73, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, + 0x06, 0x46, 0x75, 0x6e, 0x63, 0x55, 0x38, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, + 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x46, 0x75, 0x6e, 0x63, 0x55, 0x38, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, + 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x07, 0x46, 0x75, + 0x6e, 0x63, 0x46, 0x36, 0x34, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, + 0x6e, 0x63, 0x46, 0x36, 0x34, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, + 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x07, 0x46, 0x75, 0x6e, + 0x63, 0x46, 0x33, 0x32, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, + 0x63, 0x46, 0x33, 0x32, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x09, 0x46, 0x75, 0x6e, 0x63, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x65, 0x78, 0x2e, 0x74, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x75, 0x6e, + 0x63, 0x42, 0x79, 0x74, 0x65, 0x73, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x42, 0x26, 0x5a, 0x24, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x65, 0x78, 0x6c, 0x61, 0x6e, 0x67, + 0x2f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/testdata/go/expected/proto/service.proto b/testdata/go/expected/proto/service.proto index e6f682a..4f1c135 100644 --- a/testdata/go/expected/proto/service.proto +++ b/testdata/go/expected/proto/service.proto @@ -45,90 +45,90 @@ service MyService { // MyType is a class message MyType { // same type value - optional MyType same_value = 1; + optional MyType same_value = 1 [json_name="sameValue"]; // type value - MyOtherType type_value = 2; + MyOtherType type_value = 2 [json_name="typeValue"]; // string value - string string_value = 3; + string string_value = 3 [json_name="stringValue"]; // string option - optional string string_option = 4; + optional string string_option = 4 [json_name="stringOption"]; // i64 value - int64 i64_value = 5; + int64 i64_value = 5 [json_name="i64Value"]; // i64 option - optional int64 i64_option = 6; + optional int64 i64_option = 6 [json_name="i64Option"]; // i32 value - int32 i32_value = 7; + int32 i32_value = 7 [json_name="i32Value"]; // i32 option - optional int32 i32_option = 8; + optional int32 i32_option = 8 [json_name="i32Option"]; // i16 value - int32 i16_value = 9; + int32 i16_value = 9 [json_name="i16Value"]; // i16 option - optional int32 i16_option = 10; + optional int32 i16_option = 10 [json_name="i16Option"]; // i8 value - int32 i8_value = 11; + int32 i8_value = 11 [json_name="i8Value"]; // i8 option - optional int32 i8_option = 12; + optional int32 i8_option = 12 [json_name="i8Option"]; // u64 value - uint64 u64_value = 13; + uint64 u64_value = 13 [json_name="u64Value"]; // u64 option - optional uint64 u64_option = 14; + optional uint64 u64_option = 14 [json_name="u64Option"]; // u32 value - uint32 u32_value = 15; + uint32 u32_value = 15 [json_name="u32Value"]; // u32 option - optional uint32 u32_option = 16; + optional uint32 u32_option = 16 [json_name="u32Option"]; // u16 value - uint32 u16_value = 17; + uint32 u16_value = 17 [json_name="u16Value"]; // u16 option - optional uint32 u16_option = 18; + optional uint32 u16_option = 18 [json_name="u16Option"]; // u8 value - uint32 u8_value = 19; + uint32 u8_value = 19 [json_name="u8Value"]; // u8 option - optional uint32 u8_option = 20; + optional uint32 u8_option = 20 [json_name="u8Option"]; // f64 value - double f64_value = 21; + double f64_value = 21 [json_name="f64Value"]; // f64 option - optional double f64_option = 22; + optional double f64_option = 22 [json_name="f64Option"]; // f32 value - float f32_value = 23; + float f32_value = 23 [json_name="f32Value"]; // f32 option - optional float f32_option = 24; + optional float f32_option = 24 [json_name="f32Option"]; // datetime value - google.protobuf.Timestamp datetime_value = 25; + google.protobuf.Timestamp datetime_value = 25 [json_name="datetimeValue"]; // datetime option - optional google.protobuf.Timestamp datetime_option = 26; + optional google.protobuf.Timestamp datetime_option = 26 [json_name="datetimeOption"]; // bytes value - bytes bytes_value = 27; + bytes bytes_value = 27 [json_name="bytesValue"]; // bytes option - optional bytes bytes_option = 28; + optional bytes bytes_option = 28 [json_name="bytesOption"]; // map value - map map_value = 29; + map map_value = 29 [json_name="mapValue"]; // map of types - map map_of_types = 30; + map map_of_types = 30 [json_name="mapOfTypes"]; // array value - repeated string array_value = 31; + repeated string array_value = 31 [json_name="arrayValue"]; // array of types - repeated MyType array_of_types = 32; + repeated MyType array_of_types = 32 [json_name="arrayOfTypes"]; // union value - MyUnion union_value = 33; + MyUnion union_value = 33 [json_name="unionValue"]; // union option - optional MyUnion union_option = 34; + optional MyUnion union_option = 34 [json_name="unionOption"]; // enum value - MyEnum enum_value = 35; + MyEnum enum_value = 35 [json_name="enumValue"]; // enum option - optional MyEnum enum_option = 36; + optional MyEnum enum_option = 36 [json_name="enumOption"]; // enum value - string alias_value = 37; + string alias_value = 37 [json_name="aliasValue"]; // enum option - optional string alias_option = 38; + optional string alias_option = 38 [json_name="aliasOption"]; // bool value - bool bool_value = 39; + bool bool_value = 39 [json_name="boolValue"]; // bool option - optional bool bool_option = 40; + optional bool bool_option = 40 [json_name="boolOption"]; } message MyOtherType { - string foo = 1; - string bar = 2; + string foo = 1 [json_name="foo"]; + string bar = 2 [json_name="bar"]; } message MyUnion { @@ -142,11 +142,11 @@ message MyUnion { // MyEnum is an emuneration enum MyEnum { // ONE value - ONE = 0; + MY_ENUM_ONE = 0; // TWO value - TWO = 1; + MY_ENUM_TWO = 1; // THREE value - THREE = 2; + MY_ENUM_THREE = 2; } message MyEnumValue { @@ -154,77 +154,77 @@ message MyEnumValue { } message MyServiceFuncTypeArgs { - MyType value = 1; - optional MyType optional = 2; + MyType value = 1 [json_name="value"]; + optional MyType optional = 2 [json_name="optional"]; } message MyServiceFuncEnumArgs { - MyEnum value = 1; - optional MyEnum optional = 2; + MyEnum value = 1 [json_name="value"]; + optional MyEnum optional = 2 [json_name="optional"]; } message MyServiceFuncAliasArgs { - string value = 1; - optional string optional = 2; + string value = 1 [json_name="value"]; + optional string optional = 2 [json_name="optional"]; } message MyServiceFuncStringArgs { - string value = 1; - optional string optional = 2; + string value = 1 [json_name="value"]; + optional string optional = 2 [json_name="optional"]; } message MyServiceFuncI64Args { - int64 value = 1; - optional int64 optional = 2; + int64 value = 1 [json_name="value"]; + optional int64 optional = 2 [json_name="optional"]; } message MyServiceFuncI32Args { - int32 value = 1; - optional int32 optional = 2; + int32 value = 1 [json_name="value"]; + optional int32 optional = 2 [json_name="optional"]; } message MyServiceFuncI16Args { - int32 value = 1; - optional int32 optional = 2; + int32 value = 1 [json_name="value"]; + optional int32 optional = 2 [json_name="optional"]; } message MyServiceFuncI8Args { - int32 value = 1; - optional int32 optional = 2; + int32 value = 1 [json_name="value"]; + optional int32 optional = 2 [json_name="optional"]; } message MyServiceFuncU64Args { - uint64 value = 1; - optional uint64 optional = 2; + uint64 value = 1 [json_name="value"]; + optional uint64 optional = 2 [json_name="optional"]; } message MyServiceFuncU32Args { - uint32 value = 1; - optional uint32 optional = 2; + uint32 value = 1 [json_name="value"]; + optional uint32 optional = 2 [json_name="optional"]; } message MyServiceFuncU16Args { - uint32 value = 1; - optional uint32 optional = 2; + uint32 value = 1 [json_name="value"]; + optional uint32 optional = 2 [json_name="optional"]; } message MyServiceFuncU8Args { - uint32 value = 1; - optional uint32 optional = 2; + uint32 value = 1 [json_name="value"]; + optional uint32 optional = 2 [json_name="optional"]; } message MyServiceFuncF64Args { - double value = 1; - optional double optional = 2; + double value = 1 [json_name="value"]; + optional double optional = 2 [json_name="optional"]; } message MyServiceFuncF32Args { - float value = 1; - optional float optional = 2; + float value = 1 [json_name="value"]; + optional float optional = 2 [json_name="optional"]; } message MyServiceFuncBytesArgs { - bytes value = 1; - optional bytes optional = 2; + bytes value = 1 [json_name="value"]; + optional bytes optional = 2 [json_name="optional"]; } diff --git a/testdata/go/expected/proto/service_grpc.pb.go b/testdata/go/expected/proto/service_grpc.pb.go index 16302f9..a748b5c 100644 --- a/testdata/go/expected/proto/service_grpc.pb.go +++ b/testdata/go/expected/proto/service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v4.25.2 +// - protoc v5.29.3 // source: proto/service.proto package proto