// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc v3.21.12 // source: data.proto package protobufs import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" ) // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 const ( DataIPCService_CalculateChallengeProof_FullMethodName = "/quilibrium.node.data.pb.DataIPCService/CalculateChallengeProof" ) // DataIPCServiceClient is the client API for DataIPCService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type DataIPCServiceClient interface { CalculateChallengeProof(ctx context.Context, in *ChallengeProofRequest, opts ...grpc.CallOption) (*ChallengeProofResponse, error) } type dataIPCServiceClient struct { cc grpc.ClientConnInterface } func NewDataIPCServiceClient(cc grpc.ClientConnInterface) DataIPCServiceClient { return &dataIPCServiceClient{cc} } func (c *dataIPCServiceClient) CalculateChallengeProof(ctx context.Context, in *ChallengeProofRequest, opts ...grpc.CallOption) (*ChallengeProofResponse, error) { out := new(ChallengeProofResponse) err := c.cc.Invoke(ctx, DataIPCService_CalculateChallengeProof_FullMethodName, in, out, opts...) if err != nil { return nil, err } return out, nil } // DataIPCServiceServer is the server API for DataIPCService service. // All implementations must embed UnimplementedDataIPCServiceServer // for forward compatibility type DataIPCServiceServer interface { CalculateChallengeProof(context.Context, *ChallengeProofRequest) (*ChallengeProofResponse, error) mustEmbedUnimplementedDataIPCServiceServer() } // UnimplementedDataIPCServiceServer must be embedded to have forward compatible implementations. type UnimplementedDataIPCServiceServer struct { } func (UnimplementedDataIPCServiceServer) CalculateChallengeProof(context.Context, *ChallengeProofRequest) (*ChallengeProofResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CalculateChallengeProof not implemented") } func (UnimplementedDataIPCServiceServer) mustEmbedUnimplementedDataIPCServiceServer() {} // UnsafeDataIPCServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to DataIPCServiceServer will // result in compilation errors. type UnsafeDataIPCServiceServer interface { mustEmbedUnimplementedDataIPCServiceServer() } func RegisterDataIPCServiceServer(s grpc.ServiceRegistrar, srv DataIPCServiceServer) { s.RegisterService(&DataIPCService_ServiceDesc, srv) } func _DataIPCService_CalculateChallengeProof_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ChallengeProofRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DataIPCServiceServer).CalculateChallengeProof(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: DataIPCService_CalculateChallengeProof_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DataIPCServiceServer).CalculateChallengeProof(ctx, req.(*ChallengeProofRequest)) } return interceptor(ctx, in, info, handler) } // DataIPCService_ServiceDesc is the grpc.ServiceDesc for DataIPCService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var DataIPCService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "quilibrium.node.data.pb.DataIPCService", HandlerType: (*DataIPCServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CalculateChallengeProof", Handler: _DataIPCService_CalculateChallengeProof_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "data.proto", }