Documentation ¶
Index ¶
- Variables
- func NewAreaServiceEndpoints() []*api.Endpoint
- func RegisterAreaServiceHandler(s server.Server, hdlr AreaServiceHandler, opts ...server.HandlerOption) error
- type Area
- func (*Area) Descriptor() ([]byte, []int)deprecated
- func (x *Area) GetChildAreaIDs() []uint32
- func (x *Area) GetId() uint32
- func (x *Area) GetIsInbound() bool
- func (x *Area) GetIsOutbound() bool
- func (x *Area) GetIsValid() bool
- func (x *Area) GetOrderCapacity() uint32
- func (x *Area) GetParentAreaID() uint32
- func (x *Area) GetProperties() string
- func (x *Area) GetRacklots() []uint32
- func (x *Area) GetType() *AreaType
- func (*Area) ProtoMessage()
- func (x *Area) ProtoReflect() protoreflect.Message
- func (x *Area) Reset()
- func (x *Area) String() string
- type AreaFilter
- func (*AreaFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AreaFilter) GetAnd() []*AreaFilter
- func (x *AreaFilter) GetChildAreaIDIn() []uint32
- func (x *AreaFilter) GetIdIn() []uint32
- func (x *AreaFilter) GetIsInbound() *wrappers.BoolValue
- func (x *AreaFilter) GetIsOutbound() *wrappers.BoolValue
- func (x *AreaFilter) GetIsValid() *wrappers.BoolValue
- func (x *AreaFilter) GetOr() []*AreaFilter
- func (x *AreaFilter) GetParentAreaID() *wrappers.UInt32Value
- func (x *AreaFilter) GetProperties() []*AreaPropertyFilter
- func (x *AreaFilter) GetRacklotIDIn() []uint32
- func (x *AreaFilter) GetType() *AreaTypeFilter
- func (*AreaFilter) ProtoMessage()
- func (x *AreaFilter) ProtoReflect() protoreflect.Message
- func (x *AreaFilter) Reset()
- func (x *AreaFilter) String() string
- type AreaIDReq
- type AreaPropertyFilter
- func (*AreaPropertyFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AreaPropertyFilter) GetKey() string
- func (x *AreaPropertyFilter) GetType() string
- func (x *AreaPropertyFilter) GetValue() string
- func (*AreaPropertyFilter) ProtoMessage()
- func (x *AreaPropertyFilter) ProtoReflect() protoreflect.Message
- func (x *AreaPropertyFilter) Reset()
- func (x *AreaPropertyFilter) String() string
- type AreaQuery
- func (*AreaQuery) Descriptor() ([]byte, []int)deprecated
- func (x *AreaQuery) GetFilter() *AreaFilter
- func (x *AreaQuery) GetLimit() uint32
- func (x *AreaQuery) GetOffset() uint32
- func (x *AreaQuery) GetPage() uint32
- func (x *AreaQuery) GetPerPage() uint32
- func (*AreaQuery) ProtoMessage()
- func (x *AreaQuery) ProtoReflect() protoreflect.Message
- func (x *AreaQuery) Reset()
- func (x *AreaQuery) String() string
- type AreaService
- type AreaServiceHandler
- type AreaType
- func (*AreaType) Descriptor() ([]byte, []int)deprecated
- func (x *AreaType) GetDescription() string
- func (x *AreaType) GetId() uint32
- func (x *AreaType) GetName() string
- func (x *AreaType) GetProperties() string
- func (*AreaType) ProtoMessage()
- func (x *AreaType) ProtoReflect() protoreflect.Message
- func (x *AreaType) Reset()
- func (x *AreaType) String() string
- type AreaTypeFilter
- func (*AreaTypeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AreaTypeFilter) GetAnd() []*AreaTypeFilter
- func (x *AreaTypeFilter) GetId() *wrappers.UInt32Value
- func (x *AreaTypeFilter) GetIdIn() []uint32
- func (x *AreaTypeFilter) GetName() *wrappers.StringValue
- func (x *AreaTypeFilter) GetNameIn() []string
- func (x *AreaTypeFilter) GetOr() []*AreaTypeFilter
- func (*AreaTypeFilter) ProtoMessage()
- func (x *AreaTypeFilter) ProtoReflect() protoreflect.Message
- func (x *AreaTypeFilter) Reset()
- func (x *AreaTypeFilter) String() string
- type AreaTypeQuery
- func (*AreaTypeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *AreaTypeQuery) GetFilter() *AreaTypeFilter
- func (x *AreaTypeQuery) GetLimit() uint32
- func (x *AreaTypeQuery) GetOffset() uint32
- func (x *AreaTypeQuery) GetPage() uint32
- func (x *AreaTypeQuery) GetPerPage() uint32
- func (*AreaTypeQuery) ProtoMessage()
- func (x *AreaTypeQuery) ProtoReflect() protoreflect.Message
- func (x *AreaTypeQuery) Reset()
- func (x *AreaTypeQuery) String() string
- type AreaTypes
- func (*AreaTypes) Descriptor() ([]byte, []int)deprecated
- func (x *AreaTypes) GetAreaTypes() []*AreaType
- func (x *AreaTypes) GetCurrpages() uint32
- func (x *AreaTypes) GetTotalpages() uint32
- func (x *AreaTypes) GetTotals() uint32
- func (*AreaTypes) ProtoMessage()
- func (x *AreaTypes) ProtoReflect() protoreflect.Message
- func (x *AreaTypes) Reset()
- func (x *AreaTypes) String() string
- type Areas
- func (*Areas) Descriptor() ([]byte, []int)deprecated
- func (x *Areas) GetAreas() []*Area
- func (x *Areas) GetCurrpages() uint32
- func (x *Areas) GetTotalpages() uint32
- func (x *Areas) GetTotals() uint32
- func (*Areas) ProtoMessage()
- func (x *Areas) ProtoReflect() protoreflect.Message
- func (x *Areas) Reset()
- func (x *Areas) String() string
- type CapReq
- type ChildsReq
- type FlagReq
- type LogLevelRequest
- type LogResponse
- type Loglevel
- type ParentReq
- type PropertiesReq
- func (*PropertiesReq) Descriptor() ([]byte, []int)deprecated
- func (x *PropertiesReq) GetId() uint32
- func (x *PropertiesReq) GetProperties() string
- func (*PropertiesReq) ProtoMessage()
- func (x *PropertiesReq) ProtoReflect() protoreflect.Message
- func (x *PropertiesReq) Reset()
- func (x *PropertiesReq) String() string
- type Property
- func (*Property) Descriptor() ([]byte, []int)deprecated
- func (x *Property) GetKey() string
- func (x *Property) GetType() string
- func (x *Property) GetValue() string
- func (*Property) ProtoMessage()
- func (x *Property) ProtoReflect() protoreflect.Message
- func (x *Property) Reset()
- func (x *Property) String() string
- type RacklotsReq
- func (*RacklotsReq) Descriptor() ([]byte, []int)deprecated
- func (x *RacklotsReq) GetId() uint32
- func (x *RacklotsReq) GetRacklots() []uint32
- func (*RacklotsReq) ProtoMessage()
- func (x *RacklotsReq) ProtoReflect() protoreflect.Message
- func (x *RacklotsReq) Reset()
- func (x *RacklotsReq) String() string
- type Response
- type TaskReq
- type TypeReq
- func (*TypeReq) Descriptor() ([]byte, []int)deprecated
- func (x *TypeReq) GetId() uint32
- func (x *TypeReq) GetName() string
- func (x *TypeReq) GetType() int32
- func (*TypeReq) ProtoMessage()
- func (x *TypeReq) ProtoReflect() protoreflect.Message
- func (x *TypeReq) Reset()
- func (x *TypeReq) String() string
- type UpdateArea
- func (*UpdateArea) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateArea) GetId() *wrappers.UInt32Value
- func (x *UpdateArea) GetIsInbound() *wrappers.BoolValue
- func (x *UpdateArea) GetIsOutbound() *wrappers.BoolValue
- func (x *UpdateArea) GetIsValid() *wrappers.BoolValue
- func (x *UpdateArea) GetOrderCapacity() *wrappers.UInt32Value
- func (x *UpdateArea) GetParentAreaID() *wrappers.UInt32Value
- func (x *UpdateArea) GetProperties() string
- func (x *UpdateArea) GetRacklots() []uint32
- func (x *UpdateArea) GetType() *wrappers.UInt32Value
- func (*UpdateArea) ProtoMessage()
- func (x *UpdateArea) ProtoReflect() protoreflect.Message
- func (x *UpdateArea) Reset()
- func (x *UpdateArea) String() string
- type UpdateAreaReq
- func (*UpdateAreaReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAreaReq) GetArea() *UpdateArea
- func (x *UpdateAreaReq) GetId() uint32
- func (*UpdateAreaReq) ProtoMessage()
- func (x *UpdateAreaReq) ProtoReflect() protoreflect.Message
- func (x *UpdateAreaReq) Reset()
- func (x *UpdateAreaReq) String() string
- type UpdateAreaType
- func (*UpdateAreaType) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAreaType) GetDescription() *wrappers.StringValue
- func (x *UpdateAreaType) GetId() *wrappers.UInt32Value
- func (x *UpdateAreaType) GetName() *wrappers.StringValue
- func (x *UpdateAreaType) GetProperties() string
- func (*UpdateAreaType) ProtoMessage()
- func (x *UpdateAreaType) ProtoReflect() protoreflect.Message
- func (x *UpdateAreaType) Reset()
- func (x *UpdateAreaType) String() string
- type UpdateAreaTypeReq
- func (*UpdateAreaTypeReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAreaTypeReq) GetArea() *UpdateAreaType
- func (x *UpdateAreaTypeReq) GetId() uint32
- func (*UpdateAreaTypeReq) ProtoMessage()
- func (x *UpdateAreaTypeReq) ProtoReflect() protoreflect.Message
- func (x *UpdateAreaTypeReq) Reset()
- func (x *UpdateAreaTypeReq) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_area_area_proto protoreflect.FileDescriptor
Functions ¶
func NewAreaServiceEndpoints ¶
func RegisterAreaServiceHandler ¶
func RegisterAreaServiceHandler(s server.Server, hdlr AreaServiceHandler, opts ...server.HandlerOption) error
Types ¶
type Area ¶
type Area struct { // 区域ID Id uint32 `protobuf:"varint,20,opt,name=id,proto3" json:"id,omitempty"` // 父级区域ID ParentAreaID uint32 `protobuf:"varint,21,opt,name=parentAreaID,proto3" json:"parentAreaID,omitempty"` // 区域类型 Type *AreaType `protobuf:"bytes,22,opt,name=type,proto3" json:"type,omitempty"` //区域的货位列表,待仔细考虑 Racklots []uint32 `protobuf:"varint,23,rep,packed,name=racklots,proto3" json:"racklots,omitempty"` // 区域任务容量 OrderCapacity uint32 `protobuf:"varint,25,opt,name=orderCapacity,proto3" json:"orderCapacity,omitempty"` //是否允许入库 IsInbound bool `protobuf:"varint,28,opt,name=isInbound,proto3" json:"isInbound,omitempty"` //是否允许出库 IsOutbound bool `protobuf:"varint,29,opt,name=isOutbound,proto3" json:"isOutbound,omitempty"` IsValid bool `protobuf:"varint,32,opt,name=isValid,proto3" json:"isValid,omitempty"` // 子级区域ID ChildAreaIDs []uint32 `protobuf:"varint,27,rep,packed,name=childAreaIDs,proto3" json:"childAreaIDs,omitempty"` Properties string `protobuf:"bytes,31,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*Area) Descriptor
deprecated
func (*Area) GetChildAreaIDs ¶
func (*Area) GetIsInbound ¶
func (*Area) GetIsOutbound ¶
func (*Area) GetIsValid ¶
func (*Area) GetOrderCapacity ¶
func (*Area) GetParentAreaID ¶
func (*Area) GetProperties ¶
func (*Area) GetRacklots ¶
func (*Area) ProtoMessage ¶
func (*Area) ProtoMessage()
func (*Area) ProtoReflect ¶
func (x *Area) ProtoReflect() protoreflect.Message
type AreaFilter ¶
type AreaFilter struct { And []*AreaFilter `protobuf:"bytes,1,rep,name=and,proto3" json:"and,omitempty"` Or []*AreaFilter `protobuf:"bytes,2,rep,name=or,proto3" json:"or,omitempty"` IdIn []uint32 `protobuf:"varint,3,rep,packed,name=idIn,proto3" json:"idIn,omitempty"` ChildAreaIDIn []uint32 `protobuf:"varint,4,rep,packed,name=childAreaIDIn,proto3" json:"childAreaIDIn,omitempty"` RacklotIDIn []uint32 `protobuf:"varint,5,rep,packed,name=racklotIDIn,proto3" json:"racklotIDIn,omitempty"` IsInbound *wrappers.BoolValue `protobuf:"bytes,6,opt,name=isInbound,proto3" json:"isInbound,omitempty"` IsOutbound *wrappers.BoolValue `protobuf:"bytes,7,opt,name=isOutbound,proto3" json:"isOutbound,omitempty"` IsValid *wrappers.BoolValue `protobuf:"bytes,8,opt,name=isValid,proto3" json:"isValid,omitempty"` ParentAreaID *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=parentAreaID,proto3" json:"parentAreaID,omitempty"` Type *AreaTypeFilter `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"` Properties []*AreaPropertyFilter `protobuf:"bytes,12,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*AreaFilter) Descriptor
deprecated
func (*AreaFilter) Descriptor() ([]byte, []int)
Deprecated: Use AreaFilter.ProtoReflect.Descriptor instead.
func (*AreaFilter) GetAnd ¶
func (x *AreaFilter) GetAnd() []*AreaFilter
func (*AreaFilter) GetChildAreaIDIn ¶
func (x *AreaFilter) GetChildAreaIDIn() []uint32
func (*AreaFilter) GetIdIn ¶
func (x *AreaFilter) GetIdIn() []uint32
func (*AreaFilter) GetIsInbound ¶
func (x *AreaFilter) GetIsInbound() *wrappers.BoolValue
func (*AreaFilter) GetIsOutbound ¶
func (x *AreaFilter) GetIsOutbound() *wrappers.BoolValue
func (*AreaFilter) GetIsValid ¶
func (x *AreaFilter) GetIsValid() *wrappers.BoolValue
func (*AreaFilter) GetOr ¶
func (x *AreaFilter) GetOr() []*AreaFilter
func (*AreaFilter) GetParentAreaID ¶
func (x *AreaFilter) GetParentAreaID() *wrappers.UInt32Value
func (*AreaFilter) GetProperties ¶
func (x *AreaFilter) GetProperties() []*AreaPropertyFilter
func (*AreaFilter) GetRacklotIDIn ¶
func (x *AreaFilter) GetRacklotIDIn() []uint32
func (*AreaFilter) GetType ¶
func (x *AreaFilter) GetType() *AreaTypeFilter
func (*AreaFilter) ProtoMessage ¶
func (*AreaFilter) ProtoMessage()
func (*AreaFilter) ProtoReflect ¶
func (x *AreaFilter) ProtoReflect() protoreflect.Message
func (*AreaFilter) Reset ¶
func (x *AreaFilter) Reset()
func (*AreaFilter) String ¶
func (x *AreaFilter) String() string
type AreaIDReq ¶
type AreaIDReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AreaIDReq) Descriptor
deprecated
func (*AreaIDReq) ProtoMessage ¶
func (*AreaIDReq) ProtoMessage()
func (*AreaIDReq) ProtoReflect ¶
func (x *AreaIDReq) ProtoReflect() protoreflect.Message
type AreaPropertyFilter ¶
type AreaPropertyFilter struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*AreaPropertyFilter) Descriptor
deprecated
func (*AreaPropertyFilter) Descriptor() ([]byte, []int)
Deprecated: Use AreaPropertyFilter.ProtoReflect.Descriptor instead.
func (*AreaPropertyFilter) GetKey ¶
func (x *AreaPropertyFilter) GetKey() string
func (*AreaPropertyFilter) GetType ¶
func (x *AreaPropertyFilter) GetType() string
func (*AreaPropertyFilter) GetValue ¶
func (x *AreaPropertyFilter) GetValue() string
func (*AreaPropertyFilter) ProtoMessage ¶
func (*AreaPropertyFilter) ProtoMessage()
func (*AreaPropertyFilter) ProtoReflect ¶
func (x *AreaPropertyFilter) ProtoReflect() protoreflect.Message
func (*AreaPropertyFilter) Reset ¶
func (x *AreaPropertyFilter) Reset()
func (*AreaPropertyFilter) String ¶
func (x *AreaPropertyFilter) String() string
type AreaQuery ¶
type AreaQuery struct { Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Page uint32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PerPage uint32 `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"` Filter *AreaFilter `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*AreaQuery) Descriptor
deprecated
func (*AreaQuery) GetFilter ¶
func (x *AreaQuery) GetFilter() *AreaFilter
func (*AreaQuery) GetPerPage ¶
func (*AreaQuery) ProtoMessage ¶
func (*AreaQuery) ProtoMessage()
func (*AreaQuery) ProtoReflect ¶
func (x *AreaQuery) ProtoReflect() protoreflect.Message
type AreaService ¶
type AreaService interface { // 根据ID获取指定区域信息 GetArea(ctx context.Context, in *AreaIDReq, opts ...client.CallOption) (*Area, error) // 根据查询条件获取区域 GetAreas(ctx context.Context, in *AreaQuery, opts ...client.CallOption) (*Areas, error) // 添加区域 AddArea(ctx context.Context, in *Area, opts ...client.CallOption) (*Response, error) // 修改区域 UpdateArea(ctx context.Context, in *UpdateAreaReq, opts ...client.CallOption) (*Response, error) // 删除区域 DeleteArea(ctx context.Context, in *AreaIDReq, opts ...client.CallOption) (*Response, error) // 获取货位类型 GetAreaTypes(ctx context.Context, in *AreaTypeQuery, opts ...client.CallOption) (*AreaTypes, error) // 获取货位类型 GetAreaType(ctx context.Context, in *AreaType, opts ...client.CallOption) (*AreaType, error) // 添加货位类型 AddAreaType(ctx context.Context, in *AreaType, opts ...client.CallOption) (*Response, error) // 修改货位类型 UpdateAreaType(ctx context.Context, in *UpdateAreaTypeReq, opts ...client.CallOption) (*Response, error) // 删除货位类型 DeleteAreaType(ctx context.Context, in *AreaType, opts ...client.CallOption) (*Response, error) //对应区域设置货位组 AddRacklots(ctx context.Context, in *RacklotsReq, opts ...client.CallOption) (*Response, error) DeleteRacklots(ctx context.Context, in *RacklotsReq, opts ...client.CallOption) (*Response, error) AddChildAreas(ctx context.Context, in *ChildsReq, opts ...client.CallOption) (*Response, error) //增加属性 AddProperties(ctx context.Context, in *PropertiesReq, opts ...client.CallOption) (*Response, error) // 设置区域的任务容量 SetOrderCapacity(ctx context.Context, in *CapReq, opts ...client.CallOption) (*Response, error) // 设置是否允许存车 SetInbound(ctx context.Context, in *FlagReq, opts ...client.CallOption) (*Response, error) // 设置是否允许取车 SetOutbound(ctx context.Context, in *FlagReq, opts ...client.CallOption) (*Response, error) // 设置是否启用 SetValid(ctx context.Context, in *FlagReq, opts ...client.CallOption) (*Response, error) //设置父区域 SetParentArea(ctx context.Context, in *ParentReq, opts ...client.CallOption) (*Response, error) //获取服务日志等级 GetLogLevel(ctx context.Context, in *LogLevelRequest, opts ...client.CallOption) (*Loglevel, error) //设置服务日志等级 SetLogLevel(ctx context.Context, in *Loglevel, opts ...client.CallOption) (*LogResponse, error) }
func NewAreaService ¶
func NewAreaService(name string, c client.Client) AreaService
type AreaServiceHandler ¶
type AreaServiceHandler interface { // 根据ID获取指定区域信息 GetArea(context.Context, *AreaIDReq, *Area) error // 根据查询条件获取区域 GetAreas(context.Context, *AreaQuery, *Areas) error // 添加区域 AddArea(context.Context, *Area, *Response) error // 修改区域 UpdateArea(context.Context, *UpdateAreaReq, *Response) error // 删除区域 DeleteArea(context.Context, *AreaIDReq, *Response) error // 获取货位类型 GetAreaTypes(context.Context, *AreaTypeQuery, *AreaTypes) error // 获取货位类型 GetAreaType(context.Context, *AreaType, *AreaType) error // 添加货位类型 AddAreaType(context.Context, *AreaType, *Response) error // 修改货位类型 UpdateAreaType(context.Context, *UpdateAreaTypeReq, *Response) error // 删除货位类型 DeleteAreaType(context.Context, *AreaType, *Response) error //对应区域设置货位组 AddRacklots(context.Context, *RacklotsReq, *Response) error DeleteRacklots(context.Context, *RacklotsReq, *Response) error AddChildAreas(context.Context, *ChildsReq, *Response) error //增加属性 AddProperties(context.Context, *PropertiesReq, *Response) error // 设置区域的任务容量 SetOrderCapacity(context.Context, *CapReq, *Response) error // 设置是否允许存车 SetInbound(context.Context, *FlagReq, *Response) error // 设置是否允许取车 SetOutbound(context.Context, *FlagReq, *Response) error // 设置是否启用 SetValid(context.Context, *FlagReq, *Response) error //设置父区域 SetParentArea(context.Context, *ParentReq, *Response) error //获取服务日志等级 GetLogLevel(context.Context, *LogLevelRequest, *Loglevel) error //设置服务日志等级 SetLogLevel(context.Context, *Loglevel, *LogResponse) error }
type AreaType ¶
type AreaType struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Properties string `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*AreaType) Descriptor
deprecated
func (*AreaType) GetDescription ¶
func (*AreaType) GetProperties ¶
func (*AreaType) ProtoMessage ¶
func (*AreaType) ProtoMessage()
func (*AreaType) ProtoReflect ¶
func (x *AreaType) ProtoReflect() protoreflect.Message
type AreaTypeFilter ¶
type AreaTypeFilter struct { And []*AreaTypeFilter `protobuf:"bytes,1,rep,name=and,proto3" json:"and,omitempty"` Or []*AreaTypeFilter `protobuf:"bytes,2,rep,name=or,proto3" json:"or,omitempty"` IdIn []uint32 `protobuf:"varint,3,rep,packed,name=idIn,proto3" json:"idIn,omitempty"` NameIn []string `protobuf:"bytes,4,rep,name=nameIn,proto3" json:"nameIn,omitempty"` Id *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AreaTypeFilter) Descriptor
deprecated
func (*AreaTypeFilter) Descriptor() ([]byte, []int)
Deprecated: Use AreaTypeFilter.ProtoReflect.Descriptor instead.
func (*AreaTypeFilter) GetAnd ¶
func (x *AreaTypeFilter) GetAnd() []*AreaTypeFilter
func (*AreaTypeFilter) GetId ¶
func (x *AreaTypeFilter) GetId() *wrappers.UInt32Value
func (*AreaTypeFilter) GetIdIn ¶
func (x *AreaTypeFilter) GetIdIn() []uint32
func (*AreaTypeFilter) GetName ¶
func (x *AreaTypeFilter) GetName() *wrappers.StringValue
func (*AreaTypeFilter) GetNameIn ¶
func (x *AreaTypeFilter) GetNameIn() []string
func (*AreaTypeFilter) GetOr ¶
func (x *AreaTypeFilter) GetOr() []*AreaTypeFilter
func (*AreaTypeFilter) ProtoMessage ¶
func (*AreaTypeFilter) ProtoMessage()
func (*AreaTypeFilter) ProtoReflect ¶
func (x *AreaTypeFilter) ProtoReflect() protoreflect.Message
func (*AreaTypeFilter) Reset ¶
func (x *AreaTypeFilter) Reset()
func (*AreaTypeFilter) String ¶
func (x *AreaTypeFilter) String() string
type AreaTypeQuery ¶
type AreaTypeQuery struct { Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Page uint32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PerPage uint32 `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"` Filter *AreaTypeFilter `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*AreaTypeQuery) Descriptor
deprecated
func (*AreaTypeQuery) Descriptor() ([]byte, []int)
Deprecated: Use AreaTypeQuery.ProtoReflect.Descriptor instead.
func (*AreaTypeQuery) GetFilter ¶
func (x *AreaTypeQuery) GetFilter() *AreaTypeFilter
func (*AreaTypeQuery) GetLimit ¶
func (x *AreaTypeQuery) GetLimit() uint32
func (*AreaTypeQuery) GetOffset ¶
func (x *AreaTypeQuery) GetOffset() uint32
func (*AreaTypeQuery) GetPage ¶
func (x *AreaTypeQuery) GetPage() uint32
func (*AreaTypeQuery) GetPerPage ¶
func (x *AreaTypeQuery) GetPerPage() uint32
func (*AreaTypeQuery) ProtoMessage ¶
func (*AreaTypeQuery) ProtoMessage()
func (*AreaTypeQuery) ProtoReflect ¶
func (x *AreaTypeQuery) ProtoReflect() protoreflect.Message
func (*AreaTypeQuery) Reset ¶
func (x *AreaTypeQuery) Reset()
func (*AreaTypeQuery) String ¶
func (x *AreaTypeQuery) String() string
type AreaTypes ¶
type AreaTypes struct { AreaTypes []*AreaType `protobuf:"bytes,1,rep,name=areaTypes,proto3" json:"areaTypes,omitempty"` Totalpages uint32 `protobuf:"varint,2,opt,name=totalpages,proto3" json:"totalpages,omitempty"` Currpages uint32 `protobuf:"varint,3,opt,name=currpages,proto3" json:"currpages,omitempty"` Totals uint32 `protobuf:"varint,4,opt,name=totals,proto3" json:"totals,omitempty"` // contains filtered or unexported fields }
func (*AreaTypes) Descriptor
deprecated
func (*AreaTypes) GetAreaTypes ¶
func (*AreaTypes) GetCurrpages ¶
func (*AreaTypes) GetTotalpages ¶
func (*AreaTypes) ProtoMessage ¶
func (*AreaTypes) ProtoMessage()
func (*AreaTypes) ProtoReflect ¶
func (x *AreaTypes) ProtoReflect() protoreflect.Message
type Areas ¶
type Areas struct { Areas []*Area `protobuf:"bytes,1,rep,name=areas,proto3" json:"areas,omitempty"` Totalpages uint32 `protobuf:"varint,2,opt,name=totalpages,proto3" json:"totalpages,omitempty"` Currpages uint32 `protobuf:"varint,3,opt,name=currpages,proto3" json:"currpages,omitempty"` Totals uint32 `protobuf:"varint,4,opt,name=totals,proto3" json:"totals,omitempty"` // contains filtered or unexported fields }
func (*Areas) Descriptor
deprecated
func (*Areas) GetCurrpages ¶
func (*Areas) GetTotalpages ¶
func (*Areas) ProtoMessage ¶
func (*Areas) ProtoMessage()
func (*Areas) ProtoReflect ¶
func (x *Areas) ProtoReflect() protoreflect.Message
type CapReq ¶
type CapReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Cap uint32 `protobuf:"varint,2,opt,name=cap,proto3" json:"cap,omitempty"` // contains filtered or unexported fields }
func (*CapReq) Descriptor
deprecated
func (*CapReq) ProtoMessage ¶
func (*CapReq) ProtoMessage()
func (*CapReq) ProtoReflect ¶
func (x *CapReq) ProtoReflect() protoreflect.Message
type ChildsReq ¶
type ChildsReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ChildAreaIDs []uint32 `protobuf:"varint,2,rep,packed,name=childAreaIDs,proto3" json:"childAreaIDs,omitempty"` // contains filtered or unexported fields }
func (*ChildsReq) Descriptor
deprecated
func (*ChildsReq) GetChildAreaIDs ¶
func (*ChildsReq) ProtoMessage ¶
func (*ChildsReq) ProtoMessage()
func (*ChildsReq) ProtoReflect ¶
func (x *ChildsReq) ProtoReflect() protoreflect.Message
type FlagReq ¶
type FlagReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Flag bool `protobuf:"varint,2,opt,name=flag,proto3" json:"flag,omitempty"` // contains filtered or unexported fields }
func (*FlagReq) Descriptor
deprecated
func (*FlagReq) ProtoMessage ¶
func (*FlagReq) ProtoMessage()
func (*FlagReq) ProtoReflect ¶
func (x *FlagReq) ProtoReflect() protoreflect.Message
type LogLevelRequest ¶
type LogLevelRequest struct {
// contains filtered or unexported fields
}
func (*LogLevelRequest) Descriptor
deprecated
func (*LogLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogLevelRequest.ProtoReflect.Descriptor instead.
func (*LogLevelRequest) ProtoMessage ¶
func (*LogLevelRequest) ProtoMessage()
func (*LogLevelRequest) ProtoReflect ¶
func (x *LogLevelRequest) ProtoReflect() protoreflect.Message
func (*LogLevelRequest) Reset ¶
func (x *LogLevelRequest) Reset()
func (*LogLevelRequest) String ¶
func (x *LogLevelRequest) String() string
type LogResponse ¶
type LogResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*LogResponse) Descriptor
deprecated
func (*LogResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogResponse.ProtoReflect.Descriptor instead.
func (*LogResponse) GetName ¶
func (x *LogResponse) GetName() string
func (*LogResponse) ProtoMessage ¶
func (*LogResponse) ProtoMessage()
func (*LogResponse) ProtoReflect ¶
func (x *LogResponse) ProtoReflect() protoreflect.Message
func (*LogResponse) Reset ¶
func (x *LogResponse) Reset()
func (*LogResponse) String ¶
func (x *LogResponse) String() string
type Loglevel ¶
type Loglevel struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Level uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` // contains filtered or unexported fields }
func (*Loglevel) Descriptor
deprecated
func (*Loglevel) ProtoMessage ¶
func (*Loglevel) ProtoMessage()
func (*Loglevel) ProtoReflect ¶
func (x *Loglevel) ProtoReflect() protoreflect.Message
type ParentReq ¶
type ParentReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentAreaID uint32 `protobuf:"varint,2,opt,name=parentAreaID,proto3" json:"parentAreaID,omitempty"` // contains filtered or unexported fields }
func (*ParentReq) Descriptor
deprecated
func (*ParentReq) GetParentAreaID ¶
func (*ParentReq) ProtoMessage ¶
func (*ParentReq) ProtoMessage()
func (*ParentReq) ProtoReflect ¶
func (x *ParentReq) ProtoReflect() protoreflect.Message
type PropertiesReq ¶
type PropertiesReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Properties string `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*PropertiesReq) Descriptor
deprecated
func (*PropertiesReq) Descriptor() ([]byte, []int)
Deprecated: Use PropertiesReq.ProtoReflect.Descriptor instead.
func (*PropertiesReq) GetId ¶
func (x *PropertiesReq) GetId() uint32
func (*PropertiesReq) GetProperties ¶
func (x *PropertiesReq) GetProperties() string
func (*PropertiesReq) ProtoMessage ¶
func (*PropertiesReq) ProtoMessage()
func (*PropertiesReq) ProtoReflect ¶
func (x *PropertiesReq) ProtoReflect() protoreflect.Message
func (*PropertiesReq) Reset ¶
func (x *PropertiesReq) Reset()
func (*PropertiesReq) String ¶
func (x *PropertiesReq) String() string
type Property ¶
type Property struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Property) Descriptor
deprecated
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶
func (x *Property) ProtoReflect() protoreflect.Message
type RacklotsReq ¶
type RacklotsReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Racklots []uint32 `protobuf:"varint,2,rep,packed,name=racklots,proto3" json:"racklots,omitempty"` // contains filtered or unexported fields }
func (*RacklotsReq) Descriptor
deprecated
func (*RacklotsReq) Descriptor() ([]byte, []int)
Deprecated: Use RacklotsReq.ProtoReflect.Descriptor instead.
func (*RacklotsReq) GetId ¶
func (x *RacklotsReq) GetId() uint32
func (*RacklotsReq) GetRacklots ¶
func (x *RacklotsReq) GetRacklots() []uint32
func (*RacklotsReq) ProtoMessage ¶
func (*RacklotsReq) ProtoMessage()
func (*RacklotsReq) ProtoReflect ¶
func (x *RacklotsReq) ProtoReflect() protoreflect.Message
func (*RacklotsReq) Reset ¶
func (x *RacklotsReq) Reset()
func (*RacklotsReq) String ¶
func (x *RacklotsReq) String() string
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type TaskReq ¶
type TaskReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TaskID uint32 `protobuf:"varint,2,opt,name=taskID,proto3" json:"taskID,omitempty"` // contains filtered or unexported fields }
func (*TaskReq) Descriptor
deprecated
func (*TaskReq) ProtoMessage ¶
func (*TaskReq) ProtoMessage()
func (*TaskReq) ProtoReflect ¶
func (x *TaskReq) ProtoReflect() protoreflect.Message
type TypeReq ¶
type TypeReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*TypeReq) Descriptor
deprecated
func (*TypeReq) ProtoMessage ¶
func (*TypeReq) ProtoMessage()
func (*TypeReq) ProtoReflect ¶
func (x *TypeReq) ProtoReflect() protoreflect.Message
type UpdateArea ¶
type UpdateArea struct { // 区域任务容量 Id *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 区域任务容量 OrderCapacity *wrappers.UInt32Value `protobuf:"bytes,25,opt,name=orderCapacity,proto3" json:"orderCapacity,omitempty"` //是否有效 IsValid *wrappers.BoolValue `protobuf:"bytes,27,opt,name=isValid,proto3" json:"isValid,omitempty"` //是否允许入库 IsInbound *wrappers.BoolValue `protobuf:"bytes,28,opt,name=isInbound,proto3" json:"isInbound,omitempty"` //是否允许出库 IsOutbound *wrappers.BoolValue `protobuf:"bytes,29,opt,name=isOutbound,proto3" json:"isOutbound,omitempty"` // 父区域 ParentAreaID *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=parentAreaID,proto3" json:"parentAreaID,omitempty"` // 区域类型 Type *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` //区域的货位列表,待仔细考虑 Racklots []uint32 `protobuf:"varint,23,rep,packed,name=racklots,proto3" json:"racklots,omitempty"` Properties string `protobuf:"bytes,31,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*UpdateArea) Descriptor
deprecated
func (*UpdateArea) Descriptor() ([]byte, []int)
Deprecated: Use UpdateArea.ProtoReflect.Descriptor instead.
func (*UpdateArea) GetId ¶
func (x *UpdateArea) GetId() *wrappers.UInt32Value
func (*UpdateArea) GetIsInbound ¶
func (x *UpdateArea) GetIsInbound() *wrappers.BoolValue
func (*UpdateArea) GetIsOutbound ¶
func (x *UpdateArea) GetIsOutbound() *wrappers.BoolValue
func (*UpdateArea) GetIsValid ¶
func (x *UpdateArea) GetIsValid() *wrappers.BoolValue
func (*UpdateArea) GetOrderCapacity ¶
func (x *UpdateArea) GetOrderCapacity() *wrappers.UInt32Value
func (*UpdateArea) GetParentAreaID ¶
func (x *UpdateArea) GetParentAreaID() *wrappers.UInt32Value
func (*UpdateArea) GetProperties ¶
func (x *UpdateArea) GetProperties() string
func (*UpdateArea) GetRacklots ¶
func (x *UpdateArea) GetRacklots() []uint32
func (*UpdateArea) GetType ¶
func (x *UpdateArea) GetType() *wrappers.UInt32Value
func (*UpdateArea) ProtoMessage ¶
func (*UpdateArea) ProtoMessage()
func (*UpdateArea) ProtoReflect ¶
func (x *UpdateArea) ProtoReflect() protoreflect.Message
func (*UpdateArea) Reset ¶
func (x *UpdateArea) Reset()
func (*UpdateArea) String ¶
func (x *UpdateArea) String() string
type UpdateAreaReq ¶
type UpdateAreaReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Area *UpdateArea `protobuf:"bytes,2,opt,name=area,proto3" json:"area,omitempty"` // contains filtered or unexported fields }
func (*UpdateAreaReq) Descriptor
deprecated
func (*UpdateAreaReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAreaReq.ProtoReflect.Descriptor instead.
func (*UpdateAreaReq) GetArea ¶
func (x *UpdateAreaReq) GetArea() *UpdateArea
func (*UpdateAreaReq) GetId ¶
func (x *UpdateAreaReq) GetId() uint32
func (*UpdateAreaReq) ProtoMessage ¶
func (*UpdateAreaReq) ProtoMessage()
func (*UpdateAreaReq) ProtoReflect ¶
func (x *UpdateAreaReq) ProtoReflect() protoreflect.Message
func (*UpdateAreaReq) Reset ¶
func (x *UpdateAreaReq) Reset()
func (*UpdateAreaReq) String ¶
func (x *UpdateAreaReq) String() string
type UpdateAreaType ¶
type UpdateAreaType struct { Id *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Properties string `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*UpdateAreaType) Descriptor
deprecated
func (*UpdateAreaType) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAreaType.ProtoReflect.Descriptor instead.
func (*UpdateAreaType) GetDescription ¶
func (x *UpdateAreaType) GetDescription() *wrappers.StringValue
func (*UpdateAreaType) GetId ¶
func (x *UpdateAreaType) GetId() *wrappers.UInt32Value
func (*UpdateAreaType) GetName ¶
func (x *UpdateAreaType) GetName() *wrappers.StringValue
func (*UpdateAreaType) GetProperties ¶
func (x *UpdateAreaType) GetProperties() string
func (*UpdateAreaType) ProtoMessage ¶
func (*UpdateAreaType) ProtoMessage()
func (*UpdateAreaType) ProtoReflect ¶
func (x *UpdateAreaType) ProtoReflect() protoreflect.Message
func (*UpdateAreaType) Reset ¶
func (x *UpdateAreaType) Reset()
func (*UpdateAreaType) String ¶
func (x *UpdateAreaType) String() string
type UpdateAreaTypeReq ¶
type UpdateAreaTypeReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Area *UpdateAreaType `protobuf:"bytes,2,opt,name=area,proto3" json:"area,omitempty"` // contains filtered or unexported fields }
func (*UpdateAreaTypeReq) Descriptor
deprecated
func (*UpdateAreaTypeReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAreaTypeReq.ProtoReflect.Descriptor instead.
func (*UpdateAreaTypeReq) GetArea ¶
func (x *UpdateAreaTypeReq) GetArea() *UpdateAreaType
func (*UpdateAreaTypeReq) GetId ¶
func (x *UpdateAreaTypeReq) GetId() uint32
func (*UpdateAreaTypeReq) ProtoMessage ¶
func (*UpdateAreaTypeReq) ProtoMessage()
func (*UpdateAreaTypeReq) ProtoReflect ¶
func (x *UpdateAreaTypeReq) ProtoReflect() protoreflect.Message
func (*UpdateAreaTypeReq) Reset ¶
func (x *UpdateAreaTypeReq) Reset()
func (*UpdateAreaTypeReq) String ¶
func (x *UpdateAreaTypeReq) String() string