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