Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterLianjiaHTTPServer(s *http.Server, srv LianjiaHTTPServer)
- func RegisterLianjiaServer(s grpc.ServiceRegistrar, srv LianjiaServer)
- type ErShouFangInfo
- func (*ErShouFangInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ErShouFangInfo) GetArea() float32
- func (x *ErShouFangInfo) GetBrandTitle() string
- func (x *ErShouFangInfo) GetCityId() int64
- func (x *ErShouFangInfo) GetCommunity() string
- func (x *ErShouFangInfo) GetDesc() string
- func (x *ErShouFangInfo) GetDirection() string
- func (x *ErShouFangInfo) GetDistrict() string
- func (x *ErShouFangInfo) GetFbExpoId() string
- func (x *ErShouFangInfo) GetFloor() string
- func (x *ErShouFangInfo) GetHaofangStatus() int32
- func (x *ErShouFangInfo) GetHotTop() int32
- func (x *ErShouFangInfo) GetHotTopDigV() string
- func (x *ErShouFangInfo) GetHotTopDspAgentUcId() string
- func (x *ErShouFangInfo) GetHouseCode() string
- func (x *ErShouFangInfo) GetHouseStatus() int32
- func (x *ErShouFangInfo) GetIsCtypeHouse() int32
- func (x *ErShouFangInfo) GetJumpUrl() string
- func (x *ErShouFangInfo) GetKeyStatus() int32
- func (x *ErShouFangInfo) GetLayout() string
- func (x *ErShouFangInfo) GetListPictureUrl() string
- func (x *ErShouFangInfo) GetNewStatus() int32
- func (x *ErShouFangInfo) GetPriceInfoListTotalPricePrefix() string
- func (x *ErShouFangInfo) GetPriceInfoListTotalPriceStr() string
- func (x *ErShouFangInfo) GetPriceInfoListTotalPriceSuffix() string
- func (x *ErShouFangInfo) GetPriceInfoListUnitPricePrefix() string
- func (x *ErShouFangInfo) GetPriceInfoListUnitPriceStr() string
- func (x *ErShouFangInfo) GetPriceInfoListUnitPriceSuffix() string
- func (x *ErShouFangInfo) GetPriceListingGovCn() int32
- func (x *ErShouFangInfo) GetRecoDesc() string
- func (x *ErShouFangInfo) GetResblockId() int64
- func (x *ErShouFangInfo) GetSellPriceStatus() int32
- func (x *ErShouFangInfo) GetStreet() string
- func (x *ErShouFangInfo) GetTags() string
- func (x *ErShouFangInfo) GetTitle() string
- func (x *ErShouFangInfo) GetTotalFloor() int32
- func (x *ErShouFangInfo) GetTotalPrice() float32
- func (x *ErShouFangInfo) GetTotalPricePrefix() string
- func (x *ErShouFangInfo) GetTotalPriceSuffix() string
- func (x *ErShouFangInfo) GetTotalPriceTitle() string
- func (x *ErShouFangInfo) GetUnitPrice() float32
- func (x *ErShouFangInfo) GetUnitPriceGov() int32
- func (x *ErShouFangInfo) GetUnitPricePrefix() string
- func (x *ErShouFangInfo) GetUnitPriceSuffix() string
- func (x *ErShouFangInfo) GetUnitPriceTitle() string
- func (x *ErShouFangInfo) GetVrStatus() int32
- func (x *ErShouFangInfo) GetYeZhuTuijianStatus() int32
- func (x *ErShouFangInfo) GetYezhuPayStatus() int32
- func (*ErShouFangInfo) ProtoMessage()
- func (x *ErShouFangInfo) ProtoReflect() protoreflect.Message
- func (x *ErShouFangInfo) Reset()
- func (x *ErShouFangInfo) String() string
- func (m *ErShouFangInfo) Validate() error
- func (m *ErShouFangInfo) ValidateAll() error
- type ErShouFangInfoMultiError
- type ErShouFangInfoValidationError
- func (e ErShouFangInfoValidationError) Cause() error
- func (e ErShouFangInfoValidationError) Error() string
- func (e ErShouFangInfoValidationError) ErrorName() string
- func (e ErShouFangInfoValidationError) Field() string
- func (e ErShouFangInfoValidationError) Key() bool
- func (e ErShouFangInfoValidationError) Reason() string
- type LianjiaClient
- type LianjiaHTTPClient
- type LianjiaHTTPClientImpl
- type LianjiaHTTPServer
- type LianjiaServer
- type ListErshoufangReply
- func (*ListErshoufangReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListErshoufangReply) GetData() []*ErShouFangInfo
- func (x *ListErshoufangReply) GetTotal() int32
- func (*ListErshoufangReply) ProtoMessage()
- func (x *ListErshoufangReply) ProtoReflect() protoreflect.Message
- func (x *ListErshoufangReply) Reset()
- func (x *ListErshoufangReply) String() string
- func (m *ListErshoufangReply) Validate() error
- func (m *ListErshoufangReply) ValidateAll() error
- type ListErshoufangReplyMultiError
- type ListErshoufangReplyValidationError
- func (e ListErshoufangReplyValidationError) Cause() error
- func (e ListErshoufangReplyValidationError) Error() string
- func (e ListErshoufangReplyValidationError) ErrorName() string
- func (e ListErshoufangReplyValidationError) Field() string
- func (e ListErshoufangReplyValidationError) Key() bool
- func (e ListErshoufangReplyValidationError) Reason() string
- type ListErshoufangRequest
- func (*ListErshoufangRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListErshoufangRequest) GetPage() int32
- func (x *ListErshoufangRequest) GetQuery() string
- func (x *ListErshoufangRequest) GetSize() int32
- func (*ListErshoufangRequest) ProtoMessage()
- func (x *ListErshoufangRequest) ProtoReflect() protoreflect.Message
- func (x *ListErshoufangRequest) Reset()
- func (x *ListErshoufangRequest) String() string
- func (m *ListErshoufangRequest) Validate() error
- func (m *ListErshoufangRequest) ValidateAll() error
- type ListErshoufangRequestMultiError
- type ListErshoufangRequestValidationError
- func (e ListErshoufangRequestValidationError) Cause() error
- func (e ListErshoufangRequestValidationError) Error() string
- func (e ListErshoufangRequestValidationError) ErrorName() string
- func (e ListErshoufangRequestValidationError) Field() string
- func (e ListErshoufangRequestValidationError) Key() bool
- func (e ListErshoufangRequestValidationError) Reason() string
- type UnimplementedLianjiaServer
- type UnsafeLianjiaServer
Constants ¶
const OperationLianjiaListErshoufang = "/lianjia.v1.Lianjia/ListErshoufang"
Variables ¶
var File_lianjia_v1_lianjia_proto protoreflect.FileDescriptor
var Lianjia_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lianjia.v1.Lianjia", HandlerType: (*LianjiaServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListErshoufang", Handler: _Lianjia_ListErshoufang_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "lianjia/v1/lianjia.proto", }
Lianjia_ServiceDesc is the grpc.ServiceDesc for Lianjia service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLianjiaHTTPServer ¶
func RegisterLianjiaHTTPServer(s *http.Server, srv LianjiaHTTPServer)
func RegisterLianjiaServer ¶
func RegisterLianjiaServer(s grpc.ServiceRegistrar, srv LianjiaServer)
Types ¶
type ErShouFangInfo ¶
type ErShouFangInfo struct { CityId int64 `protobuf:"varint,1,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` HouseCode string `protobuf:"bytes,2,opt,name=house_code,json=houseCode,proto3" json:"house_code,omitempty"` ResblockId int64 `protobuf:"varint,3,opt,name=resblock_id,json=resblockId,proto3" json:"resblock_id,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` Desc string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"` RecoDesc string `protobuf:"bytes,6,opt,name=reco_desc,json=recoDesc,proto3" json:"reco_desc,omitempty"` TotalPrice float32 `protobuf:"fixed32,7,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"` UnitPrice float32 `protobuf:"fixed32,8,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"` JumpUrl string `protobuf:"bytes,9,opt,name=jump_url,json=jumpUrl,proto3" json:"jump_url,omitempty"` ListPictureUrl string `protobuf:"bytes,10,opt,name=list_picture_url,json=listPictureUrl,proto3" json:"list_picture_url,omitempty"` HouseStatus int32 `protobuf:"varint,11,opt,name=house_status,json=houseStatus,proto3" json:"house_status,omitempty"` IsCtypeHouse int32 `protobuf:"varint,12,opt,name=is_ctype_house,json=isCtypeHouse,proto3" json:"is_ctype_house,omitempty"` FbExpoId string `protobuf:"bytes,13,opt,name=fb_expo_id,json=fbExpoId,proto3" json:"fb_expo_id,omitempty"` YeZhuTuijianStatus int32 `protobuf:"varint,14,opt,name=ye_zhu_tuijian_status,json=yeZhuTuijianStatus,proto3" json:"ye_zhu_tuijian_status,omitempty"` HaofangStatus int32 `protobuf:"varint,15,opt,name=haofang_status,json=haofangStatus,proto3" json:"haofang_status,omitempty"` YezhuPayStatus int32 `protobuf:"varint,16,opt,name=yezhu_pay_status,json=yezhuPayStatus,proto3" json:"yezhu_pay_status,omitempty"` VrStatus int32 `protobuf:"varint,17,opt,name=vr_status,json=vrStatus,proto3" json:"vr_status,omitempty"` KeyStatus int32 `protobuf:"varint,18,opt,name=key_status,json=keyStatus,proto3" json:"key_status,omitempty"` NewStatus int32 `protobuf:"varint,19,opt,name=new_status,json=newStatus,proto3" json:"new_status,omitempty"` BrandTitle string `protobuf:"bytes,20,opt,name=brand_title,json=brandTitle,proto3" json:"brand_title,omitempty"` HotTopDspAgentUcId string `protobuf:"bytes,21,opt,name=hot_top_dsp_agent_uc_id,json=hotTopDspAgentUcId,proto3" json:"hot_top_dsp_agent_uc_id,omitempty"` HotTopDigV string `protobuf:"bytes,22,opt,name=hot_top_dig_v,json=hotTopDigV,proto3" json:"hot_top_dig_v,omitempty"` HotTop int32 `protobuf:"varint,23,opt,name=hot_top,json=hotTop,proto3" json:"hot_top,omitempty"` SellPriceStatus int32 `protobuf:"varint,24,opt,name=sell_price_status,json=sellPriceStatus,proto3" json:"sell_price_status,omitempty"` PriceListingGovCn int32 `protobuf:"varint,25,opt,name=price_listing_gov_cn,json=priceListingGovCn,proto3" json:"price_listing_gov_cn,omitempty"` UnitPriceGov int32 `protobuf:"varint,26,opt,name=unit_price_gov,json=unitPriceGov,proto3" json:"unit_price_gov,omitempty"` TotalPricePrefix string `protobuf:"bytes,27,opt,name=total_price_prefix,json=totalPricePrefix,proto3" json:"total_price_prefix,omitempty"` TotalPriceTitle string `protobuf:"bytes,28,opt,name=total_price_title,json=totalPriceTitle,proto3" json:"total_price_title,omitempty"` TotalPriceSuffix string `protobuf:"bytes,29,opt,name=total_price_suffix,json=totalPriceSuffix,proto3" json:"total_price_suffix,omitempty"` UnitPricePrefix string `protobuf:"bytes,30,opt,name=unit_price_prefix,json=unitPricePrefix,proto3" json:"unit_price_prefix,omitempty"` UnitPriceTitle string `protobuf:"bytes,31,opt,name=unit_price_title,json=unitPriceTitle,proto3" json:"unit_price_title,omitempty"` UnitPriceSuffix string `protobuf:"bytes,32,opt,name=unit_price_suffix,json=unitPriceSuffix,proto3" json:"unit_price_suffix,omitempty"` PriceInfoListTotalPricePrefix string `` /* 157-byte string literal not displayed */ PriceInfoListTotalPriceStr string `` /* 148-byte string literal not displayed */ PriceInfoListTotalPriceSuffix string `` /* 157-byte string literal not displayed */ PriceInfoListUnitPricePrefix string `` /* 154-byte string literal not displayed */ PriceInfoListUnitPriceStr string `` /* 145-byte string literal not displayed */ PriceInfoListUnitPriceSuffix string `` /* 154-byte string literal not displayed */ Tags string `protobuf:"bytes,39,opt,name=tags,proto3" json:"tags,omitempty"` Layout string `protobuf:"bytes,40,opt,name=layout,proto3" json:"layout,omitempty"` Area float32 `protobuf:"fixed32,41,opt,name=area,proto3" json:"area,omitempty"` Direction string `protobuf:"bytes,42,opt,name=direction,proto3" json:"direction,omitempty"` Community string `protobuf:"bytes,43,opt,name=community,proto3" json:"community,omitempty"` District string `protobuf:"bytes,44,opt,name=district,proto3" json:"district,omitempty"` Street string `protobuf:"bytes,45,opt,name=street,proto3" json:"street,omitempty"` Floor string `protobuf:"bytes,46,opt,name=floor,proto3" json:"floor,omitempty"` TotalFloor int32 `protobuf:"varint,47,opt,name=total_floor,json=totalFloor,proto3" json:"total_floor,omitempty"` // contains filtered or unexported fields }
func (*ErShouFangInfo) Descriptor
deprecated
func (*ErShouFangInfo) Descriptor() ([]byte, []int)
Deprecated: Use ErShouFangInfo.ProtoReflect.Descriptor instead.
func (*ErShouFangInfo) GetArea ¶
func (x *ErShouFangInfo) GetArea() float32
func (*ErShouFangInfo) GetBrandTitle ¶
func (x *ErShouFangInfo) GetBrandTitle() string
func (*ErShouFangInfo) GetCityId ¶
func (x *ErShouFangInfo) GetCityId() int64
func (*ErShouFangInfo) GetCommunity ¶
func (x *ErShouFangInfo) GetCommunity() string
func (*ErShouFangInfo) GetDesc ¶
func (x *ErShouFangInfo) GetDesc() string
func (*ErShouFangInfo) GetDirection ¶
func (x *ErShouFangInfo) GetDirection() string
func (*ErShouFangInfo) GetDistrict ¶
func (x *ErShouFangInfo) GetDistrict() string
func (*ErShouFangInfo) GetFbExpoId ¶
func (x *ErShouFangInfo) GetFbExpoId() string
func (*ErShouFangInfo) GetFloor ¶
func (x *ErShouFangInfo) GetFloor() string
func (*ErShouFangInfo) GetHaofangStatus ¶
func (x *ErShouFangInfo) GetHaofangStatus() int32
func (*ErShouFangInfo) GetHotTop ¶
func (x *ErShouFangInfo) GetHotTop() int32
func (*ErShouFangInfo) GetHotTopDigV ¶
func (x *ErShouFangInfo) GetHotTopDigV() string
func (*ErShouFangInfo) GetHotTopDspAgentUcId ¶
func (x *ErShouFangInfo) GetHotTopDspAgentUcId() string
func (*ErShouFangInfo) GetHouseCode ¶
func (x *ErShouFangInfo) GetHouseCode() string
func (*ErShouFangInfo) GetHouseStatus ¶
func (x *ErShouFangInfo) GetHouseStatus() int32
func (*ErShouFangInfo) GetIsCtypeHouse ¶
func (x *ErShouFangInfo) GetIsCtypeHouse() int32
func (*ErShouFangInfo) GetJumpUrl ¶
func (x *ErShouFangInfo) GetJumpUrl() string
func (*ErShouFangInfo) GetKeyStatus ¶
func (x *ErShouFangInfo) GetKeyStatus() int32
func (*ErShouFangInfo) GetLayout ¶
func (x *ErShouFangInfo) GetLayout() string
func (*ErShouFangInfo) GetListPictureUrl ¶
func (x *ErShouFangInfo) GetListPictureUrl() string
func (*ErShouFangInfo) GetNewStatus ¶
func (x *ErShouFangInfo) GetNewStatus() int32
func (*ErShouFangInfo) GetPriceInfoListTotalPricePrefix ¶
func (x *ErShouFangInfo) GetPriceInfoListTotalPricePrefix() string
func (*ErShouFangInfo) GetPriceInfoListTotalPriceStr ¶
func (x *ErShouFangInfo) GetPriceInfoListTotalPriceStr() string
func (*ErShouFangInfo) GetPriceInfoListTotalPriceSuffix ¶
func (x *ErShouFangInfo) GetPriceInfoListTotalPriceSuffix() string
func (*ErShouFangInfo) GetPriceInfoListUnitPricePrefix ¶
func (x *ErShouFangInfo) GetPriceInfoListUnitPricePrefix() string
func (*ErShouFangInfo) GetPriceInfoListUnitPriceStr ¶
func (x *ErShouFangInfo) GetPriceInfoListUnitPriceStr() string
func (*ErShouFangInfo) GetPriceInfoListUnitPriceSuffix ¶
func (x *ErShouFangInfo) GetPriceInfoListUnitPriceSuffix() string
func (*ErShouFangInfo) GetPriceListingGovCn ¶
func (x *ErShouFangInfo) GetPriceListingGovCn() int32
func (*ErShouFangInfo) GetRecoDesc ¶
func (x *ErShouFangInfo) GetRecoDesc() string
func (*ErShouFangInfo) GetResblockId ¶
func (x *ErShouFangInfo) GetResblockId() int64
func (*ErShouFangInfo) GetSellPriceStatus ¶
func (x *ErShouFangInfo) GetSellPriceStatus() int32
func (*ErShouFangInfo) GetStreet ¶
func (x *ErShouFangInfo) GetStreet() string
func (*ErShouFangInfo) GetTags ¶
func (x *ErShouFangInfo) GetTags() string
func (*ErShouFangInfo) GetTitle ¶
func (x *ErShouFangInfo) GetTitle() string
func (*ErShouFangInfo) GetTotalFloor ¶
func (x *ErShouFangInfo) GetTotalFloor() int32
func (*ErShouFangInfo) GetTotalPrice ¶
func (x *ErShouFangInfo) GetTotalPrice() float32
func (*ErShouFangInfo) GetTotalPricePrefix ¶
func (x *ErShouFangInfo) GetTotalPricePrefix() string
func (*ErShouFangInfo) GetTotalPriceSuffix ¶
func (x *ErShouFangInfo) GetTotalPriceSuffix() string
func (*ErShouFangInfo) GetTotalPriceTitle ¶
func (x *ErShouFangInfo) GetTotalPriceTitle() string
func (*ErShouFangInfo) GetUnitPrice ¶
func (x *ErShouFangInfo) GetUnitPrice() float32
func (*ErShouFangInfo) GetUnitPriceGov ¶
func (x *ErShouFangInfo) GetUnitPriceGov() int32
func (*ErShouFangInfo) GetUnitPricePrefix ¶
func (x *ErShouFangInfo) GetUnitPricePrefix() string
func (*ErShouFangInfo) GetUnitPriceSuffix ¶
func (x *ErShouFangInfo) GetUnitPriceSuffix() string
func (*ErShouFangInfo) GetUnitPriceTitle ¶
func (x *ErShouFangInfo) GetUnitPriceTitle() string
func (*ErShouFangInfo) GetVrStatus ¶
func (x *ErShouFangInfo) GetVrStatus() int32
func (*ErShouFangInfo) GetYeZhuTuijianStatus ¶
func (x *ErShouFangInfo) GetYeZhuTuijianStatus() int32
func (*ErShouFangInfo) GetYezhuPayStatus ¶
func (x *ErShouFangInfo) GetYezhuPayStatus() int32
func (*ErShouFangInfo) ProtoMessage ¶
func (*ErShouFangInfo) ProtoMessage()
func (*ErShouFangInfo) ProtoReflect ¶
func (x *ErShouFangInfo) ProtoReflect() protoreflect.Message
func (*ErShouFangInfo) Reset ¶
func (x *ErShouFangInfo) Reset()
func (*ErShouFangInfo) String ¶
func (x *ErShouFangInfo) String() string
func (*ErShouFangInfo) Validate ¶
func (m *ErShouFangInfo) Validate() error
Validate checks the field values on ErShouFangInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ErShouFangInfo) ValidateAll ¶
func (m *ErShouFangInfo) ValidateAll() error
ValidateAll checks the field values on ErShouFangInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ErShouFangInfoMultiError, or nil if none found.
type ErShouFangInfoMultiError ¶
type ErShouFangInfoMultiError []error
ErShouFangInfoMultiError is an error wrapping multiple validation errors returned by ErShouFangInfo.ValidateAll() if the designated constraints aren't met.
func (ErShouFangInfoMultiError) AllErrors ¶
func (m ErShouFangInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ErShouFangInfoMultiError) Error ¶
func (m ErShouFangInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ErShouFangInfoValidationError ¶
type ErShouFangInfoValidationError struct {
// contains filtered or unexported fields
}
ErShouFangInfoValidationError is the validation error returned by ErShouFangInfo.Validate if the designated constraints aren't met.
func (ErShouFangInfoValidationError) Cause ¶
func (e ErShouFangInfoValidationError) Cause() error
Cause function returns cause value.
func (ErShouFangInfoValidationError) Error ¶
func (e ErShouFangInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ErShouFangInfoValidationError) ErrorName ¶
func (e ErShouFangInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ErShouFangInfoValidationError) Field ¶
func (e ErShouFangInfoValidationError) Field() string
Field function returns field value.
func (ErShouFangInfoValidationError) Key ¶
func (e ErShouFangInfoValidationError) Key() bool
Key function returns key value.
func (ErShouFangInfoValidationError) Reason ¶
func (e ErShouFangInfoValidationError) Reason() string
Reason function returns reason value.
type LianjiaClient ¶
type LianjiaClient interface {
ListErshoufang(ctx context.Context, in *ListErshoufangRequest, opts ...grpc.CallOption) (*ListErshoufangReply, error)
}
LianjiaClient is the client API for Lianjia 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.
func NewLianjiaClient ¶
func NewLianjiaClient(cc grpc.ClientConnInterface) LianjiaClient
type LianjiaHTTPClient ¶
type LianjiaHTTPClient interface {
ListErshoufang(ctx context.Context, req *ListErshoufangRequest, opts ...http.CallOption) (rsp *ListErshoufangReply, err error)
}
func NewLianjiaHTTPClient ¶
func NewLianjiaHTTPClient(client *http.Client) LianjiaHTTPClient
type LianjiaHTTPClientImpl ¶
type LianjiaHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*LianjiaHTTPClientImpl) ListErshoufang ¶
func (c *LianjiaHTTPClientImpl) ListErshoufang(ctx context.Context, in *ListErshoufangRequest, opts ...http.CallOption) (*ListErshoufangReply, error)
type LianjiaHTTPServer ¶
type LianjiaHTTPServer interface {
ListErshoufang(context.Context, *ListErshoufangRequest) (*ListErshoufangReply, error)
}
type LianjiaServer ¶
type LianjiaServer interface { ListErshoufang(context.Context, *ListErshoufangRequest) (*ListErshoufangReply, error) // contains filtered or unexported methods }
LianjiaServer is the server API for Lianjia service. All implementations must embed UnimplementedLianjiaServer for forward compatibility
type ListErshoufangReply ¶
type ListErshoufangReply struct { Data []*ErShouFangInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListErshoufangReply) Descriptor
deprecated
func (*ListErshoufangReply) Descriptor() ([]byte, []int)
Deprecated: Use ListErshoufangReply.ProtoReflect.Descriptor instead.
func (*ListErshoufangReply) GetData ¶
func (x *ListErshoufangReply) GetData() []*ErShouFangInfo
func (*ListErshoufangReply) GetTotal ¶
func (x *ListErshoufangReply) GetTotal() int32
func (*ListErshoufangReply) ProtoMessage ¶
func (*ListErshoufangReply) ProtoMessage()
func (*ListErshoufangReply) ProtoReflect ¶
func (x *ListErshoufangReply) ProtoReflect() protoreflect.Message
func (*ListErshoufangReply) Reset ¶
func (x *ListErshoufangReply) Reset()
func (*ListErshoufangReply) String ¶
func (x *ListErshoufangReply) String() string
func (*ListErshoufangReply) Validate ¶
func (m *ListErshoufangReply) Validate() error
Validate checks the field values on ListErshoufangReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListErshoufangReply) ValidateAll ¶
func (m *ListErshoufangReply) ValidateAll() error
ValidateAll checks the field values on ListErshoufangReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListErshoufangReplyMultiError, or nil if none found.
type ListErshoufangReplyMultiError ¶
type ListErshoufangReplyMultiError []error
ListErshoufangReplyMultiError is an error wrapping multiple validation errors returned by ListErshoufangReply.ValidateAll() if the designated constraints aren't met.
func (ListErshoufangReplyMultiError) AllErrors ¶
func (m ListErshoufangReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListErshoufangReplyMultiError) Error ¶
func (m ListErshoufangReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListErshoufangReplyValidationError ¶
type ListErshoufangReplyValidationError struct {
// contains filtered or unexported fields
}
ListErshoufangReplyValidationError is the validation error returned by ListErshoufangReply.Validate if the designated constraints aren't met.
func (ListErshoufangReplyValidationError) Cause ¶
func (e ListErshoufangReplyValidationError) Cause() error
Cause function returns cause value.
func (ListErshoufangReplyValidationError) Error ¶
func (e ListErshoufangReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListErshoufangReplyValidationError) ErrorName ¶
func (e ListErshoufangReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListErshoufangReplyValidationError) Field ¶
func (e ListErshoufangReplyValidationError) Field() string
Field function returns field value.
func (ListErshoufangReplyValidationError) Key ¶
func (e ListErshoufangReplyValidationError) Key() bool
Key function returns key value.
func (ListErshoufangReplyValidationError) Reason ¶
func (e ListErshoufangReplyValidationError) Reason() string
Reason function returns reason value.
type ListErshoufangRequest ¶
type ListErshoufangRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*ListErshoufangRequest) Descriptor
deprecated
func (*ListErshoufangRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListErshoufangRequest.ProtoReflect.Descriptor instead.
func (*ListErshoufangRequest) GetPage ¶
func (x *ListErshoufangRequest) GetPage() int32
func (*ListErshoufangRequest) GetQuery ¶
func (x *ListErshoufangRequest) GetQuery() string
func (*ListErshoufangRequest) GetSize ¶
func (x *ListErshoufangRequest) GetSize() int32
func (*ListErshoufangRequest) ProtoMessage ¶
func (*ListErshoufangRequest) ProtoMessage()
func (*ListErshoufangRequest) ProtoReflect ¶
func (x *ListErshoufangRequest) ProtoReflect() protoreflect.Message
func (*ListErshoufangRequest) Reset ¶
func (x *ListErshoufangRequest) Reset()
func (*ListErshoufangRequest) String ¶
func (x *ListErshoufangRequest) String() string
func (*ListErshoufangRequest) Validate ¶
func (m *ListErshoufangRequest) Validate() error
Validate checks the field values on ListErshoufangRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListErshoufangRequest) ValidateAll ¶
func (m *ListErshoufangRequest) ValidateAll() error
ValidateAll checks the field values on ListErshoufangRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListErshoufangRequestMultiError, or nil if none found.
type ListErshoufangRequestMultiError ¶
type ListErshoufangRequestMultiError []error
ListErshoufangRequestMultiError is an error wrapping multiple validation errors returned by ListErshoufangRequest.ValidateAll() if the designated constraints aren't met.
func (ListErshoufangRequestMultiError) AllErrors ¶
func (m ListErshoufangRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListErshoufangRequestMultiError) Error ¶
func (m ListErshoufangRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListErshoufangRequestValidationError ¶
type ListErshoufangRequestValidationError struct {
// contains filtered or unexported fields
}
ListErshoufangRequestValidationError is the validation error returned by ListErshoufangRequest.Validate if the designated constraints aren't met.
func (ListErshoufangRequestValidationError) Cause ¶
func (e ListErshoufangRequestValidationError) Cause() error
Cause function returns cause value.
func (ListErshoufangRequestValidationError) Error ¶
func (e ListErshoufangRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListErshoufangRequestValidationError) ErrorName ¶
func (e ListErshoufangRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListErshoufangRequestValidationError) Field ¶
func (e ListErshoufangRequestValidationError) Field() string
Field function returns field value.
func (ListErshoufangRequestValidationError) Key ¶
func (e ListErshoufangRequestValidationError) Key() bool
Key function returns key value.
func (ListErshoufangRequestValidationError) Reason ¶
func (e ListErshoufangRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedLianjiaServer ¶
type UnimplementedLianjiaServer struct { }
UnimplementedLianjiaServer must be embedded to have forward compatible implementations.
func (UnimplementedLianjiaServer) ListErshoufang ¶
func (UnimplementedLianjiaServer) ListErshoufang(context.Context, *ListErshoufangRequest) (*ListErshoufangReply, error)
type UnsafeLianjiaServer ¶
type UnsafeLianjiaServer interface {
// contains filtered or unexported methods
}
UnsafeLianjiaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LianjiaServer will result in compilation errors.