1// Code generated by protoc-gen-go. DO NOT EDIT.
2// deprecated/deprecated.proto is a deprecated file.
3
4// package deprecated contains only deprecated messages and services.
5
6package deprecated
7
8import (
9	context "context"
10	fmt "fmt"
11	proto "github.com/golang/protobuf/proto"
12	grpc "google.golang.org/grpc"
13	codes "google.golang.org/grpc/codes"
14	status "google.golang.org/grpc/status"
15	math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = 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.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
29// DeprecatedEnum contains deprecated values.
30type DeprecatedEnum int32 // Deprecated: Do not use.
31const (
32	// DEPRECATED is the iota value of this enum.
33	DeprecatedEnum_DEPRECATED DeprecatedEnum = 0 // Deprecated: Do not use.
34)
35
36var DeprecatedEnum_name = map[int32]string{
37	0: "DEPRECATED",
38}
39
40var DeprecatedEnum_value = map[string]int32{
41	"DEPRECATED": 0,
42}
43
44func (x DeprecatedEnum) String() string {
45	return proto.EnumName(DeprecatedEnum_name, int32(x))
46}
47
48func (DeprecatedEnum) EnumDescriptor() ([]byte, []int) {
49	return fileDescriptor_f64ba265cd7eae3f, []int{0}
50}
51
52// DeprecatedRequest is a request to DeprecatedCall.
53//
54// Deprecated: Do not use.
55type DeprecatedRequest struct {
56	XXX_NoUnkeyedLiteral struct{} `json:"-"`
57	XXX_unrecognized     []byte   `json:"-"`
58	XXX_sizecache        int32    `json:"-"`
59}
60
61func (m *DeprecatedRequest) Reset()         { *m = DeprecatedRequest{} }
62func (m *DeprecatedRequest) String() string { return proto.CompactTextString(m) }
63func (*DeprecatedRequest) ProtoMessage()    {}
64func (*DeprecatedRequest) Descriptor() ([]byte, []int) {
65	return fileDescriptor_f64ba265cd7eae3f, []int{0}
66}
67
68func (m *DeprecatedRequest) XXX_Unmarshal(b []byte) error {
69	return xxx_messageInfo_DeprecatedRequest.Unmarshal(m, b)
70}
71func (m *DeprecatedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
72	return xxx_messageInfo_DeprecatedRequest.Marshal(b, m, deterministic)
73}
74func (m *DeprecatedRequest) XXX_Merge(src proto.Message) {
75	xxx_messageInfo_DeprecatedRequest.Merge(m, src)
76}
77func (m *DeprecatedRequest) XXX_Size() int {
78	return xxx_messageInfo_DeprecatedRequest.Size(m)
79}
80func (m *DeprecatedRequest) XXX_DiscardUnknown() {
81	xxx_messageInfo_DeprecatedRequest.DiscardUnknown(m)
82}
83
84var xxx_messageInfo_DeprecatedRequest proto.InternalMessageInfo
85
86// Deprecated: Do not use.
87type DeprecatedResponse struct {
88	// DeprecatedField contains a DeprecatedEnum.
89	DeprecatedField DeprecatedEnum `protobuf:"varint,1,opt,name=deprecated_field,json=deprecatedField,proto3,enum=deprecated.DeprecatedEnum" json:"deprecated_field,omitempty"` // Deprecated: Do not use.
90	// DeprecatedOneof contains a deprecated field.
91	//
92	// Types that are valid to be assigned to DeprecatedOneof:
93	//	*DeprecatedResponse_DeprecatedOneofField
94	DeprecatedOneof      isDeprecatedResponse_DeprecatedOneof `protobuf_oneof:"deprecated_oneof"`
95	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
96	XXX_unrecognized     []byte                               `json:"-"`
97	XXX_sizecache        int32                                `json:"-"`
98}
99
100func (m *DeprecatedResponse) Reset()         { *m = DeprecatedResponse{} }
101func (m *DeprecatedResponse) String() string { return proto.CompactTextString(m) }
102func (*DeprecatedResponse) ProtoMessage()    {}
103func (*DeprecatedResponse) Descriptor() ([]byte, []int) {
104	return fileDescriptor_f64ba265cd7eae3f, []int{1}
105}
106
107func (m *DeprecatedResponse) XXX_Unmarshal(b []byte) error {
108	return xxx_messageInfo_DeprecatedResponse.Unmarshal(m, b)
109}
110func (m *DeprecatedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
111	return xxx_messageInfo_DeprecatedResponse.Marshal(b, m, deterministic)
112}
113func (m *DeprecatedResponse) XXX_Merge(src proto.Message) {
114	xxx_messageInfo_DeprecatedResponse.Merge(m, src)
115}
116func (m *DeprecatedResponse) XXX_Size() int {
117	return xxx_messageInfo_DeprecatedResponse.Size(m)
118}
119func (m *DeprecatedResponse) XXX_DiscardUnknown() {
120	xxx_messageInfo_DeprecatedResponse.DiscardUnknown(m)
121}
122
123var xxx_messageInfo_DeprecatedResponse proto.InternalMessageInfo
124
125// Deprecated: Do not use.
126func (m *DeprecatedResponse) GetDeprecatedField() DeprecatedEnum {
127	if m != nil {
128		return m.DeprecatedField
129	}
130	return DeprecatedEnum_DEPRECATED
131}
132
133type isDeprecatedResponse_DeprecatedOneof interface {
134	isDeprecatedResponse_DeprecatedOneof()
135}
136
137type DeprecatedResponse_DeprecatedOneofField struct {
138	DeprecatedOneofField string `protobuf:"bytes,2,opt,name=deprecated_oneof_field,json=deprecatedOneofField,proto3,oneof"`
139}
140
141func (*DeprecatedResponse_DeprecatedOneofField) isDeprecatedResponse_DeprecatedOneof() {}
142
143func (m *DeprecatedResponse) GetDeprecatedOneof() isDeprecatedResponse_DeprecatedOneof {
144	if m != nil {
145		return m.DeprecatedOneof
146	}
147	return nil
148}
149
150// Deprecated: Do not use.
151func (m *DeprecatedResponse) GetDeprecatedOneofField() string {
152	if x, ok := m.GetDeprecatedOneof().(*DeprecatedResponse_DeprecatedOneofField); ok {
153		return x.DeprecatedOneofField
154	}
155	return ""
156}
157
158// XXX_OneofWrappers is for the internal use of the proto package.
159func (*DeprecatedResponse) XXX_OneofWrappers() []interface{} {
160	return []interface{}{
161		(*DeprecatedResponse_DeprecatedOneofField)(nil),
162	}
163}
164
165func init() {
166	proto.RegisterEnum("deprecated.DeprecatedEnum", DeprecatedEnum_name, DeprecatedEnum_value)
167	proto.RegisterType((*DeprecatedRequest)(nil), "deprecated.DeprecatedRequest")
168	proto.RegisterType((*DeprecatedResponse)(nil), "deprecated.DeprecatedResponse")
169}
170
171func init() { proto.RegisterFile("deprecated/deprecated.proto", fileDescriptor_f64ba265cd7eae3f) }
172
173var fileDescriptor_f64ba265cd7eae3f = []byte{
174	// 287 bytes of a gzipped FileDescriptorProto
175	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xcd, 0x4a, 0xf3, 0x40,
176	0x14, 0x86, 0x7b, 0xe6, 0x83, 0x0f, 0x9d, 0x45, 0xad, 0x83, 0x68, 0x88, 0x28, 0x25, 0xab, 0x20,
177	0x34, 0x81, 0xba, 0x2b, 0x6e, 0x9a, 0x26, 0xa2, 0x2b, 0x25, 0x76, 0xe5, 0x46, 0xf2, 0x73, 0x12,
178	0x03, 0xe9, 0x4c, 0x4c, 0x26, 0x5e, 0x83, 0xf7, 0xe3, 0xc6, 0xcb, 0x93, 0x49, 0x8b, 0x33, 0x05,
179	0xdd, 0x84, 0x93, 0x79, 0xdf, 0xe7, 0xfc, 0xd2, 0xf3, 0x1c, 0x9b, 0x16, 0xb3, 0x44, 0x62, 0xee,
180	0xeb, 0xd0, 0x6b, 0x5a, 0x21, 0x05, 0xa3, 0xfa, 0xc5, 0x39, 0xa3, 0xc7, 0xe1, 0xcf, 0x5f, 0x8c,
181	0x6f, 0x3d, 0x76, 0x72, 0x41, 0x2c, 0x70, 0x3e, 0x81, 0x32, 0x53, 0xe9, 0x1a, 0xc1, 0x3b, 0x64,
182	0xf7, 0x74, 0xa2, 0xe9, 0x97, 0xa2, 0xc2, 0x3a, 0xb7, 0x60, 0x0a, 0xee, 0x78, 0x6e, 0x7b, 0x46,
183	0x21, 0x4d, 0x46, 0xbc, 0xdf, 0x04, 0xc4, 0x82, 0xf8, 0x48, 0xcb, 0xb7, 0x0a, 0x63, 0x0b, 0x7a,
184	0x6a, 0xa4, 0x12, 0x1c, 0x45, 0xb1, 0x4b, 0x48, 0xa6, 0xe0, 0x1e, 0x2a, 0xe8, 0x6e, 0x14, 0x9f,
185	0x68, 0xcf, 0x83, 0xb2, 0x0c, 0xac, 0xea, 0x30, 0x60, 0x7b, 0xad, 0x0c, 0xfc, 0x95, 0x4b, 0xc7,
186	0xfb, 0xa5, 0x19, 0xa3, 0x34, 0x8c, 0x1e, 0xe3, 0x68, 0xb5, 0x5c, 0x47, 0xe1, 0x64, 0x64, 0x93,
187	0x03, 0xb0, 0x89, 0x05, 0x73, 0x6e, 0x0e, 0xfe, 0x84, 0xed, 0x7b, 0x95, 0x21, 0x5b, 0x9b, 0xf8,
188	0x2a, 0xa9, 0x6b, 0x76, 0xf1, 0xfb, 0x54, 0xbb, 0x4d, 0xd9, 0x97, 0x7f, 0xc9, 0xdb, 0x75, 0x39,
189	0xff, 0x3e, 0x08, 0xd8, 0xea, 0x13, 0x2c, 0x9f, 0x6f, 0xca, 0x4a, 0xbe, 0xf6, 0xa9, 0x97, 0x89,
190	0x8d, 0x5f, 0x8a, 0x3a, 0xe1, 0xa5, 0x3f, 0xdc, 0x23, 0xed, 0x8b, 0x6d, 0x90, 0xcd, 0x4a, 0xe4,
191	0xb3, 0x52, 0xf8, 0x12, 0x3b, 0x99, 0x27, 0x32, 0x31, 0x4e, 0xf7, 0x05, 0x90, 0xfe, 0x1f, 0x5c,
192	0xd7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x08, 0xd5, 0xa0, 0x89, 0xdd, 0x01, 0x00, 0x00,
193}
194
195// Reference imports to suppress errors if they are not otherwise used.
196var _ context.Context
197var _ grpc.ClientConn
198
199// This is a compile-time assertion to ensure that this generated file
200// is compatible with the grpc package it is being compiled against.
201const _ = grpc.SupportPackageIsVersion4
202
203// DeprecatedServiceClient is the client API for DeprecatedService service.
204//
205// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
206//
207// Deprecated: Do not use.
208type DeprecatedServiceClient interface {
209	// DeprecatedCall takes a DeprecatedRequest and returns a DeprecatedResponse.
210	DeprecatedCall(ctx context.Context, in *DeprecatedRequest, opts ...grpc.CallOption) (*DeprecatedResponse, error)
211}
212
213type deprecatedServiceClient struct {
214	cc *grpc.ClientConn
215}
216
217// Deprecated: Do not use.
218func NewDeprecatedServiceClient(cc *grpc.ClientConn) DeprecatedServiceClient {
219	return &deprecatedServiceClient{cc}
220}
221
222// Deprecated: Do not use.
223func (c *deprecatedServiceClient) DeprecatedCall(ctx context.Context, in *DeprecatedRequest, opts ...grpc.CallOption) (*DeprecatedResponse, error) {
224	out := new(DeprecatedResponse)
225	err := c.cc.Invoke(ctx, "/deprecated.DeprecatedService/DeprecatedCall", in, out, opts...)
226	if err != nil {
227		return nil, err
228	}
229	return out, nil
230}
231
232// DeprecatedServiceServer is the server API for DeprecatedService service.
233//
234// Deprecated: Do not use.
235type DeprecatedServiceServer interface {
236	// DeprecatedCall takes a DeprecatedRequest and returns a DeprecatedResponse.
237	DeprecatedCall(context.Context, *DeprecatedRequest) (*DeprecatedResponse, error)
238}
239
240// Deprecated: Do not use.
241// UnimplementedDeprecatedServiceServer can be embedded to have forward compatible implementations.
242type UnimplementedDeprecatedServiceServer struct {
243}
244
245func (*UnimplementedDeprecatedServiceServer) DeprecatedCall(ctx context.Context, req *DeprecatedRequest) (*DeprecatedResponse, error) {
246	return nil, status.Errorf(codes.Unimplemented, "method DeprecatedCall not implemented")
247}
248
249// Deprecated: Do not use.
250func RegisterDeprecatedServiceServer(s *grpc.Server, srv DeprecatedServiceServer) {
251	s.RegisterService(&_DeprecatedService_serviceDesc, srv)
252}
253
254func _DeprecatedService_DeprecatedCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
255	in := new(DeprecatedRequest)
256	if err := dec(in); err != nil {
257		return nil, err
258	}
259	if interceptor == nil {
260		return srv.(DeprecatedServiceServer).DeprecatedCall(ctx, in)
261	}
262	info := &grpc.UnaryServerInfo{
263		Server:     srv,
264		FullMethod: "/deprecated.DeprecatedService/DeprecatedCall",
265	}
266	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
267		return srv.(DeprecatedServiceServer).DeprecatedCall(ctx, req.(*DeprecatedRequest))
268	}
269	return interceptor(ctx, in, info, handler)
270}
271
272var _DeprecatedService_serviceDesc = grpc.ServiceDesc{
273	ServiceName: "deprecated.DeprecatedService",
274	HandlerType: (*DeprecatedServiceServer)(nil),
275	Methods: []grpc.MethodDesc{
276		{
277			MethodName: "DeprecatedCall",
278			Handler:    _DeprecatedService_DeprecatedCall_Handler,
279		},
280	},
281	Streams:  []grpc.StreamDesc{},
282	Metadata: "deprecated/deprecated.proto",
283}
284