OLD | NEW |
1 // AUTOGENERATED. DO NOT EDIT. | 1 // AUTOGENERATED. DO NOT EDIT. |
2 | 2 |
3 package helloworld | 3 package 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 "helloworld.Greeter", | 12 "helloworld.Greeter", |
13 }, | 13 }, |
14 []byte{31, 139, | 14 []byte{31, 139, |
15 8, 0, 0, 9, 110, 136, 0, 255, 116, 147, 65, 111, 211, 78
, | 15 8, 0, 0, 9, 110, 136, 0, 255, 116, 147, 65, 111, 211, 78
, |
16 16, 197, 189, 142, 235, 38, 147, 244, 31, 119, 255, 73,
85, 69, | 16 16, 197, 189, 142, 235, 38, 147, 244, 31, 119, 255, 73,
85, 69, |
17 72, 140, 114, 160, 28, 192, 105, 131, 224, 130, 64, 170,
170, 10, | 17 72, 140, 114, 160, 28, 192, 105, 131, 224, 130, 64, 170,
170, 10, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // | 64 // |
65 // Do NOT modify the returned descriptor. | 65 // Do NOT modify the returned descriptor. |
66 func FileDescriptorSet() *descriptor.FileDescriptorSet { | 66 func FileDescriptorSet() *descriptor.FileDescriptorSet { |
67 // We just need ONE of the service names to look up the FileDescriptorSe
t. | 67 // We just need ONE of the service names to look up the FileDescriptorSe
t. |
68 ret, err := discovery.GetDescriptorSet("helloworld.Greeter") | 68 ret, err := discovery.GetDescriptorSet("helloworld.Greeter") |
69 if err != nil { | 69 if err != nil { |
70 panic(err) | 70 panic(err) |
71 } | 71 } |
72 return ret | 72 return ret |
73 } | 73 } |
OLD | NEW |