v1

package
v0.0.0-...-87a1075 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCommon        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommon          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRobot        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRobot          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRobot = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AttentionAction_name = map[int32]string{
	0: "ATTENTION_ACTION_DEFAULT",
	1: "ATTENTION_ACTION_DO",
	2: "ATTENTION_ACTION_DONOT",
}
View Source
var AttentionAction_value = map[string]int32{
	"ATTENTION_ACTION_DEFAULT": 0,
	"ATTENTION_ACTION_DO":      1,
	"ATTENTION_ACTION_DONOT":   2,
}
View Source
var IncidentTargetType_name = map[int32]string{
	0: "INCIDENT_TARGET_TYPE_DEFAULT",
	1: "INCIDENT_TARGET_TYPE_MALFUNCTION",
	2: "INCIDENT_TARGET_TYPE_INCIDENT",
}
View Source
var IncidentTargetType_value = map[string]int32{
	"INCIDENT_TARGET_TYPE_DEFAULT":     0,
	"INCIDENT_TARGET_TYPE_MALFUNCTION": 1,
	"INCIDENT_TARGET_TYPE_INCIDENT":    2,
}
View Source
var Mine_name = map[int32]string{
	0: "MINE_DEFAULT",
	1: "MINE_MINE",
}
View Source
var Mine_value = map[string]int32{
	"MINE_DEFAULT": 0,
	"MINE_MINE":    1,
}

Functions

func RegisterRobotAPIServer

func RegisterRobotAPIServer(s *grpc.Server, srv RobotAPIServer)

Types

type AttentionAction

type AttentionAction int32
const (
	AttentionAction_ATTENTION_ACTION_DEFAULT AttentionAction = 0
	AttentionAction_ATTENTION_ACTION_DO      AttentionAction = 1
	AttentionAction_ATTENTION_ACTION_DONOT   AttentionAction = 2
)

func (AttentionAction) EnumDescriptor

func (AttentionAction) EnumDescriptor() ([]byte, []int)

func (AttentionAction) String

func (x AttentionAction) String() string

type BaseReq

type BaseReq struct {
	// 模糊搜索
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"`
	// 分页
	PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"page_size" form:"page_size"`
	// 分页
	PageNum int32 `protobuf:"varint,3,opt,name=pageNum,proto3" json:"page_num" form:"page_num"`
	// id
	Id                   int64    `protobuf:"varint,4,opt,name=id,proto3" json:"id" form:"id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BaseReq) Descriptor

func (*BaseReq) Descriptor() ([]byte, []int)

func (*BaseReq) GetId

func (m *BaseReq) GetId() int64

func (*BaseReq) GetKey

func (m *BaseReq) GetKey() string

func (*BaseReq) GetPageNum

func (m *BaseReq) GetPageNum() int32

func (*BaseReq) GetPageSize

func (m *BaseReq) GetPageSize() int32

func (*BaseReq) Marshal

func (m *BaseReq) Marshal() (dAtA []byte, err error)

func (*BaseReq) MarshalTo

func (m *BaseReq) MarshalTo(dAtA []byte) (int, error)

func (*BaseReq) MarshalToSizedBuffer

func (m *BaseReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BaseReq) ProtoMessage

func (*BaseReq) ProtoMessage()

func (*BaseReq) Reset

func (m *BaseReq) Reset()

func (*BaseReq) Size

func (m *BaseReq) Size() (n int)

func (*BaseReq) String

func (m *BaseReq) String() string

func (*BaseReq) Unmarshal

func (m *BaseReq) Unmarshal(dAtA []byte) error

func (*BaseReq) XXX_DiscardUnknown

func (m *BaseReq) XXX_DiscardUnknown()

func (*BaseReq) XXX_Marshal

func (m *BaseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BaseReq) XXX_Merge

func (m *BaseReq) XXX_Merge(src proto.Message)

func (*BaseReq) XXX_Size

func (m *BaseReq) XXX_Size() int

func (*BaseReq) XXX_Unmarshal

func (m *BaseReq) XXX_Unmarshal(b []byte) error

type FrontendBusiness

type FrontendBusiness struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FrontendBusiness) Descriptor

func (*FrontendBusiness) Descriptor() ([]byte, []int)

func (*FrontendBusiness) GetId

func (m *FrontendBusiness) GetId() int64

func (*FrontendBusiness) GetName

func (m *FrontendBusiness) GetName() string

func (*FrontendBusiness) Marshal

func (m *FrontendBusiness) Marshal() (dAtA []byte, err error)

func (*FrontendBusiness) MarshalTo

func (m *FrontendBusiness) MarshalTo(dAtA []byte) (int, error)

func (*FrontendBusiness) MarshalToSizedBuffer

func (m *FrontendBusiness) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FrontendBusiness) ProtoMessage

func (*FrontendBusiness) ProtoMessage()

func (*FrontendBusiness) Reset

func (m *FrontendBusiness) Reset()

func (*FrontendBusiness) Size

func (m *FrontendBusiness) Size() (n int)

func (*FrontendBusiness) String

func (m *FrontendBusiness) String() string

func (*FrontendBusiness) Unmarshal

func (m *FrontendBusiness) Unmarshal(dAtA []byte) error

func (*FrontendBusiness) XXX_DiscardUnknown

func (m *FrontendBusiness) XXX_DiscardUnknown()

func (*FrontendBusiness) XXX_Marshal

func (m *FrontendBusiness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrontendBusiness) XXX_Merge

func (m *FrontendBusiness) XXX_Merge(src proto.Message)

func (*FrontendBusiness) XXX_Size

func (m *FrontendBusiness) XXX_Size() int

func (*FrontendBusiness) XXX_Unmarshal

func (m *FrontendBusiness) XXX_Unmarshal(b []byte) error

type FrontendComponent

type FrontendComponent struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FrontendComponent) Descriptor

func (*FrontendComponent) Descriptor() ([]byte, []int)

func (*FrontendComponent) GetId

func (m *FrontendComponent) GetId() int64

func (*FrontendComponent) GetName

func (m *FrontendComponent) GetName() string

func (*FrontendComponent) Marshal

func (m *FrontendComponent) Marshal() (dAtA []byte, err error)

func (*FrontendComponent) MarshalTo

func (m *FrontendComponent) MarshalTo(dAtA []byte) (int, error)

func (*FrontendComponent) MarshalToSizedBuffer

func (m *FrontendComponent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FrontendComponent) ProtoMessage

func (*FrontendComponent) ProtoMessage()

func (*FrontendComponent) Reset

func (m *FrontendComponent) Reset()

func (*FrontendComponent) Size

func (m *FrontendComponent) Size() (n int)

func (*FrontendComponent) String

func (m *FrontendComponent) String() string

func (*FrontendComponent) Unmarshal

func (m *FrontendComponent) Unmarshal(dAtA []byte) error

func (*FrontendComponent) XXX_DiscardUnknown

func (m *FrontendComponent) XXX_DiscardUnknown()

func (*FrontendComponent) XXX_Marshal

func (m *FrontendComponent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrontendComponent) XXX_Merge

func (m *FrontendComponent) XXX_Merge(src proto.Message)

func (*FrontendComponent) XXX_Size

func (m *FrontendComponent) XXX_Size() int

func (*FrontendComponent) XXX_Unmarshal

func (m *FrontendComponent) XXX_Unmarshal(b []byte) error

type FrontendDepartment

type FrontendDepartment struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FrontendDepartment) Descriptor

func (*FrontendDepartment) Descriptor() ([]byte, []int)

func (*FrontendDepartment) GetId

func (m *FrontendDepartment) GetId() int64

func (*FrontendDepartment) GetName

func (m *FrontendDepartment) GetName() string

func (*FrontendDepartment) Marshal

func (m *FrontendDepartment) Marshal() (dAtA []byte, err error)

func (*FrontendDepartment) MarshalTo

func (m *FrontendDepartment) MarshalTo(dAtA []byte) (int, error)

func (*FrontendDepartment) MarshalToSizedBuffer

func (m *FrontendDepartment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FrontendDepartment) ProtoMessage

func (*FrontendDepartment) ProtoMessage()

func (*FrontendDepartment) Reset

func (m *FrontendDepartment) Reset()

func (*FrontendDepartment) Size

func (m *FrontendDepartment) Size() (n int)

func (*FrontendDepartment) String

func (m *FrontendDepartment) String() string

func (*FrontendDepartment) Unmarshal

func (m *FrontendDepartment) Unmarshal(dAtA []byte) error

func (*FrontendDepartment) XXX_DiscardUnknown

func (m *FrontendDepartment) XXX_DiscardUnknown()

func (*FrontendDepartment) XXX_Marshal

func (m *FrontendDepartment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrontendDepartment) XXX_Merge

func (m *FrontendDepartment) XXX_Merge(src proto.Message)

func (*FrontendDepartment) XXX_Size

func (m *FrontendDepartment) XXX_Size() int

func (*FrontendDepartment) XXX_Unmarshal

func (m *FrontendDepartment) XXX_Unmarshal(b []byte) error

type FrontendFoundChannel

type FrontendFoundChannel struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FrontendFoundChannel) Descriptor

func (*FrontendFoundChannel) Descriptor() ([]byte, []int)

func (*FrontendFoundChannel) GetId

func (m *FrontendFoundChannel) GetId() int64

func (*FrontendFoundChannel) GetName

func (m *FrontendFoundChannel) GetName() string

func (*FrontendFoundChannel) Marshal

func (m *FrontendFoundChannel) Marshal() (dAtA []byte, err error)

func (*FrontendFoundChannel) MarshalTo

func (m *FrontendFoundChannel) MarshalTo(dAtA []byte) (int, error)

func (*FrontendFoundChannel) MarshalToSizedBuffer

func (m *FrontendFoundChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FrontendFoundChannel) ProtoMessage

func (*FrontendFoundChannel) ProtoMessage()

func (*FrontendFoundChannel) Reset

func (m *FrontendFoundChannel) Reset()

func (*FrontendFoundChannel) Size

func (m *FrontendFoundChannel) Size() (n int)

func (*FrontendFoundChannel) String

func (m *FrontendFoundChannel) String() string

func (*FrontendFoundChannel) Unmarshal

func (m *FrontendFoundChannel) Unmarshal(dAtA []byte) error

func (*FrontendFoundChannel) XXX_DiscardUnknown

func (m *FrontendFoundChannel) XXX_DiscardUnknown()

func (*FrontendFoundChannel) XXX_Marshal

func (m *FrontendFoundChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrontendFoundChannel) XXX_Merge

func (m *FrontendFoundChannel) XXX_Merge(src proto.Message)

func (*FrontendFoundChannel) XXX_Size

func (m *FrontendFoundChannel) XXX_Size() int

func (*FrontendFoundChannel) XXX_Unmarshal

func (m *FrontendFoundChannel) XXX_Unmarshal(b []byte) error

type FrontendMalfunction

type FrontendMalfunction struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FrontendMalfunction) Descriptor

func (*FrontendMalfunction) Descriptor() ([]byte, []int)

func (*FrontendMalfunction) GetId

func (m *FrontendMalfunction) GetId() int64

func (*FrontendMalfunction) GetName

func (m *FrontendMalfunction) GetName() string

func (*FrontendMalfunction) Marshal

func (m *FrontendMalfunction) Marshal() (dAtA []byte, err error)

func (*FrontendMalfunction) MarshalTo

func (m *FrontendMalfunction) MarshalTo(dAtA []byte) (int, error)

func (*FrontendMalfunction) MarshalToSizedBuffer

func (m *FrontendMalfunction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FrontendMalfunction) ProtoMessage

func (*FrontendMalfunction) ProtoMessage()

func (*FrontendMalfunction) Reset

func (m *FrontendMalfunction) Reset()

func (*FrontendMalfunction) Size

func (m *FrontendMalfunction) Size() (n int)

func (*FrontendMalfunction) String

func (m *FrontendMalfunction) String() string

func (*FrontendMalfunction) Unmarshal

func (m *FrontendMalfunction) Unmarshal(dAtA []byte) error

func (*FrontendMalfunction) XXX_DiscardUnknown

func (m *FrontendMalfunction) XXX_DiscardUnknown()

func (*FrontendMalfunction) XXX_Marshal

func (m *FrontendMalfunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrontendMalfunction) XXX_Merge

func (m *FrontendMalfunction) XXX_Merge(src proto.Message)

func (*FrontendMalfunction) XXX_Size

func (m *FrontendMalfunction) XXX_Size() int

func (*FrontendMalfunction) XXX_Unmarshal

func (m *FrontendMalfunction) XXX_Unmarshal(b []byte) error

type FrontendReplay

type FrontendReplay struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FrontendReplay) Descriptor

func (*FrontendReplay) Descriptor() ([]byte, []int)

func (*FrontendReplay) GetId

func (m *FrontendReplay) GetId() int64

func (*FrontendReplay) GetName

func (m *FrontendReplay) GetName() string

func (*FrontendReplay) Marshal

func (m *FrontendReplay) Marshal() (dAtA []byte, err error)

func (*FrontendReplay) MarshalTo

func (m *FrontendReplay) MarshalTo(dAtA []byte) (int, error)

func (*FrontendReplay) MarshalToSizedBuffer

func (m *FrontendReplay) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FrontendReplay) ProtoMessage

func (*FrontendReplay) ProtoMessage()

func (*FrontendReplay) Reset

func (m *FrontendReplay) Reset()

func (*FrontendReplay) Size

func (m *FrontendReplay) Size() (n int)

func (*FrontendReplay) String

func (m *FrontendReplay) String() string

func (*FrontendReplay) Unmarshal

func (m *FrontendReplay) Unmarshal(dAtA []byte) error

func (*FrontendReplay) XXX_DiscardUnknown

func (m *FrontendReplay) XXX_DiscardUnknown()

func (*FrontendReplay) XXX_Marshal

func (m *FrontendReplay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrontendReplay) XXX_Merge

func (m *FrontendReplay) XXX_Merge(src proto.Message)

func (*FrontendReplay) XXX_Size

func (m *FrontendReplay) XXX_Size() int

func (*FrontendReplay) XXX_Unmarshal

func (m *FrontendReplay) XXX_Unmarshal(b []byte) error

type FrontendUser

type FrontendUser struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Nickname             string   `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
	AdAccount            string   `protobuf:"bytes,3,opt,name=ad_account,json=adAccount,proto3" json:"ad_account"`
	AvatarUrl            string   `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url"`
	WxAccount            string   `protobuf:"bytes,5,opt,name=wx_account,json=wxAccount,proto3" json:"wx_account"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FrontendUser) Descriptor

func (*FrontendUser) Descriptor() ([]byte, []int)

func (*FrontendUser) GetAdAccount

func (m *FrontendUser) GetAdAccount() string

func (*FrontendUser) GetAvatarUrl

func (m *FrontendUser) GetAvatarUrl() string

func (*FrontendUser) GetId

func (m *FrontendUser) GetId() int64

func (*FrontendUser) GetNickname

func (m *FrontendUser) GetNickname() string

func (*FrontendUser) GetWxAccount

func (m *FrontendUser) GetWxAccount() string

func (*FrontendUser) Marshal

func (m *FrontendUser) Marshal() (dAtA []byte, err error)

func (*FrontendUser) MarshalTo

func (m *FrontendUser) MarshalTo(dAtA []byte) (int, error)

func (*FrontendUser) MarshalToSizedBuffer

func (m *FrontendUser) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FrontendUser) ProtoMessage

func (*FrontendUser) ProtoMessage()

func (*FrontendUser) Reset

func (m *FrontendUser) Reset()

func (*FrontendUser) Size

func (m *FrontendUser) Size() (n int)

func (*FrontendUser) String

func (m *FrontendUser) String() string

func (*FrontendUser) Unmarshal

func (m *FrontendUser) Unmarshal(dAtA []byte) error

func (*FrontendUser) XXX_DiscardUnknown

func (m *FrontendUser) XXX_DiscardUnknown()

func (*FrontendUser) XXX_Marshal

func (m *FrontendUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrontendUser) XXX_Merge

func (m *FrontendUser) XXX_Merge(src proto.Message)

func (*FrontendUser) XXX_Size

func (m *FrontendUser) XXX_Size() int

func (*FrontendUser) XXX_Unmarshal

func (m *FrontendUser) XXX_Unmarshal(b []byte) error

type IDReq

type IDReq struct {
	// id
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IDReq) Descriptor

func (*IDReq) Descriptor() ([]byte, []int)

func (*IDReq) GetId

func (m *IDReq) GetId() int64

func (*IDReq) Marshal

func (m *IDReq) Marshal() (dAtA []byte, err error)

func (*IDReq) MarshalTo

func (m *IDReq) MarshalTo(dAtA []byte) (int, error)

func (*IDReq) MarshalToSizedBuffer

func (m *IDReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IDReq) ProtoMessage

func (*IDReq) ProtoMessage()

func (*IDReq) Reset

func (m *IDReq) Reset()

func (*IDReq) Size

func (m *IDReq) Size() (n int)

func (*IDReq) String

func (m *IDReq) String() string

func (*IDReq) Unmarshal

func (m *IDReq) Unmarshal(dAtA []byte) error

func (*IDReq) XXX_DiscardUnknown

func (m *IDReq) XXX_DiscardUnknown()

func (*IDReq) XXX_Marshal

func (m *IDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDReq) XXX_Merge

func (m *IDReq) XXX_Merge(src proto.Message)

func (*IDReq) XXX_Size

func (m *IDReq) XXX_Size() int

func (*IDReq) XXX_Unmarshal

func (m *IDReq) XXX_Unmarshal(b []byte) error

type IDReqs

type IDReqs struct {
	// id
	Ids                  []int64  `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids" form:"ids" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IDReqs) Descriptor

func (*IDReqs) Descriptor() ([]byte, []int)

func (*IDReqs) GetIds

func (m *IDReqs) GetIds() []int64

func (*IDReqs) Marshal

func (m *IDReqs) Marshal() (dAtA []byte, err error)

func (*IDReqs) MarshalTo

func (m *IDReqs) MarshalTo(dAtA []byte) (int, error)

func (*IDReqs) MarshalToSizedBuffer

func (m *IDReqs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IDReqs) ProtoMessage

func (*IDReqs) ProtoMessage()

func (*IDReqs) Reset

func (m *IDReqs) Reset()

func (*IDReqs) Size

func (m *IDReqs) Size() (n int)

func (*IDReqs) String

func (m *IDReqs) String() string

func (*IDReqs) Unmarshal

func (m *IDReqs) Unmarshal(dAtA []byte) error

func (*IDReqs) XXX_DiscardUnknown

func (m *IDReqs) XXX_DiscardUnknown()

func (*IDReqs) XXX_Marshal

func (m *IDReqs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDReqs) XXX_Merge

func (m *IDReqs) XXX_Merge(src proto.Message)

func (*IDReqs) XXX_Size

func (m *IDReqs) XXX_Size() int

func (*IDReqs) XXX_Unmarshal

func (m *IDReqs) XXX_Unmarshal(b []byte) error

type IDResp

type IDResp struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IDResp) Descriptor

func (*IDResp) Descriptor() ([]byte, []int)

func (*IDResp) GetId

func (m *IDResp) GetId() int64

func (*IDResp) Marshal

func (m *IDResp) Marshal() (dAtA []byte, err error)

func (*IDResp) MarshalTo

func (m *IDResp) MarshalTo(dAtA []byte) (int, error)

func (*IDResp) MarshalToSizedBuffer

func (m *IDResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IDResp) ProtoMessage

func (*IDResp) ProtoMessage()

func (*IDResp) Reset

func (m *IDResp) Reset()

func (*IDResp) Size

func (m *IDResp) Size() (n int)

func (*IDResp) String

func (m *IDResp) String() string

func (*IDResp) Unmarshal

func (m *IDResp) Unmarshal(dAtA []byte) error

func (*IDResp) XXX_DiscardUnknown

func (m *IDResp) XXX_DiscardUnknown()

func (*IDResp) XXX_Marshal

func (m *IDResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDResp) XXX_Merge

func (m *IDResp) XXX_Merge(src proto.Message)

func (*IDResp) XXX_Size

func (m *IDResp) XXX_Size() int

func (*IDResp) XXX_Unmarshal

func (m *IDResp) XXX_Unmarshal(b []byte) error

type IncidentTargetType

type IncidentTargetType int32
const (
	IncidentTargetType_INCIDENT_TARGET_TYPE_DEFAULT     IncidentTargetType = 0
	IncidentTargetType_INCIDENT_TARGET_TYPE_MALFUNCTION IncidentTargetType = 1
	IncidentTargetType_INCIDENT_TARGET_TYPE_INCIDENT    IncidentTargetType = 2
)

func (IncidentTargetType) EnumDescriptor

func (IncidentTargetType) EnumDescriptor() ([]byte, []int)

func (IncidentTargetType) String

func (x IncidentTargetType) String() string

type KeyReq

type KeyReq struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" form:"key"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyReq) Descriptor

func (*KeyReq) Descriptor() ([]byte, []int)

func (*KeyReq) GetKey

func (m *KeyReq) GetKey() string

func (*KeyReq) Marshal

func (m *KeyReq) Marshal() (dAtA []byte, err error)

func (*KeyReq) MarshalTo

func (m *KeyReq) MarshalTo(dAtA []byte) (int, error)

func (*KeyReq) MarshalToSizedBuffer

func (m *KeyReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyReq) ProtoMessage

func (*KeyReq) ProtoMessage()

func (*KeyReq) Reset

func (m *KeyReq) Reset()

func (*KeyReq) Size

func (m *KeyReq) Size() (n int)

func (*KeyReq) String

func (m *KeyReq) String() string

func (*KeyReq) Unmarshal

func (m *KeyReq) Unmarshal(dAtA []byte) error

func (*KeyReq) XXX_DiscardUnknown

func (m *KeyReq) XXX_DiscardUnknown()

func (*KeyReq) XXX_Marshal

func (m *KeyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyReq) XXX_Merge

func (m *KeyReq) XXX_Merge(src proto.Message)

func (*KeyReq) XXX_Size

func (m *KeyReq) XXX_Size() int

func (*KeyReq) XXX_Unmarshal

func (m *KeyReq) XXX_Unmarshal(b []byte) error

type ListReq

type ListReq struct {
	// id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id"`
	// 模糊搜索
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"s" form:"s"`
	// 分页
	PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"page_size" form:"page_size"`
	// 分页
	PageNum int64 `protobuf:"varint,4,opt,name=pageNum,proto3" json:"page_num" form:"page_num"`
	// 开始时间
	Stime int64 `protobuf:"varint,5,opt,name=stime,proto3" json:"start_date" form:"start_date"`
	// 结束时间
	Etime int64 `protobuf:"varint,6,opt,name=etime,proto3" json:"end_date" form:"end_date"`
	// 排序字段
	Orderby string `protobuf:"bytes,7,opt,name=orderby,proto3" json:"orderby" form:"orderby"`
	// 排序字段
	Asc string `protobuf:"bytes,8,opt,name=asc,proto3" json:"asc" form:"asc"`
	// 我的
	Mine                 int64    `protobuf:"varint,9,opt,name=mine,proto3" json:"mine" form:"mine"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListReq) Descriptor

func (*ListReq) Descriptor() ([]byte, []int)

func (*ListReq) GetAsc

func (m *ListReq) GetAsc() string

func (*ListReq) GetEtime

func (m *ListReq) GetEtime() int64

func (*ListReq) GetId

func (m *ListReq) GetId() int64

func (*ListReq) GetKey

func (m *ListReq) GetKey() string

func (*ListReq) GetMine

func (m *ListReq) GetMine() int64

func (*ListReq) GetOrderby

func (m *ListReq) GetOrderby() string

func (*ListReq) GetPageNum

func (m *ListReq) GetPageNum() int64

func (*ListReq) GetPageSize

func (m *ListReq) GetPageSize() int64

func (*ListReq) GetStime

func (m *ListReq) GetStime() int64

func (*ListReq) Marshal

func (m *ListReq) Marshal() (dAtA []byte, err error)

func (*ListReq) MarshalTo

func (m *ListReq) MarshalTo(dAtA []byte) (int, error)

func (*ListReq) MarshalToSizedBuffer

func (m *ListReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListReq) ProtoMessage

func (*ListReq) ProtoMessage()

func (*ListReq) Reset

func (m *ListReq) Reset()

func (*ListReq) Size

func (m *ListReq) Size() (n int)

func (*ListReq) String

func (m *ListReq) String() string

func (*ListReq) Unmarshal

func (m *ListReq) Unmarshal(dAtA []byte) error

func (*ListReq) XXX_DiscardUnknown

func (m *ListReq) XXX_DiscardUnknown()

func (*ListReq) XXX_Marshal

func (m *ListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListReq) XXX_Merge

func (m *ListReq) XXX_Merge(src proto.Message)

func (*ListReq) XXX_Size

func (m *ListReq) XXX_Size() int

func (*ListReq) XXX_Unmarshal

func (m *ListReq) XXX_Unmarshal(b []byte) error

type ListRobotReq

type ListRobotReq struct {
	// id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id"`
	// 模糊搜索
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"s" form:"s"`
	// team_id
	TeamId int64 `protobuf:"varint,10,opt,name=team_id,json=teamId,proto3" json:"team_id" form:"team_id"`
	// component_id
	ComponentId int64 `protobuf:"varint,11,opt,name=component_id,json=componentId,proto3" json:"component_id" form:"component_id"`
	// 分页
	PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"page_size" form:"page_size"`
	// 分页
	PageNum int64 `protobuf:"varint,4,opt,name=pageNum,proto3" json:"page_num" form:"page_num"`
	// 开始时间
	Stime int64 `protobuf:"varint,5,opt,name=stime,proto3" json:"start_date" form:"start_date"`
	// 结束时间
	Etime int64 `protobuf:"varint,6,opt,name=etime,proto3" json:"end_date" form:"end_date"`
	// 排序字段
	Orderby string `protobuf:"bytes,7,opt,name=orderby,proto3" json:"orderby" form:"orderby"`
	// 排序字段
	Asc string `protobuf:"bytes,8,opt,name=asc,proto3" json:"asc" form:"asc"`
	// 我的
	Mine                 int64    `protobuf:"varint,9,opt,name=mine,proto3" json:"mine" form:"mine"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListRobotReq) Descriptor

func (*ListRobotReq) Descriptor() ([]byte, []int)

func (*ListRobotReq) Marshal

func (m *ListRobotReq) Marshal() (dAtA []byte, err error)

func (*ListRobotReq) MarshalTo

func (m *ListRobotReq) MarshalTo(dAtA []byte) (int, error)

func (*ListRobotReq) MarshalToSizedBuffer

func (m *ListRobotReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListRobotReq) ProtoMessage

func (*ListRobotReq) ProtoMessage()

func (*ListRobotReq) Reset

func (m *ListRobotReq) Reset()

func (*ListRobotReq) Size

func (m *ListRobotReq) Size() (n int)

func (*ListRobotReq) String

func (m *ListRobotReq) String() string

func (*ListRobotReq) Unmarshal

func (m *ListRobotReq) Unmarshal(dAtA []byte) error

func (*ListRobotReq) XXX_DiscardUnknown

func (m *ListRobotReq) XXX_DiscardUnknown()

func (*ListRobotReq) XXX_Marshal

func (m *ListRobotReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRobotReq) XXX_Merge

func (m *ListRobotReq) XXX_Merge(src proto.Message)

func (*ListRobotReq) XXX_Size

func (m *ListRobotReq) XXX_Size() int

func (*ListRobotReq) XXX_Unmarshal

func (m *ListRobotReq) XXX_Unmarshal(b []byte) error

type ListRobotResp

type ListRobotResp struct {
	Data                 []*RobotForList `protobuf:"bytes,1,rep,name=data,proto3" json:"list"`
	Count                int64           `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ListRobotResp) Descriptor

func (*ListRobotResp) Descriptor() ([]byte, []int)

func (*ListRobotResp) Marshal

func (m *ListRobotResp) Marshal() (dAtA []byte, err error)

func (*ListRobotResp) MarshalTo

func (m *ListRobotResp) MarshalTo(dAtA []byte) (int, error)

func (*ListRobotResp) MarshalToSizedBuffer

func (m *ListRobotResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListRobotResp) ProtoMessage

func (*ListRobotResp) ProtoMessage()

func (*ListRobotResp) Reset

func (m *ListRobotResp) Reset()

func (*ListRobotResp) Size

func (m *ListRobotResp) Size() (n int)

