1200 lines
42 KiB
Go
1200 lines
42 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.33.0
|
||
// protoc v3.19.4
|
||
// source: proto/delivery.proto
|
||
|
||
package delivery
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
type FetchRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
PageNo int64 `protobuf:"varint,1,opt,name=page_no,json=pageNo,proto3" json:"page_no,omitempty"` // 页数
|
||
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页记录数
|
||
Params map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 条件参数,key=val,eg key:category_id=?,vlaue=11
|
||
}
|
||
|
||
func (x *FetchRequest) Reset() {
|
||
*x = FetchRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *FetchRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FetchRequest) ProtoMessage() {}
|
||
|
||
func (x *FetchRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[0]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FetchRequest.ProtoReflect.Descriptor instead.
|
||
func (*FetchRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *FetchRequest) GetPageNo() int64 {
|
||
if x != nil {
|
||
return x.PageNo
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FetchRequest) GetPageSize() int64 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *FetchRequest) GetParams() map[string]string {
|
||
if x != nil {
|
||
return x.Params
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type IdentRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 唯一ID
|
||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一码
|
||
}
|
||
|
||
func (x *IdentRequest) Reset() {
|
||
*x = IdentRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *IdentRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*IdentRequest) ProtoMessage() {}
|
||
|
||
func (x *IdentRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[1]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use IdentRequest.ProtoReflect.Descriptor instead.
|
||
func (*IdentRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *IdentRequest) GetId() int64 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *IdentRequest) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type VersionRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // 时序版本号
|
||
}
|
||
|
||
func (x *VersionRequest) Reset() {
|
||
*x = VersionRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *VersionRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*VersionRequest) ProtoMessage() {}
|
||
|
||
func (x *VersionRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[2]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.
|
||
func (*VersionRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *VersionRequest) GetVersion() int64 {
|
||
if x != nil {
|
||
return x.Version
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type SearchRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` //关键词
|
||
}
|
||
|
||
func (x *SearchRequest) Reset() {
|
||
*x = SearchRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SearchRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SearchRequest) ProtoMessage() {}
|
||
|
||
func (x *SearchRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[3]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
|
||
func (*SearchRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *SearchRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type StatusReply struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 状态码
|
||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 标识码
|
||
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` //状态说明
|
||
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
|
||
}
|
||
|
||
func (x *StatusReply) Reset() {
|
||
*x = StatusReply{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *StatusReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StatusReply) ProtoMessage() {}
|
||
|
||
func (x *StatusReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[4]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StatusReply.ProtoReflect.Descriptor instead.
|
||
func (*StatusReply) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *StatusReply) GetStatus() int64 {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *StatusReply) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StatusReply) GetMessage() string {
|
||
if x != nil {
|
||
return x.Message
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StatusReply) GetTimeseq() int64 {
|
||
if x != nil {
|
||
return x.Timeseq
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type Empty struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
}
|
||
|
||
func (x *Empty) Reset() {
|
||
*x = Empty{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Empty) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Empty) ProtoMessage() {}
|
||
|
||
func (x *Empty) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[5]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
|
||
func (*Empty) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
type CarListReply struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||
List []*CarItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
|
||
}
|
||
|
||
func (x *CarListReply) Reset() {
|
||
*x = CarListReply{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CarListReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CarListReply) ProtoMessage() {}
|
||
|
||
func (x *CarListReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[6]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CarListReply.ProtoReflect.Descriptor instead.
|
||
func (*CarListReply) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *CarListReply) GetCount() int64 {
|
||
if x != nil {
|
||
return x.Count
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CarListReply) GetList() []*CarItem {
|
||
if x != nil {
|
||
return x.List
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CarItem struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一标识
|
||
Brand string `protobuf:"bytes,2,opt,name=brand,proto3" json:"brand,omitempty"` // 品牌
|
||
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // 型号
|
||
LicenseNumber string `protobuf:"bytes,4,opt,name=license_number,json=licenseNumber,proto3" json:"license_number,omitempty"` // 车牌号
|
||
TeamIdentity string `protobuf:"bytes,5,opt,name=team_identity,json=teamIdentity,proto3" json:"team_identity,omitempty"` // 团队唯一标识
|
||
Contacts string `protobuf:"bytes,6,opt,name=contacts,proto3" json:"contacts,omitempty"` // 联系人姓名
|
||
Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty"` // 联系人电话
|
||
Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` // 状态:1正常;-1禁用
|
||
Picture string `protobuf:"bytes,9,opt,name=picture,proto3" json:"picture,omitempty"` // 车辆图片
|
||
}
|
||
|
||
func (x *CarItem) Reset() {
|
||
*x = CarItem{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *CarItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CarItem) ProtoMessage() {}
|
||
|
||
func (x *CarItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[7]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CarItem.ProtoReflect.Descriptor instead.
|
||
func (*CarItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *CarItem) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CarItem) GetBrand() string {
|
||
if x != nil {
|
||
return x.Brand
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CarItem) GetVersion() string {
|
||
if x != nil {
|
||
return x.Version
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CarItem) GetLicenseNumber() string {
|
||
if x != nil {
|
||
return x.LicenseNumber
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CarItem) GetTeamIdentity() string {
|
||
if x != nil {
|
||
return x.TeamIdentity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CarItem) GetContacts() string {
|
||
if x != nil {
|
||
return x.Contacts
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CarItem) GetPhone() string {
|
||
if x != nil {
|
||
return x.Phone
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CarItem) GetStatus() int64 {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CarItem) GetPicture() string {
|
||
if x != nil {
|
||
return x.Picture
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type MemberItem struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一标识
|
||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 姓名
|
||
TeamIdentity string `protobuf:"bytes,3,opt,name=team_identity,json=teamIdentity,proto3" json:"team_identity,omitempty"` // 团队唯一标识
|
||
Picture string `protobuf:"bytes,4,opt,name=picture,proto3" json:"picture,omitempty"` // 头像
|
||
Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` // 联系人电话
|
||
Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` // 状态:1正常;-1禁用
|
||
Turnover int64 `protobuf:"varint,7,opt,name=turnover,proto3" json:"turnover,omitempty"` // 总成交量
|
||
}
|
||
|
||
func (x *MemberItem) Reset() {
|
||
*x = MemberItem{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MemberItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MemberItem) ProtoMessage() {}
|
||
|
||
func (x *MemberItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[8]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use MemberItem.ProtoReflect.Descriptor instead.
|
||
func (*MemberItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *MemberItem) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *MemberItem) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *MemberItem) GetTeamIdentity() string {
|
||
if x != nil {
|
||
return x.TeamIdentity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *MemberItem) GetPicture() string {
|
||
if x != nil {
|
||
return x.Picture
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *MemberItem) GetPhone() string {
|
||
if x != nil {
|
||
return x.Phone
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *MemberItem) GetStatus() int64 {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *MemberItem) GetTurnover() int64 {
|
||
if x != nil {
|
||
return x.Turnover
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type MemberListReply struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||
List []*MemberItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
|
||
}
|
||
|
||
func (x *MemberListReply) Reset() {
|
||
*x = MemberListReply{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MemberListReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MemberListReply) ProtoMessage() {}
|
||
|
||
func (x *MemberListReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[9]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use MemberListReply.ProtoReflect.Descriptor instead.
|
||
func (*MemberListReply) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *MemberListReply) GetCount() int64 {
|
||
if x != nil {
|
||
return x.Count
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *MemberListReply) GetList() []*MemberItem {
|
||
if x != nil {
|
||
return x.List
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type TeamListReply struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||
List []*TeamItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
|
||
}
|
||
|
||
func (x *TeamListReply) Reset() {
|
||
*x = TeamListReply{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *TeamListReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TeamListReply) ProtoMessage() {}
|
||
|
||
func (x *TeamListReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[10]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use TeamListReply.ProtoReflect.Descriptor instead.
|
||
func (*TeamListReply) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *TeamListReply) GetCount() int64 {
|
||
if x != nil {
|
||
return x.Count
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TeamListReply) GetList() []*TeamItem {
|
||
if x != nil {
|
||
return x.List
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type TeamItem struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一标识
|
||
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 团队名称
|
||
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // 归属者唯一标识
|
||
Contacts string `protobuf:"bytes,4,opt,name=contacts,proto3" json:"contacts,omitempty"` // 联系人姓名
|
||
Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` // 联系人电话
|
||
Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` // 状态:1正常;-1禁用
|
||
Logo string `protobuf:"bytes,7,opt,name=logo,proto3" json:"logo,omitempty"` // 团队图标地址
|
||
}
|
||
|
||
func (x *TeamItem) Reset() {
|
||
*x = TeamItem{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_proto_delivery_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *TeamItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TeamItem) ProtoMessage() {}
|
||
|
||
func (x *TeamItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_delivery_proto_msgTypes[11]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use TeamItem.ProtoReflect.Descriptor instead.
|
||
func (*TeamItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_delivery_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *TeamItem) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TeamItem) GetTitle() string {
|
||
if x != nil {
|
||
return x.Title
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TeamItem) GetOwner() string {
|
||
if x != nil {
|
||
return x.Owner
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TeamItem) GetContacts() string {
|
||
if x != nil {
|
||
return x.Contacts
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TeamItem) GetPhone() string {
|
||
if x != nil {
|
||
return x.Phone
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TeamItem) GetStatus() int64 {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TeamItem) GetLogo() string {
|
||
if x != nil {
|
||
return x.Logo
|
||
}
|
||
return ""
|
||
}
|
||
|
||
var File_proto_delivery_proto protoreflect.FileDescriptor
|
||
|
||
var file_proto_delivery_proto_rawDesc = []byte{
|
||
0x0a, 0x14, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
|
||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
|
||
0x22, 0xbb, 0x01, 0x0a, 0x0c, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||
0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01,
|
||
0x28, 0x03, 0x52, 0x06, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
|
||
0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70,
|
||
0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d,
|
||
0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
|
||
0x72, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
|
||
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72,
|
||
0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74,
|
||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3a,
|
||
0x0a, 0x0c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
|
||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a,
|
||
0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x2a, 0x0a, 0x0e, 0x56, 0x65,
|
||
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07,
|
||
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76,
|
||
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
|
||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f,
|
||
0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72,
|
||
0x64, 0x22, 0x75, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
||
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e,
|
||
0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e,
|
||
0x74, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
|
||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18,
|
||
0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||
0x07, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x65, 0x71, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74,
|
||
0x79, 0x22, 0x4b, 0x0a, 0x0c, 0x43, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c,
|
||
0x79, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||
0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
|
||
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
|
||
0x2e, 0x43, 0x61, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x85,
|
||
0x02, 0x0a, 0x07, 0x43, 0x61, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x64,
|
||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x64,
|
||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07,
|
||
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76,
|
||
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73,
|
||
0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
||
0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x23, 0x0a,
|
||
0x0d, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||
0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x18, 0x06,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x12, 0x14,
|
||
0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70,
|
||
0x68, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08,
|
||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07,
|
||
0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70,
|
||
0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65,
|
||
0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
||
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
||
0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64,
|
||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x65,
|
||
0x61, 0x6d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x69,
|
||
0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x69, 0x63,
|
||
0x74, 0x75, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20,
|
||
0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74,
|
||
0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
|
||
0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x75, 0x72, 0x6e, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x07,
|
||
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x75, 0x72, 0x6e, 0x6f, 0x76, 0x65, 0x72, 0x22, 0x51,
|
||
0x0a, 0x0f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c,
|
||
0x79, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||
0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
|
||
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
|
||
0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x6c, 0x69, 0x73,
|
||
0x74, 0x22, 0x4d, 0x0a, 0x0d, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70,
|
||
0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74,
|
||
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72,
|
||
0x79, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74,
|
||
0x22, 0xb0, 0x01, 0x0a, 0x08, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a,
|
||
0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74,
|
||
0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12,
|
||
0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
||
0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74,
|
||
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74,
|
||
0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
||
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
|
||
0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c,
|
||
0x6f, 0x67, 0x6f, 0x32, 0xa0, 0x02, 0x0a, 0x03, 0x43, 0x61, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x43,
|
||
0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72,
|
||
0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
|
||
0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x43, 0x61, 0x72, 0x4c, 0x69, 0x73,
|
||
0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x06, 0x43, 0x61, 0x72, 0x41,
|
||
0x64, 0x64, 0x12, 0x11, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x43, 0x61,
|
||
0x72, 0x49, 0x74, 0x65, 0x6d, 0x1a, 0x15, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
|
||
0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x35,
|
||
0x0a, 0x06, 0x43, 0x61, 0x72, 0x47, 0x65, 0x74, 0x12, 0x16, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76,
|
||
0x65, 0x72, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||
0x1a, 0x11, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x43, 0x61, 0x72, 0x49,
|
||
0x74, 0x65, 0x6d, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x06, 0x43, 0x61, 0x72, 0x53, 0x65, 0x74, 0x12,
|
||
0x11, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x43, 0x61, 0x72, 0x49, 0x74,
|
||
0x65, 0x6d, 0x1a, 0x15, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74,
|
||
0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x06, 0x43,
|
||
0x61, 0x72, 0x44, 0x65, 0x6c, 0x12, 0x16, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
|
||
0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e,
|
||
0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
||
0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x32, 0xbe, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x6d, 0x62, 0x65,
|
||
0x72, 0x12, 0x41, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12,
|
||
0x16, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68,
|
||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
|
||
0x72, 0x79, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70,
|
||
0x6c, 0x79, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x09, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x64,
|
||
0x64, 0x12, 0x14, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x6d,
|
||
0x62, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x1a, 0x15, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
|
||
0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00,
|
||
0x12, 0x3b, 0x0a, 0x09, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x47, 0x65, 0x74, 0x12, 0x16, 0x2e,
|
||
0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
|
||
0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x22, 0x00, 0x12, 0x3a, 0x0a,
|
||
0x09, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x14, 0x2e, 0x64, 0x65, 0x6c,
|
||
0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d,
|
||
0x1a, 0x15, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74,
|
||
0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x09, 0x4d, 0x65, 0x6d,
|
||
0x62, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x12, 0x16, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72,
|
||
0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
|
||
0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x32, 0xaa, 0x02, 0x0a, 0x04, 0x54, 0x65, 0x61, 0x6d,
|
||
0x12, 0x3d, 0x0a, 0x08, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x64,
|
||
0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71,
|
||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e,
|
||
0x54, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12,
|
||
0x36, 0x0a, 0x07, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x64, 0x64, 0x12, 0x12, 0x2e, 0x64, 0x65, 0x6c,
|
||
0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x74, 0x65, 0x6d, 0x1a, 0x15,
|
||
0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x07, 0x54, 0x65, 0x61, 0x6d, 0x47,
|
||
0x65, 0x74, 0x12, 0x16, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x49, 0x64,
|
||
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x64, 0x65, 0x6c,
|
||
0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x74, 0x65, 0x6d, 0x22, 0x00,
|
||
0x12, 0x36, 0x0a, 0x07, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x12, 0x12, 0x2e, 0x64, 0x65,
|
||
0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x74, 0x65, 0x6d, 0x1a,
|
||
0x15, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
|
||
0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x07, 0x54, 0x65, 0x61, 0x6d,
|
||
0x44, 0x65, 0x6c, 0x12, 0x16, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x49,
|
||
0x64, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x64, 0x65,
|
||
0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70,
|
||
0x6c, 0x79, 0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
|
||
0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_proto_delivery_proto_rawDescOnce sync.Once
|
||
file_proto_delivery_proto_rawDescData = file_proto_delivery_proto_rawDesc
|
||
)
|
||
|
||
func file_proto_delivery_proto_rawDescGZIP() []byte {
|
||
file_proto_delivery_proto_rawDescOnce.Do(func() {
|
||
file_proto_delivery_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_delivery_proto_rawDescData)
|
||
})
|
||
return file_proto_delivery_proto_rawDescData
|
||
}
|
||
|
||
var file_proto_delivery_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||
var file_proto_delivery_proto_goTypes = []interface{}{
|
||
(*FetchRequest)(nil), // 0: delivery.FetchRequest
|
||
(*IdentRequest)(nil), // 1: delivery.IdentRequest
|
||
(*VersionRequest)(nil), // 2: delivery.VersionRequest
|
||
(*SearchRequest)(nil), // 3: delivery.SearchRequest
|
||
(*StatusReply)(nil), // 4: delivery.StatusReply
|
||
(*Empty)(nil), // 5: delivery.Empty
|
||
(*CarListReply)(nil), // 6: delivery.CarListReply
|
||
(*CarItem)(nil), // 7: delivery.CarItem
|
||
(*MemberItem)(nil), // 8: delivery.MemberItem
|
||
(*MemberListReply)(nil), // 9: delivery.MemberListReply
|
||
(*TeamListReply)(nil), // 10: delivery.TeamListReply
|
||
(*TeamItem)(nil), // 11: delivery.TeamItem
|
||
nil, // 12: delivery.FetchRequest.ParamsEntry
|
||
}
|
||
var file_proto_delivery_proto_depIdxs = []int32{
|
||
12, // 0: delivery.FetchRequest.params:type_name -> delivery.FetchRequest.ParamsEntry
|
||
7, // 1: delivery.CarListReply.list:type_name -> delivery.CarItem
|
||
8, // 2: delivery.MemberListReply.list:type_name -> delivery.MemberItem
|
||
11, // 3: delivery.TeamListReply.list:type_name -> delivery.TeamItem
|
||
0, // 4: delivery.Car.CarList:input_type -> delivery.FetchRequest
|
||
7, // 5: delivery.Car.CarAdd:input_type -> delivery.CarItem
|
||
1, // 6: delivery.Car.CarGet:input_type -> delivery.IdentRequest
|
||
7, // 7: delivery.Car.CarSet:input_type -> delivery.CarItem
|
||
1, // 8: delivery.Car.CarDel:input_type -> delivery.IdentRequest
|
||
0, // 9: delivery.Member.MemberList:input_type -> delivery.FetchRequest
|
||
8, // 10: delivery.Member.MemberAdd:input_type -> delivery.MemberItem
|
||
1, // 11: delivery.Member.MemberGet:input_type -> delivery.IdentRequest
|
||
8, // 12: delivery.Member.MemberSet:input_type -> delivery.MemberItem
|
||
1, // 13: delivery.Member.MemberDel:input_type -> delivery.IdentRequest
|
||
0, // 14: delivery.Team.TeamList:input_type -> delivery.FetchRequest
|
||
11, // 15: delivery.Team.TeamAdd:input_type -> delivery.TeamItem
|
||
1, // 16: delivery.Team.TeamGet:input_type -> delivery.IdentRequest
|
||
11, // 17: delivery.Team.TeamSet:input_type -> delivery.TeamItem
|
||
1, // 18: delivery.Team.TeamDel:input_type -> delivery.IdentRequest
|
||
6, // 19: delivery.Car.CarList:output_type -> delivery.CarListReply
|
||
4, // 20: delivery.Car.CarAdd:output_type -> delivery.StatusReply
|
||
7, // 21: delivery.Car.CarGet:output_type -> delivery.CarItem
|
||
4, // 22: delivery.Car.CarSet:output_type -> delivery.StatusReply
|
||
4, // 23: delivery.Car.CarDel:output_type -> delivery.StatusReply
|
||
9, // 24: delivery.Member.MemberList:output_type -> delivery.MemberListReply
|
||
4, // 25: delivery.Member.MemberAdd:output_type -> delivery.StatusReply
|
||
8, // 26: delivery.Member.MemberGet:output_type -> delivery.MemberItem
|
||
4, // 27: delivery.Member.MemberSet:output_type -> delivery.StatusReply
|
||
4, // 28: delivery.Member.MemberDel:output_type -> delivery.StatusReply
|
||
10, // 29: delivery.Team.TeamList:output_type -> delivery.TeamListReply
|
||
4, // 30: delivery.Team.TeamAdd:output_type -> delivery.StatusReply
|
||
11, // 31: delivery.Team.TeamGet:output_type -> delivery.TeamItem
|
||
4, // 32: delivery.Team.TeamSet:output_type -> delivery.StatusReply
|
||
4, // 33: delivery.Team.TeamDel:output_type -> delivery.StatusReply
|
||
19, // [19:34] is the sub-list for method output_type
|
||
4, // [4:19] is the sub-list for method input_type
|
||
4, // [4:4] is the sub-list for extension type_name
|
||
4, // [4:4] is the sub-list for extension extendee
|
||
0, // [0:4] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_proto_delivery_proto_init() }
|
||
func file_proto_delivery_proto_init() {
|
||
if File_proto_delivery_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_proto_delivery_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*FetchRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*IdentRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*VersionRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SearchRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*StatusReply); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Empty); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CarListReply); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*CarItem); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MemberItem); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MemberListReply); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*TeamListReply); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_proto_delivery_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*TeamItem); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: file_proto_delivery_proto_rawDesc,
|
||
NumEnums: 0,
|
||
NumMessages: 13,
|
||
NumExtensions: 0,
|
||
NumServices: 3,
|
||
},
|
||
GoTypes: file_proto_delivery_proto_goTypes,
|
||
DependencyIndexes: file_proto_delivery_proto_depIdxs,
|
||
MessageInfos: file_proto_delivery_proto_msgTypes,
|
||
}.Build()
|
||
File_proto_delivery_proto = out.File
|
||
file_proto_delivery_proto_rawDesc = nil
|
||
file_proto_delivery_proto_goTypes = nil
|
||
file_proto_delivery_proto_depIdxs = nil
|
||
}
|