go_micro_srv_area

package
v2.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_area_area_proto protoreflect.FileDescriptor

Functions

func NewAreaServiceEndpoints

func NewAreaServiceEndpoints() []*api.Endpoint

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) Descriptor() ([]byte, []int)

Deprecated: Use Area.ProtoReflect.Descriptor instead.

func (*Area) GetChildAreaIDs

func (x *Area) GetChildAreaIDs() []uint32

func (*Area) GetId

func (x *Area) GetId() uint32

func (*Area) GetIsInbound

func (x *Area) GetIsInbound() bool

func (*Area) GetIsOutbound

func (x *Area) GetIsOutbound() bool

func (*Area) GetIsValid

func (x *Area) GetIsValid() bool

func (*Area) GetOrderCapacity

func (x *Area) GetOrderCapacity() uint32

func (*Area) GetParentAreaID

func (x *Area) GetParentAreaID() uint32

func (*Area) GetProperties

func (x *Area) GetProperties() string

func (*Area) GetRacklots

func (x *Area) GetRacklots() []uint32

func (*Area) GetType

func (x *Area) GetType() *AreaType

func (*Area) ProtoMessage

func (*Area) ProtoMessage()

func (*Area) ProtoReflect

func (x *Area) ProtoReflect() protoreflect.Message

func (*Area) Reset

func (x *Area) Reset()

func (*Area) String

func (x *Area) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AreaIDReq.ProtoReflect.Descriptor instead.

func (*AreaIDReq) GetId

func (x *AreaIDReq) GetId() uint32

func (*AreaIDReq) ProtoMessage

func (*AreaIDReq) ProtoMessage()

func (*AreaIDReq) ProtoReflect

func (x *AreaIDReq) ProtoReflect() protoreflect.Message

func (*AreaIDReq) Reset

func (x *AreaIDReq) Reset()

func (*AreaIDReq) String