func (*ListRobotResp) String

func (m *ListRobotResp) String() string

func (*ListRobotResp) Unmarshal

func (m *ListRobotResp) Unmarshal(dAtA []byte) error

func (*ListRobotResp) XXX_DiscardUnknown

func (m *ListRobotResp) XXX_DiscardUnknown()

func (*ListRobotResp) XXX_Marshal

func (m *ListRobotResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRobotResp) XXX_Merge

func (m *ListRobotResp) XXX_Merge(src proto.Message)

func (*ListRobotResp) XXX_Size

func (m *ListRobotResp) XXX_Size() int

func (*ListRobotResp) XXX_Unmarshal

func (m *ListRobotResp) XXX_Unmarshal(b []byte) error

type MapResp

type MapResp struct {
	Data                 map[string]string `` /* 138-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MapResp) Descriptor

func (*MapResp) Descriptor() ([]byte, []int)

func (*MapResp) GetData

func (m *MapResp) GetData() map[string]string

func (*MapResp) Marshal

func (m *MapResp) Marshal() (dAtA []byte, err error)

func (*MapResp) MarshalTo

func (m *MapResp) MarshalTo(dAtA []byte) (int, error)

func (*MapResp) MarshalToSizedBuffer

func (m *MapResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MapResp) ProtoMessage

func (*MapResp) ProtoMessage()

func (*MapResp) Reset

func (m *MapResp) Reset()

func (*MapResp) Size

func (m *MapResp) Size() (n int)

func (*MapResp) String

func (m *MapResp) String() string

func (*MapResp) Unmarshal

func (m *MapResp) Unmarshal(dAtA []byte) error

func (*MapResp) XXX_DiscardUnknown

func (m *MapResp) XXX_DiscardUnknown()

func (*MapResp) XXX_Marshal

func (m *MapResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapResp) XXX_Merge

func (m *MapResp) XXX_Merge(src proto.Message)

func (*MapResp) XXX_Size

func (m *MapResp) XXX_Size() int

func (*MapResp) XXX_Unmarshal

func (m *MapResp) XXX_Unmarshal(b []byte) error

type Mine

type Mine int32
const (
	Mine_MINE_DEFAULT Mine = 0
	Mine_MINE_MINE    Mine = 1
)

func (Mine) EnumDescriptor

func (Mine) EnumDescriptor() ([]byte, []int)

func (Mine) String

func (x Mine) String() string

type Robot

type Robot struct {
	// id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	// 昵称
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
	// 创建人
	CreatorUid string `protobuf:"bytes,3,opt,name=creator_uid,json=creatorUid,proto3" json:"creator_uid"`
	// 机器人地址
	Webhook string `protobuf:"bytes,4,opt,name=webhook,proto3" json:"webhook"`
	// 标签
	Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag"`
	// 组件
	ComponentIds         []int64  `protobuf:"varint,6,rep,packed,name=componentIds,proto3" json:"component_ids"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Robot) Descriptor

func (*Robot) Descriptor() ([]byte, []int)

func (*Robot) Marshal

func (m *Robot) Marshal() (dAtA []byte, err error)

func (*Robot) MarshalTo

func (m *Robot) MarshalTo(dAtA []byte) (int, error)

func (*Robot) MarshalToSizedBuffer

func (m *Robot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Robot) ProtoMessage

func (*Robot) ProtoMessage()

func (*Robot) Reset

func (m *Robot) Reset()

func (*Robot) Size

func (m *Robot) Size() (n int)

func (*Robot) String

func (m *Robot) String() string

func (*Robot) Unmarshal

func (m *Robot) Unmarshal(dAtA []byte) error

func (*Robot) XXX_DiscardUnknown

func (m *Robot) XXX_DiscardUnknown()

func (*Robot) XXX_Marshal

func (m *Robot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Robot) XXX_Merge

func (m *Robot) XXX_Merge(src proto.Message)

func (*Robot) XXX_Size

func (m *Robot) XXX_Size() int

func (*Robot) XXX_Unmarshal

func (m *Robot) XXX_Unmarshal(b []byte) error

type RobotAPIClient

type RobotAPIClient interface {
	// 机器人管理-创建
	CreateRobot(ctx context.Context, in *RobotCReq, opts ...grpc.CallOption) (*UpdateResp, error)
	// 机器人管理-更新
	UpdateRobot(ctx context.Context, in *RobotUReq, opts ...grpc.CallOption) (*UpdateResp, error)
	// 机器人管理-删除
	DeleteRobot(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*UpdateResp, error)
	// 机器人管理-详情
	GetRobot(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*Robot, error)
	// 机器人管理-列表
	ListRobot(ctx context.Context, in *ListRobotReq, opts ...grpc.CallOption) (*ListRobotResp, error)
}

RobotAPIClient is the client API for RobotAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRobotAPIClient

func NewRobotAPIClient(cc *grpc.ClientConn) RobotAPIClient

type RobotAPIServer

type RobotAPIServer interface {
	// 机器人管理-创建
	CreateRobot(context.Context, *RobotCReq) (*UpdateResp, error)
	// 机器人管理-更新
	UpdateRobot(context.Context, *RobotUReq) (*UpdateResp, error)
	// 机器人管理-删除
	DeleteRobot(context.Context, *IDReq) (*UpdateResp, error)
	// 机器人管理-详情
	GetRobot(context.Context, *IDReq) (*Robot, error)
	// 机器人管理-列表
	ListRobot(context.Context, *ListRobotReq) (*ListRobotResp, error)
}

RobotAPIServer is the server API for RobotAPI service.

type RobotCReq

type RobotCReq struct {
	// 昵称
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname" validate:"required"`
	// 机器人地址
	Webhook string `protobuf:"bytes,4,opt,name=webhook,proto3" json:"webhook" validate:"required"`
	// 标签
	Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag" validate:"required"`
	// 组件
	ComponentIds         []int64  `protobuf:"varint,6,rep,packed,name=componentIds,proto3" json:"component_ids" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RobotCReq) Descriptor

func (*RobotCReq) Descriptor() ([]byte, []int)

func (*RobotCReq) Marshal

func (m *RobotCReq) Marshal() (dAtA []byte, err error)

func (*RobotCReq) MarshalTo

func (m *RobotCReq) MarshalTo(dAtA []byte) (int, error)

func (*RobotCReq) MarshalToSizedBuffer

func (m *RobotCReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RobotCReq) ProtoMessage

func (*RobotCReq) ProtoMessage()

func (*RobotCReq) Reset

func (m *RobotCReq) Reset()

func (*RobotCReq) Size

func (m *RobotCReq) Size() (n int)

func (*RobotCReq) String

func (m *RobotCReq) String() string

func (*RobotCReq) Unmarshal

func (m *RobotCReq) Unmarshal(dAtA []byte) error

func (*RobotCReq) XXX_DiscardUnknown

func (m *RobotCReq) XXX_DiscardUnknown()

func (*RobotCReq) XXX_Marshal

func (m *RobotCReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RobotCReq) XXX_Merge

func (m *RobotCReq) XXX_Merge(src proto.Message)

func (*RobotCReq) XXX_Size

func (m *RobotCReq) XXX_Size() int

func (*RobotCReq) XXX_Unmarshal

func (m *RobotCReq) XXX_Unmarshal(b []byte) error

type RobotForList

type RobotForList struct {
	// id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	// 昵称
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
	// 创建人
	CreatorUid string `protobuf:"bytes,3,opt,name=creator_uid,json=creatorUid,proto3" json:"creator_uid"`
	// 机器人地址
	Webhook string `protobuf:"bytes,4,opt,name=webhook,proto3" json:"webhook"`
	// 标签
	Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag"`
	// 创建时间
	CTime int64 `protobuf:"varint,6,opt,name=cTime,proto3" json:"create_time" gorm:"-"`
	// 更新时间
	MTime int64 `protobuf:"varint,7,opt,name=mTime,proto3" json:"update_time" gorm:"-"`
	// 删除标志位
	IsDeleted int64 `protobuf:"varint,8,opt,name=isDeleted,proto3" json:"is_deleted"`
	// 团队信息
	TeamComponent        []*RobotWithTeamAndComponentIdName `protobuf:"bytes,9,rep,name=team_component,json=teamComponent,proto3" json:"team_component"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*RobotForList) Descriptor

func (*RobotForList) Descriptor() ([]byte, []int)

func (*RobotForList) Marshal

func (m *RobotForList) Marshal() (dAtA []byte, err error)

func (*RobotForList) MarshalTo

func (m *RobotForList) MarshalTo(dAtA []byte) (int, error)

func (*RobotForList) MarshalToSizedBuffer

func (m *RobotForList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RobotForList) ProtoMessage

func (*RobotForList) ProtoMessage()

func (*RobotForList) Reset

func (m *RobotForList) Reset()

func (*RobotForList) Size

func (m *RobotForList) Size() (n int)

func (*RobotForList) String

func (m *RobotForList) String() string

func (*RobotForList) Unmarshal

func (m *RobotForList) Unmarshal(dAtA []byte) error

func (*RobotForList) XXX_DiscardUnknown

func (m *RobotForList) XXX_DiscardUnknown()

func (*RobotForList) XXX_Marshal

func (m *RobotForList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RobotForList) XXX_Merge

func (m *RobotForList) XXX_Merge(src proto.Message)

func (*RobotForList) XXX_Size

func (m *RobotForList) XXX_Size() int

func (*RobotForList) XXX_Unmarshal

func (m *RobotForList) XXX_Unmarshal(b []byte) error

type RobotUReq

type RobotUReq struct {
	// id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"required"`
	// 昵称
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
	// 机器人地址
	Webhook string `protobuf:"bytes,4,opt,name=webhook,proto3" json:"webhook"`
	// 标签
	Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag"`
	// 组件
	ComponentIds         []int64  `protobuf:"varint,6,rep,packed,name=componentIds,proto3" json:"component_ids"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RobotUReq) Descriptor

func (*RobotUReq) Descriptor() ([]byte, []int)

func (*RobotUReq) Marshal

func (m *RobotUReq) Marshal() (dAtA []byte, err error)

func (*RobotUReq) MarshalTo

func (m *RobotUReq) MarshalTo(dAtA []byte) (int, error)

func (*RobotUReq) MarshalToSizedBuffer

func (m *RobotUReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RobotUReq) ProtoMessage

func (*RobotUReq) ProtoMessage()

func (*RobotUReq) Reset

func (m *RobotUReq) Reset()

func (*RobotUReq) Size

func (m *RobotUReq) Size() (n int)

func (*RobotUReq) String

func (m *RobotUReq) String() string

func (*RobotUReq) Unmarshal

func (m *RobotUReq) Unmarshal(dAtA []byte) error

func (*RobotUReq) XXX_DiscardUnknown

func (m *RobotUReq) XXX_DiscardUnknown()

func (*RobotUReq) XXX_Marshal

func (m *RobotUReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RobotUReq) XXX_Merge

func (m *RobotUReq) XXX_Merge(src proto.Message)

func (*RobotUReq) XXX_Size

func (m *RobotUReq) XXX_Size() int

func (*RobotUReq) XXX_Unmarshal

func (m *RobotUReq) XXX_Unmarshal(b []byte) error

type RobotWithNickname

type RobotWithNickname struct {
	// id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	// 昵称
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
	// 类别
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RobotWithNickname) Descriptor

func (*RobotWithNickname) Descriptor() ([]byte, []int)

func (*RobotWithNickname) Marshal

func (m *RobotWithNickname) Marshal() (dAtA []byte, err error)

func (*RobotWithNickname) MarshalTo

func (m *RobotWithNickname) MarshalTo(dAtA []byte) (int, error)

func (*RobotWithNickname) MarshalToSizedBuffer

func (m *RobotWithNickname) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RobotWithNickname) ProtoMessage

func (*RobotWithNickname) ProtoMessage()

func (*RobotWithNickname) Reset

func (m *RobotWithNickname) Reset()

func (*RobotWithNickname) Size

func (m *RobotWithNickname) Size() (n int)

func (*RobotWithNickname) String

func (m *RobotWithNickname) String() string

func (*RobotWithNickname) Unmarshal

func (m *RobotWithNickname) Unmarshal(dAtA []byte) error

func (*RobotWithNickname) XXX_DiscardUnknown

func (m *RobotWithNickname) XXX_DiscardUnknown()

func (*RobotWithNickname) XXX_Marshal

func (m *RobotWithNickname) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RobotWithNickname) XXX_Merge

func (m *RobotWithNickname) XXX_Merge(src proto.Message)

func (*RobotWithNickname) XXX_Size

func (m *RobotWithNickname) XXX_Size() int

func (*RobotWithNickname) XXX_Unmarshal

func (m *RobotWithNickname) XXX_Unmarshal(b []byte) error

type RobotWithTeamAndComponentIdName

type RobotWithTeamAndComponentIdName struct {
	// team_id
	TeamId int64 `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3" json:"team_id"`
	// 团队名称
	TeamName string `protobuf:"bytes,2,opt,name=team_name,json=teamName,proto3" json:"team_name"`
	// component_id
	ComponentId int64 `protobuf:"varint,3,opt,name=component_id,json=componentId,proto3" json:"component_id"`
	// 组件名称
	ComponentName        string   `protobuf:"bytes,4,opt,name=component_name,json=componentName,proto3" json:"component_name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RobotWithTeamAndComponentIdName) Descriptor

func (*RobotWithTeamAndComponentIdName) Descriptor() ([]byte, []int)

func (*RobotWithTeamAndComponentIdName) Marshal

func (m *RobotWithTeamAndComponentIdName) Marshal() (dAtA []byte, err error)

func (*RobotWithTeamAndComponentIdName) MarshalTo

func (m *RobotWithTeamAndComponentIdName) MarshalTo(dAtA []byte) (int, error)

func (*RobotWithTeamAndComponentIdName) MarshalToSizedBuffer

func (m *RobotWithTeamAndComponentIdName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RobotWithTeamAndComponentIdName) ProtoMessage

func (*RobotWithTeamAndComponentIdName) ProtoMessage()

func (*RobotWithTeamAndComponentIdName) Reset

func (*RobotWithTeamAndComponentIdName) Size

func (m *RobotWithTeamAndComponentIdName) Size() (n int)

func (*RobotWithTeamAndComponentIdName) String

func (*RobotWithTeamAndComponentIdName) Unmarshal

func (m *RobotWithTeamAndComponentIdName) Unmarshal(dAtA []byte) error

func (*RobotWithTeamAndComponentIdName) XXX_DiscardUnknown

func (m *RobotWithTeamAndComponentIdName) XXX_DiscardUnknown()

func (*RobotWithTeamAndComponentIdName) XXX_Marshal

func (m *RobotWithTeamAndComponentIdName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RobotWithTeamAndComponentIdName) XXX_Merge

func (m *RobotWithTeamAndComponentIdName) XXX_Merge(src proto.Message)

func (*RobotWithTeamAndComponentIdName) XXX_Size

func (m *RobotWithTeamAndComponentIdName) XXX_Size() int

func (*RobotWithTeamAndComponentIdName) XXX_Unmarshal

func (m *RobotWithTeamAndComponentIdName) XXX_Unmarshal(b []byte) error

type UnimplementedRobotAPIServer

type UnimplementedRobotAPIServer struct {
}

UnimplementedRobotAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedRobotAPIServer) CreateRobot

func (*UnimplementedRobotAPIServer) DeleteRobot

func (*UnimplementedRobotAPIServer) DeleteRobot(ctx context.Context, req *IDReq) (*UpdateResp, error)

func (*UnimplementedRobotAPIServer) GetRobot

func (*UnimplementedRobotAPIServer) GetRobot(ctx context.Context, req *IDReq) (*Robot, error)

func (*UnimplementedRobotAPIServer) ListRobot

func (*UnimplementedRobotAPIServer) UpdateRobot

type UpdateResp

type UpdateResp struct {
	// 返回信息
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateResp) Descriptor

func (*UpdateResp) Descriptor() ([]byte, []int)

func (*UpdateResp) GetMessage

func (m *UpdateResp) GetMessage() string

func (*UpdateResp) Marshal

func (m *UpdateResp) Marshal() (dAtA []byte, err error)

func (*UpdateResp) MarshalTo

func (m *UpdateResp) MarshalTo(dAtA []byte) (int, error)

func (*UpdateResp) MarshalToSizedBuffer

func (m *UpdateResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateResp) ProtoMessage

func (*UpdateResp) ProtoMessage()

func (*UpdateResp) Reset

func (m *UpdateResp) Reset()

func (*UpdateResp) Size

func (m *UpdateResp) Size() (n int)

func (*UpdateResp) String

func (m *UpdateResp) String() string

func (*UpdateResp) Unmarshal

func (m *UpdateResp) Unmarshal(dAtA []byte) error

func (*UpdateResp) XXX_DiscardUnknown

func (m *UpdateResp) XXX_DiscardUnknown()

func (*UpdateResp) XXX_Marshal

func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateResp) XXX_Merge

func (m *UpdateResp) XXX_Merge(src proto.Message)

func (*UpdateResp) XXX_Size

func (m *UpdateResp) XXX_Size() int

func (*UpdateResp) XXX_Unmarshal

func (m *UpdateResp) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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