// Code generated by protoc-gen-go. DO NOT EDIT. // source: household_service.proto // package声明符,用来防止不同的消息类型有命名冲突 package pb import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" math "math" v1 "property-system-gateway/pb/v1" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("household_service.proto", fileDescriptor_29439a8e98771332) } var fileDescriptor_29439a8e98771332 = []byte{ // 353 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x5d, 0x4b, 0xc3, 0x30, 0x14, 0x86, 0xbd, 0x12, 0x0d, 0xf8, 0x95, 0x9b, 0x69, 0xb7, 0x29, 0xf8, 0x31, 0xbc, 0x59, 0xc7, 0xf4, 0x17, 0x28, 0xbb, 0x50, 0x18, 0x08, 0x93, 0xdd, 0x78, 0x33, 0x5a, 0x77, 0xd8, 0x26, 0xdd, 0x12, 0x93, 0xb4, 0xa3, 0xbf, 0xc6, 0xbf, 0x2a, 0x6d, 0x76, 0x62, 0xda, 0xa6, 0x9b, 0x97, 0x7d, 0x9f, 0x37, 0xcf, 0x81, 0x73, 0xa0, 0xa4, 0x31, 0x67, 0xb1, 0x84, 0x39, 0x8b, 0xa6, 0x13, 0x09, 0x22, 0x59, 0x7c, 0x82, 0xcf, 0x05, 0x53, 0x8c, 0x12, 0x1e, 0xfa, 0x9b, 0xc4, 0xa3, 0x49, 0xbf, 0x67, 0x7a, 0x9a, 0x3f, 0xfc, 0x1c, 0x90, 0xc3, 0x17, 0xcc, 0xe8, 0x90, 0x1c, 0x9b, 0x8f, 0x27, 0xce, 0xa3, 0x94, 0xb6, 0x7c, 0x1e, 0x4e, 0x92, 0xbe, 0x5f, 0x8c, 0x47, 0xf0, 0x1d, 0x83, 0x54, 0x9e, 0x57, 0x43, 0x79, 0x94, 0x5e, 0xef, 0xd1, 0x11, 0x39, 0xb5, 0x81, 0x60, 0x09, 0xd0, 0x4b, 0xc7, 0x8b, 0x0c, 0xa0, 0xb1, 0x55, 0xcb, 0xb5, 0xf3, 0x95, 0x1c, 0x19, 0x34, 0x5c, 0x48, 0x45, 0x9b, 0xe5, 0x07, 0x59, 0x8a, 0xb6, 0x0b, 0x37, 0xd4, 0xaa, 0x31, 0x39, 0x33, 0xf9, 0x58, 0x82, 0xc8, 0x75, 0x57, 0xe5, 0x17, 0x48, 0x50, 0xd9, 0xae, 0x2f, 0x68, 0x2d, 0xee, 0x70, 0x04, 0x2b, 0xe5, 0xd8, 0xa1, 0x89, 0x9d, 0x3b, 0xb4, 0x68, 0x71, 0x87, 0x1b, 0x50, 0xdd, 0xa1, 0x05, 0x9c, 0x3b, 0x2c, 0x70, 0xed, 0x7c, 0x23, 0x27, 0x06, 0x8d, 0xf9, 0x34, 0x50, 0x40, 0xdb, 0xe5, 0x27, 0x3a, 0x47, 0x63, 0xb3, 0x0e, 0x17, 0x8f, 0x92, 0x91, 0x01, 0x5b, 0xaf, 0x68, 0xa5, 0x9f, 0xa5, 0xce, 0xa3, 0xfc, 0xc1, 0xaa, 0xaa, 0x7a, 0x5f, 0x4c, 0x6b, 0x55, 0xf6, 0x21, 0xbe, 0xc8, 0xb9, 0xbd, 0x01, 0xb6, 0x58, 0xa9, 0x25, 0x5a, 0x3b, 0x8e, 0x15, 0xd9, 0x05, 0x1c, 0x70, 0xbb, 0xb3, 0xa7, 0x67, 0xcd, 0x48, 0xc3, 0x55, 0x19, 0x40, 0x44, 0xef, 0xb6, 0x28, 0x06, 0x10, 0xe1, 0xa4, 0x9b, 0x5d, 0x35, 0x3d, 0x88, 0x13, 0xcf, 0xd5, 0x78, 0x57, 0x81, 0x8a, 0x25, 0xbd, 0xdf, 0x22, 0xd1, 0x15, 0x1c, 0xd7, 0xf9, 0x47, 0x33, 0x9f, 0xf8, 0xdc, 0xfa, 0xf0, 0xb8, 0x60, 0x1c, 0x84, 0x4a, 0xbb, 0x32, 0x95, 0x0a, 0x96, 0xdd, 0x59, 0xa0, 0x60, 0x1d, 0xa4, 0x3d, 0x1e, 0x86, 0xfb, 0xf9, 0x6f, 0xe4, 0xf1, 0x37, 0x00, 0x00, 0xff, 0xff, 0x25, 0xa0, 0xfa, 0xfd, 0x81, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // HouseholdClient is the client API for Household service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type HouseholdClient interface { // HouseholdApply(ctx context.Context, in *v1.HouseholdApplyRequest, opts ...grpc.CallOption) (*v1.HouseholdApplyReply, error) HouseholdApprove(ctx context.Context, in *v1.HouseholdApproveRequest, opts ...grpc.CallOption) (*v1.HouseholdApproveReply, error) HouseholdList(ctx context.Context, in *v1.HouseholdListRequest, opts ...grpc.CallOption) (*v1.HouseholdListReply, error) // 通过审核的业主信息列表 HouseholdUserList(ctx context.Context, in *v1.HouseholdUserListRequest, opts ...grpc.CallOption) (*v1.HouseholdUserListReply, error) // 房屋租赁 HouseRentApply(ctx context.Context, in *v1.HouseRentApplyRequest, opts ...grpc.CallOption) (*v1.HouseRentApplyReply, error) HouseRentApprove(ctx context.Context, in *v1.HouseRentApproveRequest, opts ...grpc.CallOption) (*v1.HouseRentApproveReply, error) HouseRentUpdate(ctx context.Context, in *v1.HouseRentUpdateRequest, opts ...grpc.CallOption) (*v1.HouseRentUpdateReply, error) HouseRentDown(ctx context.Context, in *v1.HouseRentDownRequest, opts ...grpc.CallOption) (*v1.HouseRentDownReply, error) HouseRentList(ctx context.Context, in *v1.HouseRentListRequest, opts ...grpc.CallOption) (*v1.HouseRentListReply, error) // 租房预约列表 HouseRentAppointmentList(ctx context.Context, in *v1.HouseRentAppointmentListRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentListReply, error) // 删除租房预约 HouseRentAppointmentDel(ctx context.Context, in *v1.HouseRentAppointmentDelRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentDelReply, error) HouseRentAppointmentStatus(ctx context.Context, in *v1.HouseRentAppointmentStatusRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentStatusReply, error) } type householdClient struct { cc grpc.ClientConnInterface } func NewHouseholdClient(cc grpc.ClientConnInterface) HouseholdClient { return &householdClient{cc} } func (c *householdClient) HouseholdApply(ctx context.Context, in *v1.HouseholdApplyRequest, opts ...grpc.CallOption) (*v1.HouseholdApplyReply, error) { out := new(v1.HouseholdApplyReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdApply", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdApprove(ctx context.Context, in *v1.HouseholdApproveRequest, opts ...grpc.CallOption) (*v1.HouseholdApproveReply, error) { out := new(v1.HouseholdApproveReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdList(ctx context.Context, in *v1.HouseholdListRequest, opts ...grpc.CallOption) (*v1.HouseholdListReply, error) { out := new(v1.HouseholdListReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdUserList(ctx context.Context, in *v1.HouseholdUserListRequest, opts ...grpc.CallOption) (*v1.HouseholdUserListReply, error) { out := new(v1.HouseholdUserListReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdUserList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentApply(ctx context.Context, in *v1.HouseRentApplyRequest, opts ...grpc.CallOption) (*v1.HouseRentApplyReply, error) { out := new(v1.HouseRentApplyReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentApply", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentApprove(ctx context.Context, in *v1.HouseRentApproveRequest, opts ...grpc.CallOption) (*v1.HouseRentApproveReply, error) { out := new(v1.HouseRentApproveReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentUpdate(ctx context.Context, in *v1.HouseRentUpdateRequest, opts ...grpc.CallOption) (*v1.HouseRentUpdateReply, error) { out := new(v1.HouseRentUpdateReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentDown(ctx context.Context, in *v1.HouseRentDownRequest, opts ...grpc.CallOption) (*v1.HouseRentDownReply, error) { out := new(v1.HouseRentDownReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentDown", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentList(ctx context.Context, in *v1.HouseRentListRequest, opts ...grpc.CallOption) (*v1.HouseRentListReply, error) { out := new(v1.HouseRentListReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentAppointmentList(ctx context.Context, in *v1.HouseRentAppointmentListRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentListReply, error) { out := new(v1.HouseRentAppointmentListReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentAppointmentDel(ctx context.Context, in *v1.HouseRentAppointmentDelRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentDelReply, error) { out := new(v1.HouseRentAppointmentDelReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentAppointmentStatus(ctx context.Context, in *v1.HouseRentAppointmentStatusRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentStatusReply, error) { out := new(v1.HouseRentAppointmentStatusReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } // HouseholdServer is the server API for Household service. type HouseholdServer interface { // HouseholdApply(context.Context, *v1.HouseholdApplyRequest) (*v1.HouseholdApplyReply, error) HouseholdApprove(context.Context, *v1.HouseholdApproveRequest) (*v1.HouseholdApproveReply, error) HouseholdList(context.Context, *v1.HouseholdListRequest) (*v1.HouseholdListReply, error) // 通过审核的业主信息列表 HouseholdUserList(context.Context, *v1.HouseholdUserListRequest) (*v1.HouseholdUserListReply, error) // 房屋租赁 HouseRentApply(context.Context, *v1.HouseRentApplyRequest) (*v1.HouseRentApplyReply, error) HouseRentApprove(context.Context, *v1.HouseRentApproveRequest) (*v1.HouseRentApproveReply, error) HouseRentUpdate(context.Context, *v1.HouseRentUpdateRequest) (*v1.HouseRentUpdateReply, error) HouseRentDown(context.Context, *v1.HouseRentDownRequest) (*v1.HouseRentDownReply, error) HouseRentList(context.Context, *v1.HouseRentListRequest) (*v1.HouseRentListReply, error) // 租房预约列表 HouseRentAppointmentList(context.Context, *v1.HouseRentAppointmentListRequest) (*v1.HouseRentAppointmentListReply, error) // 删除租房预约 HouseRentAppointmentDel(context.Context, *v1.HouseRentAppointmentDelRequest) (*v1.HouseRentAppointmentDelReply, error) HouseRentAppointmentStatus(context.Context, *v1.HouseRentAppointmentStatusRequest) (*v1.HouseRentAppointmentStatusReply, error) } // UnimplementedHouseholdServer can be embedded to have forward compatible implementations. type UnimplementedHouseholdServer struct { } func (*UnimplementedHouseholdServer) HouseholdApply(ctx context.Context, req *v1.HouseholdApplyRequest) (*v1.HouseholdApplyReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdApply not implemented") } func (*UnimplementedHouseholdServer) HouseholdApprove(ctx context.Context, req *v1.HouseholdApproveRequest) (*v1.HouseholdApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdApprove not implemented") } func (*UnimplementedHouseholdServer) HouseholdList(ctx context.Context, req *v1.HouseholdListRequest) (*v1.HouseholdListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdList not implemented") } func (*UnimplementedHouseholdServer) HouseholdUserList(ctx context.Context, req *v1.HouseholdUserListRequest) (*v1.HouseholdUserListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdUserList not implemented") } func (*UnimplementedHouseholdServer) HouseRentApply(ctx context.Context, req *v1.HouseRentApplyRequest) (*v1.HouseRentApplyReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentApply not implemented") } func (*UnimplementedHouseholdServer) HouseRentApprove(ctx context.Context, req *v1.HouseRentApproveRequest) (*v1.HouseRentApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentApprove not implemented") } func (*UnimplementedHouseholdServer) HouseRentUpdate(ctx context.Context, req *v1.HouseRentUpdateRequest) (*v1.HouseRentUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentUpdate not implemented") } func (*UnimplementedHouseholdServer) HouseRentDown(ctx context.Context, req *v1.HouseRentDownRequest) (*v1.HouseRentDownReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentDown not implemented") } func (*UnimplementedHouseholdServer) HouseRentList(ctx context.Context, req *v1.HouseRentListRequest) (*v1.HouseRentListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentList not implemented") } func (*UnimplementedHouseholdServer) HouseRentAppointmentList(ctx context.Context, req *v1.HouseRentAppointmentListRequest) (*v1.HouseRentAppointmentListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentList not implemented") } func (*UnimplementedHouseholdServer) HouseRentAppointmentDel(ctx context.Context, req *v1.HouseRentAppointmentDelRequest) (*v1.HouseRentAppointmentDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentDel not implemented") } func (*UnimplementedHouseholdServer) HouseRentAppointmentStatus(ctx context.Context, req *v1.HouseRentAppointmentStatusRequest) (*v1.HouseRentAppointmentStatusReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentStatus not implemented") } func RegisterHouseholdServer(s *grpc.Server, srv HouseholdServer) { s.RegisterService(&_Household_serviceDesc, srv) } func _Household_HouseholdApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdApplyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdApply(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdApply", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdApply(ctx, req.(*v1.HouseholdApplyRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdApprove(ctx, req.(*v1.HouseholdApproveRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdList(ctx, req.(*v1.HouseholdListRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdUserListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdUserList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdUserList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdUserList(ctx, req.(*v1.HouseholdUserListRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentApplyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentApply(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentApply", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentApply(ctx, req.(*v1.HouseRentApplyRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentApprove(ctx, req.(*v1.HouseRentApproveRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentUpdate(ctx, req.(*v1.HouseRentUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentDown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentDownRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentDown(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentDown", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentDown(ctx, req.(*v1.HouseRentDownRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentList(ctx, req.(*v1.HouseRentListRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentAppointmentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentAppointmentListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentAppointmentList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentAppointmentList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentAppointmentList(ctx, req.(*v1.HouseRentAppointmentListRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentAppointmentDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentAppointmentDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentAppointmentDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentAppointmentDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentAppointmentDel(ctx, req.(*v1.HouseRentAppointmentDelRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentAppointmentStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentAppointmentStatusRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentAppointmentStatus(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentAppointmentStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentAppointmentStatus(ctx, req.(*v1.HouseRentAppointmentStatusRequest)) } return interceptor(ctx, in, info, handler) } var _Household_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.service.Household", HandlerType: (*HouseholdServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HouseholdApply", Handler: _Household_HouseholdApply_Handler, }, { MethodName: "HouseholdApprove", Handler: _Household_HouseholdApprove_Handler, }, { MethodName: "HouseholdList", Handler: _Household_HouseholdList_Handler, }, { MethodName: "HouseholdUserList", Handler: _Household_HouseholdUserList_Handler, }, { MethodName: "HouseRentApply", Handler: _Household_HouseRentApply_Handler, }, { MethodName: "HouseRentApprove", Handler: _Household_HouseRentApprove_Handler, }, { MethodName: "HouseRentUpdate", Handler: _Household_HouseRentUpdate_Handler, }, { MethodName: "HouseRentDown", Handler: _Household_HouseRentDown_Handler, }, { MethodName: "HouseRentList", Handler: _Household_HouseRentList_Handler, }, { MethodName: "HouseRentAppointmentList", Handler: _Household_HouseRentAppointmentList_Handler, }, { MethodName: "HouseRentAppointmentDel", Handler: _Household_HouseRentAppointmentDel_Handler, }, { MethodName: "HouseRentAppointmentStatus", Handler: _Household_HouseRentAppointmentStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "household_service.proto", }