func (x *AreaIDReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AreaQuery.ProtoReflect.Descriptor instead.

func (*AreaQuery) GetFilter

func (x *AreaQuery) GetFilter() *AreaFilter

func (*AreaQuery) GetLimit

func (x *AreaQuery) GetLimit() uint32

func (*AreaQuery) GetOffset

func (x *AreaQuery) GetOffset() uint32

func (*AreaQuery) GetPage

func (x *AreaQuery) GetPage() uint32

func (*AreaQuery) GetPerPage

func (x *AreaQuery) GetPerPage() uint32

func (*AreaQuery) ProtoMessage

func (*AreaQuery) ProtoMessage()

func (*AreaQuery) ProtoReflect

func (x *AreaQuery) ProtoReflect() protoreflect.Message

func (*AreaQuery) Reset

func (x *AreaQuery) Reset()

func (*AreaQuery) String

func (x *AreaQuery) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AreaType.ProtoReflect.Descriptor instead.

func (*AreaType) GetDescription

func (x *AreaType) GetDescription() string

func (*AreaType) GetId

func (x *AreaType) GetId() uint32

func (*AreaType) GetName

func (x *AreaType) GetName() string

func (*AreaType) GetProperties

func (x *AreaType) GetProperties() string

func (*AreaType) ProtoMessage

func (*AreaType) ProtoMessage()

func (*AreaType) ProtoReflect

func (x *AreaType) ProtoReflect() protoreflect.Message

func (*AreaType) Reset

func (x *AreaType) Reset()

func (*AreaType) String

func (x *AreaType) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AreaTypes.ProtoReflect.Descriptor instead.

func (*AreaTypes) GetAreaTypes

func (x *AreaTypes) GetAreaTypes() []*AreaType

func (*AreaTypes) GetCurrpages

func (x *AreaTypes) GetCurrpages() uint32

func (*AreaTypes) GetTotalpages

func (x *AreaTypes) GetTotalpages() uint32

func (*AreaTypes) GetTotals

func (x *AreaTypes) GetTotals() uint32

func (*AreaTypes) ProtoMessage

func (*AreaTypes) ProtoMessage()

func (*AreaTypes) ProtoReflect

func (x *AreaTypes) ProtoReflect() protoreflect.Message

func (*AreaTypes) Reset

func (x *AreaTypes) Reset()

func (*AreaTypes) String

func (x *AreaTypes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Areas.ProtoReflect.Descriptor instead.

func (*Areas) GetAreas

func (x *Areas) GetAreas() []*Area

func (*Areas) GetCurrpages

func (x *Areas) GetCurrpages() uint32

func (*Areas) GetTotalpages

func (x *Areas) GetTotalpages() uint32

func (*Areas) GetTotals

func (x *Areas) GetTotals() uint32

func (*Areas) ProtoMessage

func (*Areas) ProtoMessage()

func (*Areas) ProtoReflect

func (x *Areas) ProtoReflect() protoreflect.Message

func (*Areas) Reset

func (x *Areas) Reset()

func (*Areas) String

func (x *Areas) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use CapReq.ProtoReflect.Descriptor instead.

func (*CapReq) GetCap

func (x *CapReq) GetCap() uint32

func (*CapReq) GetId

func (x *CapReq) GetId() uint32

func (*CapReq) ProtoMessage

func (*CapReq) ProtoMessage()

func (*CapReq) ProtoReflect

func (x *CapReq) ProtoReflect() protoreflect.Message

func (*CapReq) Reset

func (x *CapReq) Reset()

func (*CapReq) String

func (x *CapReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ChildsReq.ProtoReflect.Descriptor instead.

func (*ChildsReq) GetChildAreaIDs

func (x *ChildsReq) GetChildAreaIDs() []uint32

func (*ChildsReq) GetId

func (x *ChildsReq) GetId() uint32

func (*ChildsReq) ProtoMessage

func (*ChildsReq) ProtoMessage()

func (*ChildsReq) ProtoReflect

func (x *ChildsReq) ProtoReflect() protoreflect.Message

func (*ChildsReq) Reset

func (x *ChildsReq) Reset()

func (*ChildsReq) String

func (x *ChildsReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FlagReq.ProtoReflect.Descriptor instead.

func (*FlagReq) GetFlag

func (x *FlagReq) GetFlag() bool

func (*FlagReq) GetId

func (x *FlagReq) GetId() uint32

func (*FlagReq) ProtoMessage

func (*FlagReq) ProtoMessage()

func (*FlagReq) ProtoReflect

func (x *FlagReq) ProtoReflect() protoreflect.Message

func (*FlagReq) Reset

func (x *FlagReq) Reset()

func (*FlagReq) String

func (x *FlagReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Loglevel.ProtoReflect.Descriptor instead.

func (*Loglevel) GetLevel

func (x *Loglevel) GetLevel() uint32

func (*Loglevel) GetName

func (x *Loglevel) GetName() string

func (*Loglevel) ProtoMessage

func (*Loglevel) ProtoMessage()

func (*Loglevel) ProtoReflect

func (x *Loglevel) ProtoReflect() protoreflect.Message

func (*Loglevel) Reset

func (x *Loglevel) Reset()

func (*Loglevel) String

func (x *Loglevel) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ParentReq.ProtoReflect.Descriptor instead.

func (*ParentReq) GetId

func (x *ParentReq) GetId() uint32

func (*ParentReq) GetParentAreaID

func (x *ParentReq) GetParentAreaID() uint32

func (*ParentReq) ProtoMessage

func (*ParentReq) ProtoMessage()

func (*ParentReq) ProtoReflect

func (x *ParentReq) ProtoReflect() protoreflect.Message

func (*ParentReq) Reset

func (x *ParentReq) Reset()

func (*ParentReq) String

func (x *ParentReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Property.ProtoReflect.Descriptor instead.

func (*Property) GetKey

func (x *Property) GetKey() string

func (*Property) GetType

func (x *Property) GetType() string

func (*Property) GetValue

func (x *Property) GetValue() string

func (*Property) ProtoMessage

func (*Property) ProtoMessage()

func (*Property) ProtoReflect

func (x *Property) ProtoReflect() protoreflect.Message

func (*Property) Reset

func (x *Property) Reset()

func (*Property) String

func (x *Property) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TaskReq.ProtoReflect.Descriptor instead.

func (*TaskReq) GetId

func (x *TaskReq) GetId() uint32

func (*TaskReq) GetTaskID

func (x *TaskReq) GetTaskID() uint32

func (*TaskReq) ProtoMessage

func (*TaskReq) ProtoMessage()

func (*TaskReq) ProtoReflect

func (x *TaskReq) ProtoReflect() protoreflect.Message

func (*TaskReq) Reset

func (x *TaskReq) Reset()

func (*TaskReq) String

func (x *TaskReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TypeReq.ProtoReflect.Descriptor instead.

func (*TypeReq) GetId

func (x *TypeReq) GetId() uint32

func (*TypeReq) GetName

func (x *TypeReq) GetName() string

func (*TypeReq) GetType

func (x *TypeReq) GetType() int32

func (*TypeReq) ProtoMessage

func (*TypeReq) ProtoMessage()

func (*TypeReq) ProtoReflect

func (x *TypeReq) ProtoReflect() protoreflect.Message

func (*TypeReq) Reset

func (x *TypeReq) Reset()

func (*TypeReq) String

func (x *TypeReq) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL