You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1306 lines
45 KiB
1306 lines
45 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: office/office.proto
|
|
|
|
package office // import "./office"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import sdk_ws "Open_IM/pkg/proto/sdk_ws"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type CommonResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CommonResp) Reset() { *m = CommonResp{} }
|
|
func (m *CommonResp) String() string { return proto.CompactTextString(m) }
|
|
func (*CommonResp) ProtoMessage() {}
|
|
func (*CommonResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{0}
|
|
}
|
|
func (m *CommonResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CommonResp.Unmarshal(m, b)
|
|
}
|
|
func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CommonResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CommonResp.Merge(dst, src)
|
|
}
|
|
func (m *CommonResp) XXX_Size() int {
|
|
return xxx_messageInfo_CommonResp.Size(m)
|
|
}
|
|
func (m *CommonResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CommonResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CommonResp proto.InternalMessageInfo
|
|
|
|
func (m *CommonResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CommonResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TagUser struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
UserName string `protobuf:"bytes,2,opt,name=userName" json:"userName,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TagUser) Reset() { *m = TagUser{} }
|
|
func (m *TagUser) String() string { return proto.CompactTextString(m) }
|
|
func (*TagUser) ProtoMessage() {}
|
|
func (*TagUser) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{1}
|
|
}
|
|
func (m *TagUser) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TagUser.Unmarshal(m, b)
|
|
}
|
|
func (m *TagUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TagUser.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *TagUser) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TagUser.Merge(dst, src)
|
|
}
|
|
func (m *TagUser) XXX_Size() int {
|
|
return xxx_messageInfo_TagUser.Size(m)
|
|
}
|
|
func (m *TagUser) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TagUser.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TagUser proto.InternalMessageInfo
|
|
|
|
func (m *TagUser) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TagUser) GetUserName() string {
|
|
if m != nil {
|
|
return m.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Tag struct {
|
|
TagID string `protobuf:"bytes,1,opt,name=tagID" json:"tagID,omitempty"`
|
|
TagName string `protobuf:"bytes,2,opt,name=tagName" json:"tagName,omitempty"`
|
|
UserList []*TagUser `protobuf:"bytes,3,rep,name=userList" json:"userList,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Tag) Reset() { *m = Tag{} }
|
|
func (m *Tag) String() string { return proto.CompactTextString(m) }
|
|
func (*Tag) ProtoMessage() {}
|
|
func (*Tag) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{2}
|
|
}
|
|
func (m *Tag) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Tag.Unmarshal(m, b)
|
|
}
|
|
func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *Tag) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Tag.Merge(dst, src)
|
|
}
|
|
func (m *Tag) XXX_Size() int {
|
|
return xxx_messageInfo_Tag.Size(m)
|
|
}
|
|
func (m *Tag) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Tag.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Tag proto.InternalMessageInfo
|
|
|
|
func (m *Tag) GetTagID() string {
|
|
if m != nil {
|
|
return m.TagID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Tag) GetTagName() string {
|
|
if m != nil {
|
|
return m.TagName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Tag) GetUserList() []*TagUser {
|
|
if m != nil {
|
|
return m.UserList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserTagsReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUserTagsReq) Reset() { *m = GetUserTagsReq{} }
|
|
func (m *GetUserTagsReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserTagsReq) ProtoMessage() {}
|
|
func (*GetUserTagsReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{3}
|
|
}
|
|
func (m *GetUserTagsReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUserTagsReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUserTagsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUserTagsReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUserTagsReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserTagsReq.Merge(dst, src)
|
|
}
|
|
func (m *GetUserTagsReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetUserTagsReq.Size(m)
|
|
}
|
|
func (m *GetUserTagsReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserTagsReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserTagsReq proto.InternalMessageInfo
|
|
|
|
func (m *GetUserTagsReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUserTagsReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUserTagsResp struct {
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
Tags []*Tag `protobuf:"bytes,2,rep,name=tags" json:"tags,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUserTagsResp) Reset() { *m = GetUserTagsResp{} }
|
|
func (m *GetUserTagsResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserTagsResp) ProtoMessage() {}
|
|
func (*GetUserTagsResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{4}
|
|
}
|
|
func (m *GetUserTagsResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUserTagsResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUserTagsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUserTagsResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUserTagsResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserTagsResp.Merge(dst, src)
|
|
}
|
|
func (m *GetUserTagsResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetUserTagsResp.Size(m)
|
|
}
|
|
func (m *GetUserTagsResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserTagsResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserTagsResp proto.InternalMessageInfo
|
|
|
|
func (m *GetUserTagsResp) GetCommonResp() *CommonResp {
|
|
if m != nil {
|
|
return m.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetUserTagsResp) GetTags() []*Tag {
|
|
if m != nil {
|
|
return m.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateTagReq struct {
|
|
TagName string `protobuf:"bytes,1,opt,name=tagName" json:"tagName,omitempty"`
|
|
UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"`
|
|
UserIDList []string `protobuf:"bytes,3,rep,name=userIDList" json:"userIDList,omitempty"`
|
|
OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateTagReq) Reset() { *m = CreateTagReq{} }
|
|
func (m *CreateTagReq) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateTagReq) ProtoMessage() {}
|
|
func (*CreateTagReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{5}
|
|
}
|
|
func (m *CreateTagReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateTagReq.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateTagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateTagReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CreateTagReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateTagReq.Merge(dst, src)
|
|
}
|
|
func (m *CreateTagReq) XXX_Size() int {
|
|
return xxx_messageInfo_CreateTagReq.Size(m)
|
|
}
|
|
func (m *CreateTagReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateTagReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateTagReq proto.InternalMessageInfo
|
|
|
|
func (m *CreateTagReq) GetTagName() string {
|
|
if m != nil {
|
|
return m.TagName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateTagReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateTagReq) GetUserIDList() []string {
|
|
if m != nil {
|
|
return m.UserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateTagReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateTagResp struct {
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateTagResp) Reset() { *m = CreateTagResp{} }
|
|
func (m *CreateTagResp) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateTagResp) ProtoMessage() {}
|
|
func (*CreateTagResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{6}
|
|
}
|
|
func (m *CreateTagResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateTagResp.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateTagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateTagResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CreateTagResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateTagResp.Merge(dst, src)
|
|
}
|
|
func (m *CreateTagResp) XXX_Size() int {
|
|
return xxx_messageInfo_CreateTagResp.Size(m)
|
|
}
|
|
func (m *CreateTagResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateTagResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateTagResp proto.InternalMessageInfo
|
|
|
|
func (m *CreateTagResp) GetCommonResp() *CommonResp {
|
|
if m != nil {
|
|
return m.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteTagReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
TagID string `protobuf:"bytes,2,opt,name=tagID" json:"tagID,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteTagReq) Reset() { *m = DeleteTagReq{} }
|
|
func (m *DeleteTagReq) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteTagReq) ProtoMessage() {}
|
|
func (*DeleteTagReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{7}
|
|
}
|
|
func (m *DeleteTagReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteTagReq.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteTagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteTagReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteTagReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteTagReq.Merge(dst, src)
|
|
}
|
|
func (m *DeleteTagReq) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteTagReq.Size(m)
|
|
}
|
|
func (m *DeleteTagReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteTagReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteTagReq proto.InternalMessageInfo
|
|
|
|
func (m *DeleteTagReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteTagReq) GetTagID() string {
|
|
if m != nil {
|
|
return m.TagID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteTagReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteTagResp struct {
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteTagResp) Reset() { *m = DeleteTagResp{} }
|
|
func (m *DeleteTagResp) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteTagResp) ProtoMessage() {}
|
|
func (*DeleteTagResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{8}
|
|
}
|
|
func (m *DeleteTagResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteTagResp.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteTagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteTagResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteTagResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteTagResp.Merge(dst, src)
|
|
}
|
|
func (m *DeleteTagResp) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteTagResp.Size(m)
|
|
}
|
|
func (m *DeleteTagResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteTagResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteTagResp proto.InternalMessageInfo
|
|
|
|
func (m *DeleteTagResp) GetCommonResp() *CommonResp {
|
|
if m != nil {
|
|
return m.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetTagReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
TagID string `protobuf:"bytes,2,opt,name=tagID" json:"tagID,omitempty"`
|
|
NewName string `protobuf:"bytes,3,opt,name=newName" json:"newName,omitempty"`
|
|
IncreaseUserIDList []string `protobuf:"bytes,4,rep,name=increaseUserIDList" json:"increaseUserIDList,omitempty"`
|
|
ReduceUserIDList []string `protobuf:"bytes,5,rep,name=reduceUserIDList" json:"reduceUserIDList,omitempty"`
|
|
OperationID string `protobuf:"bytes,6,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SetTagReq) Reset() { *m = SetTagReq{} }
|
|
func (m *SetTagReq) String() string { return proto.CompactTextString(m) }
|
|
func (*SetTagReq) ProtoMessage() {}
|
|
func (*SetTagReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{9}
|
|
}
|
|
func (m *SetTagReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SetTagReq.Unmarshal(m, b)
|
|
}
|
|
func (m *SetTagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SetTagReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SetTagReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetTagReq.Merge(dst, src)
|
|
}
|
|
func (m *SetTagReq) XXX_Size() int {
|
|
return xxx_messageInfo_SetTagReq.Size(m)
|
|
}
|
|
func (m *SetTagReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetTagReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetTagReq proto.InternalMessageInfo
|
|
|
|
func (m *SetTagReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SetTagReq) GetTagID() string {
|
|
if m != nil {
|
|
return m.TagID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SetTagReq) GetNewName() string {
|
|
if m != nil {
|
|
return m.NewName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SetTagReq) GetIncreaseUserIDList() []string {
|
|
if m != nil {
|
|
return m.IncreaseUserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SetTagReq) GetReduceUserIDList() []string {
|
|
if m != nil {
|
|
return m.ReduceUserIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SetTagReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetTagResp struct {
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SetTagResp) Reset() { *m = SetTagResp{} }
|
|
func (m *SetTagResp) String() string { return proto.CompactTextString(m) }
|
|
func (*SetTagResp) ProtoMessage() {}
|
|
func (*SetTagResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{10}
|
|
}
|
|
func (m *SetTagResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SetTagResp.Unmarshal(m, b)
|
|
}
|
|
func (m *SetTagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SetTagResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SetTagResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetTagResp.Merge(dst, src)
|
|
}
|
|
func (m *SetTagResp) XXX_Size() int {
|
|
return xxx_messageInfo_SetTagResp.Size(m)
|
|
}
|
|
func (m *SetTagResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetTagResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetTagResp proto.InternalMessageInfo
|
|
|
|
func (m *SetTagResp) GetCommonResp() *CommonResp {
|
|
if m != nil {
|
|
return m.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendMsg2TagReq struct {
|
|
TagList []string `protobuf:"bytes,1,rep,name=tagList" json:"tagList,omitempty"`
|
|
UserList []string `protobuf:"bytes,2,rep,name=UserList" json:"UserList,omitempty"`
|
|
GroupList []string `protobuf:"bytes,3,rep,name=GroupList" json:"GroupList,omitempty"`
|
|
SendID string `protobuf:"bytes,4,opt,name=sendID" json:"sendID,omitempty"`
|
|
SenderPlatformID int32 `protobuf:"varint,5,opt,name=senderPlatformID" json:"senderPlatformID,omitempty"`
|
|
Content string `protobuf:"bytes,6,opt,name=content" json:"content,omitempty"`
|
|
OperationID string `protobuf:"bytes,7,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SendMsg2TagReq) Reset() { *m = SendMsg2TagReq{} }
|
|
func (m *SendMsg2TagReq) String() string { return proto.CompactTextString(m) }
|
|
func (*SendMsg2TagReq) ProtoMessage() {}
|
|
func (*SendMsg2TagReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{11}
|
|
}
|
|
func (m *SendMsg2TagReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SendMsg2TagReq.Unmarshal(m, b)
|
|
}
|
|
func (m *SendMsg2TagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SendMsg2TagReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SendMsg2TagReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SendMsg2TagReq.Merge(dst, src)
|
|
}
|
|
func (m *SendMsg2TagReq) XXX_Size() int {
|
|
return xxx_messageInfo_SendMsg2TagReq.Size(m)
|
|
}
|
|
func (m *SendMsg2TagReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SendMsg2TagReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SendMsg2TagReq proto.InternalMessageInfo
|
|
|
|
func (m *SendMsg2TagReq) GetTagList() []string {
|
|
if m != nil {
|
|
return m.TagList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SendMsg2TagReq) GetUserList() []string {
|
|
if m != nil {
|
|
return m.UserList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SendMsg2TagReq) GetGroupList() []string {
|
|
if m != nil {
|
|
return m.GroupList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SendMsg2TagReq) GetSendID() string {
|
|
if m != nil {
|
|
return m.SendID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SendMsg2TagReq) GetSenderPlatformID() int32 {
|
|
if m != nil {
|
|
return m.SenderPlatformID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SendMsg2TagReq) GetContent() string {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SendMsg2TagReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SendMsg2TagResp struct {
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SendMsg2TagResp) Reset() { *m = SendMsg2TagResp{} }
|
|
func (m *SendMsg2TagResp) String() string { return proto.CompactTextString(m) }
|
|
func (*SendMsg2TagResp) ProtoMessage() {}
|
|
func (*SendMsg2TagResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{12}
|
|
}
|
|
func (m *SendMsg2TagResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SendMsg2TagResp.Unmarshal(m, b)
|
|
}
|
|
func (m *SendMsg2TagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SendMsg2TagResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SendMsg2TagResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SendMsg2TagResp.Merge(dst, src)
|
|
}
|
|
func (m *SendMsg2TagResp) XXX_Size() int {
|
|
return xxx_messageInfo_SendMsg2TagResp.Size(m)
|
|
}
|
|
func (m *SendMsg2TagResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SendMsg2TagResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SendMsg2TagResp proto.InternalMessageInfo
|
|
|
|
func (m *SendMsg2TagResp) GetCommonResp() *CommonResp {
|
|
if m != nil {
|
|
return m.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTagSendLogsReq struct {
|
|
Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=Pagination" json:"Pagination,omitempty"`
|
|
UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetTagSendLogsReq) Reset() { *m = GetTagSendLogsReq{} }
|
|
func (m *GetTagSendLogsReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetTagSendLogsReq) ProtoMessage() {}
|
|
func (*GetTagSendLogsReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{13}
|
|
}
|
|
func (m *GetTagSendLogsReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetTagSendLogsReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetTagSendLogsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetTagSendLogsReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetTagSendLogsReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetTagSendLogsReq.Merge(dst, src)
|
|
}
|
|
func (m *GetTagSendLogsReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetTagSendLogsReq.Size(m)
|
|
}
|
|
func (m *GetTagSendLogsReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetTagSendLogsReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetTagSendLogsReq proto.InternalMessageInfo
|
|
|
|
func (m *GetTagSendLogsReq) GetPagination() *sdk_ws.RequestPagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetTagSendLogsReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetTagSendLogsReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TagSendLog struct {
|
|
UserList []*TagUser `protobuf:"bytes,1,rep,name=userList" json:"userList,omitempty"`
|
|
Content string `protobuf:"bytes,2,opt,name=content" json:"content,omitempty"`
|
|
SendTime int64 `protobuf:"varint,3,opt,name=sendTime" json:"sendTime,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TagSendLog) Reset() { *m = TagSendLog{} }
|
|
func (m *TagSendLog) String() string { return proto.CompactTextString(m) }
|
|
func (*TagSendLog) ProtoMessage() {}
|
|
func (*TagSendLog) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{14}
|
|
}
|
|
func (m *TagSendLog) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TagSendLog.Unmarshal(m, b)
|
|
}
|
|
func (m *TagSendLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TagSendLog.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *TagSendLog) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TagSendLog.Merge(dst, src)
|
|
}
|
|
func (m *TagSendLog) XXX_Size() int {
|
|
return xxx_messageInfo_TagSendLog.Size(m)
|
|
}
|
|
func (m *TagSendLog) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TagSendLog.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TagSendLog proto.InternalMessageInfo
|
|
|
|
func (m *TagSendLog) GetUserList() []*TagUser {
|
|
if m != nil {
|
|
return m.UserList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TagSendLog) GetContent() string {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TagSendLog) GetSendTime() int64 {
|
|
if m != nil {
|
|
return m.SendTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetTagSendLogsResp struct {
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=Pagination" json:"Pagination,omitempty"`
|
|
TagSendLogs []*TagSendLog `protobuf:"bytes,3,rep,name=tagSendLogs" json:"tagSendLogs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetTagSendLogsResp) Reset() { *m = GetTagSendLogsResp{} }
|
|
func (m *GetTagSendLogsResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetTagSendLogsResp) ProtoMessage() {}
|
|
func (*GetTagSendLogsResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{15}
|
|
}
|
|
func (m *GetTagSendLogsResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetTagSendLogsResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetTagSendLogsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetTagSendLogsResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetTagSendLogsResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetTagSendLogsResp.Merge(dst, src)
|
|
}
|
|
func (m *GetTagSendLogsResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetTagSendLogsResp.Size(m)
|
|
}
|
|
func (m *GetTagSendLogsResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetTagSendLogsResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetTagSendLogsResp proto.InternalMessageInfo
|
|
|
|
func (m *GetTagSendLogsResp) GetCommonResp() *CommonResp {
|
|
if m != nil {
|
|
return m.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetTagSendLogsResp) GetPagination() *sdk_ws.ResponsePagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetTagSendLogsResp) GetTagSendLogs() []*TagSendLog {
|
|
if m != nil {
|
|
return m.TagSendLogs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserTagByIDReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
TagID string `protobuf:"bytes,2,opt,name=tagID" json:"tagID,omitempty"`
|
|
OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUserTagByIDReq) Reset() { *m = GetUserTagByIDReq{} }
|
|
func (m *GetUserTagByIDReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserTagByIDReq) ProtoMessage() {}
|
|
func (*GetUserTagByIDReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{16}
|
|
}
|
|
func (m *GetUserTagByIDReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUserTagByIDReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUserTagByIDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUserTagByIDReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUserTagByIDReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserTagByIDReq.Merge(dst, src)
|
|
}
|
|
func (m *GetUserTagByIDReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetUserTagByIDReq.Size(m)
|
|
}
|
|
func (m *GetUserTagByIDReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserTagByIDReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserTagByIDReq proto.InternalMessageInfo
|
|
|
|
func (m *GetUserTagByIDReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUserTagByIDReq) GetTagID() string {
|
|
if m != nil {
|
|
return m.TagID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUserTagByIDReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUserTagByIDResp struct {
|
|
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
|
|
Tag *Tag `protobuf:"bytes,2,opt,name=tag" json:"tag,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUserTagByIDResp) Reset() { *m = GetUserTagByIDResp{} }
|
|
func (m *GetUserTagByIDResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserTagByIDResp) ProtoMessage() {}
|
|
func (*GetUserTagByIDResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_office_7f5adce6bc494f97, []int{17}
|
|
}
|
|
func (m *GetUserTagByIDResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUserTagByIDResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUserTagByIDResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUserTagByIDResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUserTagByIDResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserTagByIDResp.Merge(dst, src)
|
|
}
|
|
func (m *GetUserTagByIDResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetUserTagByIDResp.Size(m)
|
|
}
|
|
func (m *GetUserTagByIDResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserTagByIDResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserTagByIDResp proto.InternalMessageInfo
|
|
|
|
func (m *GetUserTagByIDResp) GetCommonResp() *CommonResp {
|
|
if m != nil {
|
|
return m.CommonResp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetUserTagByIDResp) GetTag() *Tag {
|
|
if m != nil {
|
|
return m.Tag
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*CommonResp)(nil), "office.CommonResp")
|
|
proto.RegisterType((*TagUser)(nil), "office.TagUser")
|
|
proto.RegisterType((*Tag)(nil), "office.Tag")
|
|
proto.RegisterType((*GetUserTagsReq)(nil), "office.GetUserTagsReq")
|
|
proto.RegisterType((*GetUserTagsResp)(nil), "office.GetUserTagsResp")
|
|
proto.RegisterType((*CreateTagReq)(nil), "office.CreateTagReq")
|
|
proto.RegisterType((*CreateTagResp)(nil), "office.CreateTagResp")
|
|
proto.RegisterType((*DeleteTagReq)(nil), "office.DeleteTagReq")
|
|
proto.RegisterType((*DeleteTagResp)(nil), "office.DeleteTagResp")
|
|
proto.RegisterType((*SetTagReq)(nil), "office.SetTagReq")
|
|
proto.RegisterType((*SetTagResp)(nil), "office.SetTagResp")
|
|
proto.RegisterType((*SendMsg2TagReq)(nil), "office.SendMsg2TagReq")
|
|
proto.RegisterType((*SendMsg2TagResp)(nil), "office.SendMsg2TagResp")
|
|
proto.RegisterType((*GetTagSendLogsReq)(nil), "office.GetTagSendLogsReq")
|
|
proto.RegisterType((*TagSendLog)(nil), "office.TagSendLog")
|
|
proto.RegisterType((*GetTagSendLogsResp)(nil), "office.GetTagSendLogsResp")
|
|
proto.RegisterType((*GetUserTagByIDReq)(nil), "office.GetUserTagByIDReq")
|
|
proto.RegisterType((*GetUserTagByIDResp)(nil), "office.GetUserTagByIDResp")
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// Client API for OfficeService service
|
|
|
|
type OfficeServiceClient interface {
|
|
GetUserTags(ctx context.Context, in *GetUserTagsReq, opts ...grpc.CallOption) (*GetUserTagsResp, error)
|
|
CreateTag(ctx context.Context, in *CreateTagReq, opts ...grpc.CallOption) (*CreateTagResp, error)
|
|
DeleteTag(ctx context.Context, in *DeleteTagReq, opts ...grpc.CallOption) (*DeleteTagResp, error)
|
|
SetTag(ctx context.Context, in *SetTagReq, opts ...grpc.CallOption) (*SetTagResp, error)
|
|
SendMsg2Tag(ctx context.Context, in *SendMsg2TagReq, opts ...grpc.CallOption) (*SendMsg2TagResp, error)
|
|
GetTagSendLogs(ctx context.Context, in *GetTagSendLogsReq, opts ...grpc.CallOption) (*GetTagSendLogsResp, error)
|
|
GetUserTagByID(ctx context.Context, in *GetUserTagByIDReq, opts ...grpc.CallOption) (*GetUserTagByIDResp, error)
|
|
}
|
|
|
|
type officeServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewOfficeServiceClient(cc *grpc.ClientConn) OfficeServiceClient {
|
|
return &officeServiceClient{cc}
|
|
}
|
|
|
|
func (c *officeServiceClient) GetUserTags(ctx context.Context, in *GetUserTagsReq, opts ...grpc.CallOption) (*GetUserTagsResp, error) {
|
|
out := new(GetUserTagsResp)
|
|
err := grpc.Invoke(ctx, "/office.OfficeService/GetUserTags", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *officeServiceClient) CreateTag(ctx context.Context, in *CreateTagReq, opts ...grpc.CallOption) (*CreateTagResp, error) {
|
|
out := new(CreateTagResp)
|
|
err := grpc.Invoke(ctx, "/office.OfficeService/CreateTag", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *officeServiceClient) DeleteTag(ctx context.Context, in *DeleteTagReq, opts ...grpc.CallOption) (*DeleteTagResp, error) {
|
|
out := new(DeleteTagResp)
|
|
err := grpc.Invoke(ctx, "/office.OfficeService/DeleteTag", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *officeServiceClient) SetTag(ctx context.Context, in *SetTagReq, opts ...grpc.CallOption) (*SetTagResp, error) {
|
|
out := new(SetTagResp)
|
|
err := grpc.Invoke(ctx, "/office.OfficeService/SetTag", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *officeServiceClient) SendMsg2Tag(ctx context.Context, in *SendMsg2TagReq, opts ...grpc.CallOption) (*SendMsg2TagResp, error) {
|
|
out := new(SendMsg2TagResp)
|
|
err := grpc.Invoke(ctx, "/office.OfficeService/SendMsg2Tag", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *officeServiceClient) GetTagSendLogs(ctx context.Context, in *GetTagSendLogsReq, opts ...grpc.CallOption) (*GetTagSendLogsResp, error) {
|
|
out := new(GetTagSendLogsResp)
|
|
err := grpc.Invoke(ctx, "/office.OfficeService/GetTagSendLogs", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *officeServiceClient) GetUserTagByID(ctx context.Context, in *GetUserTagByIDReq, opts ...grpc.CallOption) (*GetUserTagByIDResp, error) {
|
|
out := new(GetUserTagByIDResp)
|
|
err := grpc.Invoke(ctx, "/office.OfficeService/GetUserTagByID", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// Server API for OfficeService service
|
|
|
|
type OfficeServiceServer interface {
|
|
GetUserTags(context.Context, *GetUserTagsReq) (*GetUserTagsResp, error)
|
|
CreateTag(context.Context, *CreateTagReq) (*CreateTagResp, error)
|
|
DeleteTag(context.Context, *DeleteTagReq) (*DeleteTagResp, error)
|
|
SetTag(context.Context, *SetTagReq) (*SetTagResp, error)
|
|
SendMsg2Tag(context.Context, *SendMsg2TagReq) (*SendMsg2TagResp, error)
|
|
GetTagSendLogs(context.Context, *GetTagSendLogsReq) (*GetTagSendLogsResp, error)
|
|
GetUserTagByID(context.Context, *GetUserTagByIDReq) (*GetUserTagByIDResp, error)
|
|
}
|
|
|
|
func RegisterOfficeServiceServer(s *grpc.Server, srv OfficeServiceServer) {
|
|
s.RegisterService(&_OfficeService_serviceDesc, srv)
|
|
}
|
|
|
|
func _OfficeService_GetUserTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUserTagsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OfficeServiceServer).GetUserTags(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/office.OfficeService/GetUserTags",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OfficeServiceServer).GetUserTags(ctx, req.(*GetUserTagsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _OfficeService_CreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateTagReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OfficeServiceServer).CreateTag(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/office.OfficeService/CreateTag",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OfficeServiceServer).CreateTag(ctx, req.(*CreateTagReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _OfficeService_DeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteTagReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OfficeServiceServer).DeleteTag(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/office.OfficeService/DeleteTag",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OfficeServiceServer).DeleteTag(ctx, req.(*DeleteTagReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _OfficeService_SetTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetTagReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OfficeServiceServer).SetTag(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/office.OfficeService/SetTag",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OfficeServiceServer).SetTag(ctx, req.(*SetTagReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _OfficeService_SendMsg2Tag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SendMsg2TagReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OfficeServiceServer).SendMsg2Tag(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/office.OfficeService/SendMsg2Tag",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OfficeServiceServer).SendMsg2Tag(ctx, req.(*SendMsg2TagReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _OfficeService_GetTagSendLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTagSendLogsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OfficeServiceServer).GetTagSendLogs(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/office.OfficeService/GetTagSendLogs",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OfficeServiceServer).GetTagSendLogs(ctx, req.(*GetTagSendLogsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _OfficeService_GetUserTagByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUserTagByIDReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OfficeServiceServer).GetUserTagByID(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/office.OfficeService/GetUserTagByID",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OfficeServiceServer).GetUserTagByID(ctx, req.(*GetUserTagByIDReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _OfficeService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "office.OfficeService",
|
|
HandlerType: (*OfficeServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetUserTags",
|
|
Handler: _OfficeService_GetUserTags_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateTag",
|
|
Handler: _OfficeService_CreateTag_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteTag",
|
|
Handler: _OfficeService_DeleteTag_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetTag",
|
|
Handler: _OfficeService_SetTag_Handler,
|
|
},
|
|
{
|
|
MethodName: "SendMsg2Tag",
|
|
Handler: _OfficeService_SendMsg2Tag_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTagSendLogs",
|
|
Handler: _OfficeService_GetTagSendLogs_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetUserTagByID",
|
|
Handler: _OfficeService_GetUserTagByID_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "office/office.proto",
|
|
}
|
|
|
|
func init() { proto.RegisterFile("office/office.proto", fileDescriptor_office_7f5adce6bc494f97) }
|
|
|
|
var fileDescriptor_office_7f5adce6bc494f97 = []byte{
|
|
// 810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