Debian Codegraph @

examples/foo/foo.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: github.com/containerd/protobuild/examples/foo/foo.proto
3
4 package fooscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/
5
6 import (
7 contextscip-go gomod github.com/golang/go/src go1.13 context/ "contextscip-go gomod github.com/golang/go/src go1.13 context/"
8 fmtscip-go gomod github.com/golang/go/src go1.13 fmt/ "fmtscip-go gomod github.com/golang/go/src go1.13 fmt/"
9 internalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/ "github.com/containerd/protobuild/internalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/"
10 protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/ "github.com/golang/protobuf/protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/"
11 timestampscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/ptypes/timestamp`/ "github.com/golang/protobuf/ptypes/timestampscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/ptypes/timestamp`/"
12 grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ "google.golang.org/grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/"
13 codesscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc/codes`/ "google.golang.org/grpc/codesscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc/codes`/"
14 statusscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc/status`/ "google.golang.org/grpc/statusscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc/status`/"
15 mathscip-go gomod github.com/golang/go/src go1.13 math/ "mathscip-go gomod github.com/golang/go/src go1.13 math/"
16 )
17
18 // Reference imports to suppress errors if they are not otherwise used.
19 var _ = protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/.Marshalscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/Marshal().
20 var _ = fmtscip-go gomod github.com/golang/go/src go1.13 fmt/.Errorfscip-go gomod github.com/golang/go/src go1.13 fmt/Errorf().
21 var _ = mathscip-go gomod github.com/golang/go/src go1.13 math/.Infscip-go gomod github.com/golang/go/src go1.13 math/Inf().
22
23 // This is a compile-time assertion to ensure that this generated file
24 // is compatible with the proto package it is being compiled against.
25 // A compilation error at this line likely means your copy of the
26 // proto package needs to be updated.
27 const _ = protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/.ProtoPackageIsVersion3scip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/ProtoPackageIsVersion3. // please upgrade the proto package
28
29 type DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest# struct {
30 Timestampscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#Timestamp. *timestampscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/ptypes/timestamp`/.Timestampscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/ptypes/timestamp`/Timestamp# `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
31 XXX_NoUnkeyedLiteralscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#XXX_NoUnkeyedLiteral. struct{} `json:"-"`
32 XXX_unrecognizedscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#XXX_unrecognized. []byte `json:"-"`
33 XXX_sizecachescip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#XXX_sizecache. int32 `json:"-"`
34 }
35
36 func (m *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) Resetscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#Reset().() { *m = DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#{} }
37 func (m *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) Stringscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#String().() string { return protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/.CompactTextStringscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/CompactTextString().(m) }
38 func (*DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) ProtoMessagescip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#ProtoMessage().() {}
39 func (*DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) Descriptorscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#Descriptor().() ([]byte, []int) {
40 return fileDescriptor_db2b55b4267b3d4cscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fileDescriptor_db2b55b4267b3d4c., []int{0}
41 }
42
43 func (m *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) XXX_Unmarshalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#XXX_Unmarshal().(b []byte) error {
44 return xxx_messageInfo_DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/xxx_messageInfo_DoRequest..Unmarshalscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/InternalMessageInfo#Unmarshal().(m, b)
45 }
46 func (m *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) XXX_Marshalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#XXX_Marshal().(b []byte, deterministic bool) ([]byte, error) {
47 return xxx_messageInfo_DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/xxx_messageInfo_DoRequest..Marshalscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/InternalMessageInfo#Marshal().(b, m, deterministic)
48 }
49 func (m *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) XXX_Mergescip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#XXX_Merge().(src protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/.Messagescip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/Message#) {
50 xxx_messageInfo_DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/xxx_messageInfo_DoRequest..Mergescip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/InternalMessageInfo#Merge().(m, src)
51 }
52 func (m *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) XXX_Sizescip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#XXX_Size().() int {
53 return xxx_messageInfo_DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/xxx_messageInfo_DoRequest..Sizescip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/InternalMessageInfo#Size().(m)
54 }
55 func (m *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) XXX_DiscardUnknownscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#XXX_DiscardUnknown().() {
56 xxx_messageInfo_DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/xxx_messageInfo_DoRequest..DiscardUnknownscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/InternalMessageInfo#DiscardUnknown().(m)
57 }
58
59 var xxx_messageInfo_DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/xxx_messageInfo_DoRequest. protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/.InternalMessageInfoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/InternalMessageInfo#
60
61 func (m *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) GetTimestampscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#GetTimestamp().() *timestampscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/ptypes/timestamp`/.Timestampscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/ptypes/timestamp`/Timestamp# {
62 if m != nil {
63 return m.Timestampscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#Timestamp.
64 }
65 return nil
66 }
67
68 func initscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/init().() {
69 protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/.RegisterTypescip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/RegisterType().((*DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#)(nil), "protobuild.example.foo.DoRequest")
70 }
71
72 func initscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/init().() {
73 protoscip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/.RegisterFilescip-go gomod github.com/golang/protobuf v1.5.0 `github.com/golang/protobuf/proto`/RegisterFile().("github.com/containerd/protobuild/examples/foo/foo.proto", fileDescriptor_db2b55b4267b3d4cscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fileDescriptor_db2b55b4267b3d4c.)
74 }
75
76 var fileDescriptor_db2b55b4267b3d4cscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fileDescriptor_db2b55b4267b3d4c. = []byte{
77 // 205 bytes of a gzipped FileDescriptorProto
78 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4f, 0xcf, 0x2c, 0xc9,
79 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xcc, 0xcc, 0x4b, 0x2d,
80 0x4a, 0xd1, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0xcd, 0xcc, 0x49, 0xd1, 0x4f, 0xad, 0x48,
81 0xcc, 0x2d, 0xc8, 0x49, 0x2d, 0xd6, 0x4f, 0xcb, 0xcf, 0x07, 0x61, 0x3d, 0xb0, 0x9c, 0x90, 0x18,
82 0x42, 0x89, 0x1e, 0x54, 0x89, 0x5e, 0x5a, 0x7e, 0xbe, 0x94, 0x74, 0x7a, 0x7e, 0x7e, 0x7a, 0x4e,
83 0x2a, 0xcc, 0x84, 0x34, 0xfd, 0xd4, 0xdc, 0x82, 0x92, 0x4a, 0x88, 0x26, 0x29, 0x79, 0x74, 0xc9,
84 0x92, 0xcc, 0xdc, 0xd4, 0xe2, 0x92, 0xc4, 0xdc, 0x02, 0x88, 0x02, 0x25, 0x57, 0x2e, 0x4e, 0x97,
85 0xfc, 0xa0, 0xd4, 0xc2, 0xd2, 0xd4, 0xe2, 0x12, 0x21, 0x0b, 0x2e, 0x4e, 0xb8, 0xbc, 0x04, 0xb3,
86 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x94, 0x1e, 0xc4, 0x04, 0x3d, 0x98, 0x09, 0x7a, 0x21, 0x30, 0x15,
87 0x41, 0x08, 0xc5, 0x46, 0x6e, 0x5c, 0xcc, 0x6e, 0xf9, 0xf9, 0x42, 0xf6, 0x5c, 0x4c, 0x2e, 0xf9,
88 0x42, 0x8a, 0x7a, 0xd8, 0x9d, 0xaa, 0x07, 0xb7, 0x49, 0x4a, 0x0c, 0xc3, 0x58, 0x57, 0x90, 0xab,
89 0x9d, 0x4c, 0xa2, 0x8c, 0x48, 0x0b, 0x1f, 0xeb, 0xb4, 0xfc, 0xfc, 0x24, 0x36, 0xb0, 0xac, 0x31,
90 0x20, 0x00, 0x00, 0xff, 0xff, 0x79, 0xd3, 0x0b, 0x91, 0x5c, 0x01, 0x00, 0x00,
91 }
92
93 // Reference imports to suppress errors if they are not otherwise used.
94 var _ contextscip-go gomod github.com/golang/go/src go1.13 context/.Contextscip-go gomod github.com/golang/go/src go1.13 context/Context#
95 var _ grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.ClientConnInterfacescip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ClientConnInterface#
96
97 // This is a compile-time assertion to ensure that this generated file
98 // is compatible with the grpc package it is being compiled against.
99 const _ = grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.SupportPackageIsVersion6scip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/SupportPackageIsVersion6.
100
101 // FooClient is the client API for Foo service.
102 //
103 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
104 type FooClientscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooClient# interface {
105 Doscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooClient#Do.(ctx contextscip-go gomod github.com/golang/go/src go1.13 context/.Contextscip-go gomod github.com/golang/go/src go1.13 context/Context#, in *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#, opts ...grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.CallOptionscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/CallOption#) (*internalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/.Emptyscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/Empty#, error)
106 }
107
108 type fooClientscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fooClient# struct {
109 ccscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fooClient#cc. grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.ClientConnInterfacescip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ClientConnInterface#
110 }
111
112 func NewFooClientscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/NewFooClient().(cc grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.ClientConnInterfacescip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ClientConnInterface#) FooClientscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooClient# {
113 return &fooClientscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fooClient#{cc}
114 }
115
116 func (c *fooClientscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fooClient#) Doscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fooClient#Do().(ctx contextscip-go gomod github.com/golang/go/src go1.13 context/.Contextscip-go gomod github.com/golang/go/src go1.13 context/Context#, in *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#, opts ...grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.CallOptionscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/CallOption#) (*internalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/.Emptyscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/Empty#, error) {
117 out := new(internalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/.Emptyscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/Empty#)
118 err := c.ccscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/fooClient#cc..Invokescip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ClientConnInterface#Invoke().(ctx, "/protobuild.example.foo.Foo/Do", in, out, opts...)
119 if err != nil {
120 return nil, err
121 }
122 return out, nil
123 }
124
125 // FooServer is the server API for Foo service.
126 type FooServerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooServer# interface {
127 Doscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooServer#Do.(contextscip-go gomod github.com/golang/go/src go1.13 context/.Contextscip-go gomod github.com/golang/go/src go1.13 context/Context#, *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) (*internalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/.Emptyscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/Empty#, error)
128 }
129
130 // UnimplementedFooServer can be embedded to have forward compatible implementations.
131 type UnimplementedFooServerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/UnimplementedFooServer# struct {
132 }
133
134 func (*UnimplementedFooServerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/UnimplementedFooServer#) Doscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/UnimplementedFooServer#Do().(ctx contextscip-go gomod github.com/golang/go/src go1.13 context/.Contextscip-go gomod github.com/golang/go/src go1.13 context/Context#, req *DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#) (*internalscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/.Emptyscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/internal`/Empty#, error) {
135 return nil, statusscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc/status`/.Errorfscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc/status`/Errorf().(codesscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc/codes`/.Unimplementedscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc/codes`/Unimplemented., "method Do not implemented")
136 }
137
138 func RegisterFooServerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/RegisterFooServer().(s *grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.Serverscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/Server#, srv FooServerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooServer#) {
139 s.RegisterServicescip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/Server#RegisterService().(&_Foo_serviceDescscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/_Foo_serviceDesc., srv)
140 }
141
142 func _Foo_Do_Handlerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/_Foo_Do_Handler().(srv interface{}, ctx contextscip-go gomod github.com/golang/go/src go1.13 context/.Contextscip-go gomod github.com/golang/go/src go1.13 context/Context#, dec func(interface{}) error, interceptor grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.UnaryServerInterceptorscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/UnaryServerInterceptor#) (interface{}, error) {
143 in := new(DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#)
144 if err := dec(in); err != nil {
145 return nil, err
146 }
147 if interceptor == nil {
148 return srv.(FooServerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooServer#).Doscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooServer#Do.(ctx, in)
149 }
150 info := &grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.UnaryServerInfoscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/UnaryServerInfo#{
151 Serverscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/UnaryServerInfo#Server.: srv,
152 FullMethodscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/UnaryServerInfo#FullMethod.: "/protobuild.example.foo.Foo/Do",
153 }
154 handler := func(ctx contextscip-go gomod github.com/golang/go/src go1.13 context/.Contextscip-go gomod github.com/golang/go/src go1.13 context/Context#, req interface{}) (interface{}, error) {
155 return srv.(FooServerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooServer#).Doscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooServer#Do.(ctx, req.(*DoRequestscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/DoRequest#))
156 }
157 return interceptor(ctx, in, info, handler)
158 }
159
160 var _Foo_serviceDescscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/_Foo_serviceDesc. = grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.ServiceDescscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ServiceDesc#{
161 ServiceNamescip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ServiceDesc#ServiceName.: "protobuild.example.foo.Foo",
162 HandlerTypescip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ServiceDesc#HandlerType.: (*FooServerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/FooServer#)(nil),
163 Methodsscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ServiceDesc#Methods.: []grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.MethodDescscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/MethodDesc#{
164 {
165 MethodNamescip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/MethodDesc#MethodName.: "Do",
166 Handlerscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/MethodDesc#Handler.: _Foo_Do_Handlerscip-go gomod github.com/containerd/protobuild . `github.com/containerd/protobuild/examples/foo`/_Foo_Do_Handler().,
167 },
168 },
169 Streamsscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ServiceDesc#Streams.: []grpcscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/.StreamDescscip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/StreamDesc#{},
170 Metadatascip-go gomod google.golang.org/grpc v1.28.1 `google.golang.org/grpc`/ServiceDesc#Metadata.: "github.com/containerd/protobuild/examples/foo/foo.proto",
171 }