OLD | NEW |
1 // AUTOGENERATED. DO NOT EDIT. | 1 // AUTOGENERATED. DO NOT EDIT. |
2 | 2 |
3 package testservices | 3 package testservices |
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 "testservices.Greeter", "testservices.Calc", | 12 "testservices.Greeter", "testservices.Calc", |
13 }, | 13 }, |
14 []byte{31, 139, | 14 []byte{31, 139, |
15 8, 0, 0, 9, 110, 136, 0, 255, 116, 148, 209, 110, 227, 6
8, | 15 8, 0, 0, 9, 110, 136, 0, 255, 116, 148, 209, 110, 227, 6
8, |
16 20, 134, 61, 227, 137, 235, 156, 186, 141, 119, 72, 150,
196, 106, | 16 20, 134, 61, 227, 137, 235, 156, 186, 141, 119, 72, 150,
196, 106, |
17 210, 169, 145, 88, 132, 88, 103, 27, 4, 23, 32, 144, 74,
181, | 17 210, 169, 145, 88, 132, 88, 103, 27, 4, 23, 32, 144, 74,
181, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // | 80 // |
81 // Do NOT modify the returned descriptor. | 81 // Do NOT modify the returned descriptor. |
82 func FileDescriptorSet() *descriptor.FileDescriptorSet { | 82 func FileDescriptorSet() *descriptor.FileDescriptorSet { |
83 // We just need ONE of the service names to look up the FileDescriptorSe
t. | 83 // We just need ONE of the service names to look up the FileDescriptorSe
t. |
84 ret, err := discovery.GetDescriptorSet("testservices.Greeter") | 84 ret, err := discovery.GetDescriptorSet("testservices.Greeter") |
85 if err != nil { | 85 if err != nil { |
86 panic(err) | 86 panic(err) |
87 } | 87 } |
88 return ret | 88 return ret |
89 } | 89 } |
OLD | NEW |