OLD | NEW |
1 // AUTOGENERATED. DO NOT EDIT. | 1 // AUTOGENERATED. DO NOT EDIT. |
2 | 2 |
3 package test_helloworld | 3 package test_helloworld |
4 | 4 |
5 import discovery "github.com/luci/luci-go/grpc/discovery" | 5 import discovery "github.com/luci/luci-go/grpc/discovery" |
6 | 6 |
7 import "github.com/luci/luci-go/common/proto/google/descriptor" | 7 import "google.golang.org/genproto/protobuf" |
8 | 8 |
9 func init() { | 9 func init() { |
10 discovery.RegisterDescriptorSetCompressed( | 10 discovery.RegisterDescriptorSetCompressed( |
11 []string{ | 11 []string{ |
12 "test.helloworld.Greeter", | 12 "test.helloworld.Greeter", |
13 }, | 13 }, |
14 []byte{31, 139, | 14 []byte{31, 139, |
15 8, 0, 0, 9, 110, 136, 0, 255, 116, 147, 193, 110, 211, 7
8, | 15 8, 0, 0, 9, 110, 136, 0, 255, 116, 147, 193, 110, 211, 7
8, |
16 16, 198, 189, 206, 214, 117, 38, 105, 227, 238, 63, 233,
191, 10, | 16 16, 198, 189, 206, 214, 117, 38, 105, 227, 238, 63, 233,
191, 10, |
17 32, 70, 57, 80, 14, 200, 109, 131, 224, 130, 56, 84, 85,
69, | 17 32, 70, 57, 80, 14, 200, 109, 131, 224, 130, 56, 84, 85,
69, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // | 61 // |
62 // Do NOT modify the returned descriptor. | 62 // Do NOT modify the returned descriptor. |
63 func FileDescriptorSet() *descriptor.FileDescriptorSet { | 63 func FileDescriptorSet() *descriptor.FileDescriptorSet { |
64 // We just need ONE of the service names to look up the FileDescriptorSe
t. | 64 // We just need ONE of the service names to look up the FileDescriptorSe
t. |
65 ret, err := discovery.GetDescriptorSet("test.helloworld.Greeter") | 65 ret, err := discovery.GetDescriptorSet("test.helloworld.Greeter") |
66 if err != nil { | 66 if err != nil { |
67 panic(err) | 67 panic(err) |
68 } | 68 } |
69 return ret | 69 return ret |
70 } | 70 } |
OLD | NEW |