OLD | NEW |
1 // AUTOGENERATED. DO NOT EDIT. | 1 // AUTOGENERATED. DO NOT EDIT. |
2 | 2 |
3 package test | 3 package test |
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.S1", "test.S2_0", "test.S2_1", | 12 "test.S1", "test.S2_0", "test.S2_1", |
13 }, | 13 }, |
14 []byte{31, 139, | 14 []byte{31, 139, |
15 8, 0, 0, 9, 110, 136, 0, 255, 220, 146, 191, 114, 211, 7
8, | 15 8, 0, 0, 9, 110, 136, 0, 255, 220, 146, 191, 114, 211, 7
8, |
16 16, 199, 181, 210, 89, 35, 173, 37, 199, 190, 95, 147, 2
49, 165, | 16 16, 199, 181, 210, 89, 35, 173, 37, 199, 190, 95, 147, 2
49, 165, |
17 96, 73, 69, 193, 8, 91, 204, 208, 123, 60, 41, 146, 9, 2
0, | 17 96, 73, 69, 193, 8, 91, 204, 208, 123, 60, 41, 146, 9, 2
0, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // | 55 // |
56 // Do NOT modify the returned descriptor. | 56 // Do NOT modify the returned descriptor. |
57 func FileDescriptorSet() *descriptor.FileDescriptorSet { | 57 func FileDescriptorSet() *descriptor.FileDescriptorSet { |
58 // We just need ONE of the service names to look up the FileDescriptorSe
t. | 58 // We just need ONE of the service names to look up the FileDescriptorSe
t. |
59 ret, err := discovery.GetDescriptorSet("test.S1") | 59 ret, err := discovery.GetDescriptorSet("test.S1") |
60 if err != nil { | 60 if err != nil { |
61 panic(err) | 61 panic(err) |
62 } | 62 } |
63 return ret | 63 return ret |
64 } | 64 } |
OLD | NEW |