msgproto

package
v0.0.0-...-4e281dc Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protofiles_msg_channel_proto protoreflect.FileDescriptor
View Source
var File_protofiles_msg_message_proto protoreflect.FileDescriptor
View Source
var File_protofiles_msg_workspace_proto protoreflect.FileDescriptor

Functions

func RegisterChannelServiceServer

func RegisterChannelServiceServer(s grpc.ServiceRegistrar, srv ChannelServiceServer)

func RegisterMessageServiceServer

func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer)

func RegisterWorkspaceServiceServer

func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)

Types

type Channel

type Channel struct {
	Id          uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4       []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	IdS         string                 `protobuf:"bytes,3,opt,name=id_s,json=idS,proto3" json:"id_s,omitempty"`
	ChannelName string                 `protobuf:"bytes,4,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
	ChannelDesc string                 `protobuf:"bytes,5,opt,name=channel_desc,json=channelDesc,proto3" json:"channel_desc,omitempty"`
	NumTags     uint32                 `protobuf:"varint,6,opt,name=num_tags,json=numTags,proto3" json:"num_tags,omitempty"`
	Tag1        string                 `protobuf:"bytes,7,opt,name=tag1,proto3" json:"tag1,omitempty"`
	Tag2        string                 `protobuf:"bytes,8,opt,name=tag2,proto3" json:"tag2,omitempty"`
	Tag3        string                 `protobuf:"bytes,9,opt,name=tag3,proto3" json:"tag3,omitempty"`
	Tag4        string                 `protobuf:"bytes,10,opt,name=tag4,proto3" json:"tag4,omitempty"`
	Tag5        string                 `protobuf:"bytes,11,opt,name=tag5,proto3" json:"tag5,omitempty"`
	Tag6        string                 `protobuf:"bytes,12,opt,name=tag6,proto3" json:"tag6,omitempty"`
	Tag7        string                 `protobuf:"bytes,13,opt,name=tag7,proto3" json:"tag7,omitempty"`
	Tag8        string                 `protobuf:"bytes,14,opt,name=tag8,proto3" json:"tag8,omitempty"`
	Tag9        string                 `protobuf:"bytes,15,opt,name=tag9,proto3" json:"tag9,omitempty"`
	Tag10       string                 `protobuf:"bytes,16,opt,name=tag10,proto3" json:"tag10,omitempty"`
	NumViews    uint32                 `protobuf:"varint,17,opt,name=num_views,json=numViews,proto3" json:"num_views,omitempty"`
	NumMessages uint32                 `protobuf:"varint,18,opt,name=num_messages,json=numMessages,proto3" json:"num_messages,omitempty"`
	WorkspaceId uint32                 `protobuf:"varint,19,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	UserId      uint32                 `protobuf:"varint,20,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId    uint32                 `protobuf:"varint,21,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc     uint32                 `protobuf:"varint,22,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Messages    []*Message             `protobuf:"bytes,33,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*Channel) Descriptor deprecated

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

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetChannelDesc

func (x *Channel) GetChannelDesc() string

func (*Channel) GetChannelName

func (x *Channel) GetChannelName() string

func (*Channel) GetCreatedAt

func (x *Channel) GetCreatedAt() *timestamppb.Timestamp

func (*Channel) GetId

func (x *Channel) GetId() uint32

func (*Channel) GetIdS

func (x *Channel) GetIdS() string

func (*Channel) GetMessages

func (x *Channel) GetMessages() []*Message

func (*Channel) GetNumMessages

func (x *Channel) GetNumMessages() uint32

func (*Channel) GetNumTags

func (x *Channel) GetNumTags() uint32

func (*Channel) GetNumViews

func (x *Channel) GetNumViews() uint32

func (*Channel) GetStatusc

func (x *Channel) GetStatusc() uint32

func (*Channel) GetTag1

func (x *Channel) GetTag1() string

func (*Channel) GetTag10

func (x *Channel) GetTag10() string

func (*Channel) GetTag2

func (x *Channel) GetTag2() string

func (*Channel) GetTag3

func (x *Channel) GetTag3() string

func (*Channel) GetTag4

func (x *Channel) GetTag4() string

func (*Channel) GetTag5

func (x *Channel) GetTag5() string

func (*Channel) GetTag6

func (x *Channel) GetTag6() string

func (*Channel) GetTag7

func (x *Channel) GetTag7() string

func (*Channel) GetTag8

func (x *Channel) GetTag8() string

func (*Channel) GetTag9

func (x *Channel) GetTag9() string

func (*Channel) GetUgroupId

func (x *Channel) GetUgroupId() uint32

func (*Channel) GetUpdatedAt

func (x *Channel) GetUpdatedAt() *timestamppb.Timestamp

func (*Channel) GetUserId

func (x *Channel) GetUserId() uint32

func (*Channel) GetUuid4

func (x *Channel) GetUuid4() []byte

func (*Channel) GetWorkspaceId

func (x *Channel) GetWorkspaceId() uint32

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

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

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) String

func (x *Channel) String() string

type ChannelServiceClient

type ChannelServiceClient interface {
	CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*Channel, error)
	ShowChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*Channel, error)
	GetChannelByPk(ctx context.Context, in *commonproto.GetByIdRequest, opts ...grpc.CallOption) (*Channel, error)
	GetChannel(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Channel, error)
	GetChannelByName(ctx context.Context, in *GetChannelByNameRequest, opts ...grpc.CallOption) (*Channel, error)
	GetChannelWithMessages(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Channel, error)
	GetChannelMessages(ctx context.Context, in *GetChannelMessagesRequest, opts ...grpc.CallOption) (*Channel, error)
	GetChannelsUser(ctx context.Context, in *GetChannelsUserRequest, opts ...grpc.CallOption) (*ChannelsUser, error)
	UpdateChannel(ctx context.Context, in *UpdateChannelRequest, opts ...grpc.CallOption) (*commonproto.Empty, error)
	DeleteChannel(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*commonproto.Empty, error)
}

ChannelServiceClient is the client API for ChannelService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ChannelServiceServer

type ChannelServiceServer interface {
	CreateChannel(context.Context, *CreateChannelRequest) (*Channel, error)
	ShowChannel(context.Context, *GetChannelRequest) (*Channel, error)
	GetChannelByPk(context.Context, *commonproto.GetByIdRequest) (*Channel, error)
	GetChannel(context.Context, *commonproto.GetRequest) (*Channel, error)
	GetChannelByName(context.Context, *GetChannelByNameRequest) (*Channel, error)
	GetChannelWithMessages(context.Context, *commonproto.GetRequest) (*Channel, error)
	GetChannelMessages(context.Context, *GetChannelMessagesRequest) (*Channel, error)
	GetChannelsUser(context.Context, *GetChannelsUserRequest) (*ChannelsUser, error)
	UpdateChannel(context.Context, *UpdateChannelRequest) (*commonproto.Empty, error)
	DeleteChannel(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
	// contains filtered or unexported methods
}

ChannelServiceServer is the server API for ChannelService service. All implementations must embed UnimplementedChannelServiceServer for forward compatibility

type ChannelsUser

type ChannelsUser struct {
	Id          uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4       []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	IdS         string                 `protobuf:"bytes,3,opt,name=id_s,json=idS,proto3" json:"id_s,omitempty"`
	ChannelId   uint32                 `protobuf:"varint,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	NumMessages uint32                 `protobuf:"varint,5,opt,name=num_messages,json=numMessages,proto3" json:"num_messages,omitempty"`
	NumViews    uint32                 `protobuf:"varint,6,opt,name=num_views,json=numViews,proto3" json:"num_views,omitempty"`
	UserId      uint32                 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId    uint32                 `protobuf:"varint,8,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc     uint32                 `protobuf:"varint,9,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

ChannelsUser - ChannelsUser view representation

func (*ChannelsUser) Descriptor deprecated

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

Deprecated: Use ChannelsUser.ProtoReflect.Descriptor instead.

func (*ChannelsUser) GetChannelId

func (x *ChannelsUser) GetChannelId() uint32

func (*ChannelsUser) GetCreatedAt

func (x *ChannelsUser) GetCreatedAt() *timestamppb.Timestamp

func (*ChannelsUser) GetId

func (x *ChannelsUser) GetId() uint32

func (*ChannelsUser) GetIdS

func (x *ChannelsUser) GetIdS() string

func (*ChannelsUser) GetNumMessages

func (x *ChannelsUser) GetNumMessages() uint32

func (*ChannelsUser) GetNumViews

func (x *ChannelsUser) GetNumViews() uint32

func (*ChannelsUser) GetStatusc

func (x *ChannelsUser) GetStatusc() uint32

func (*ChannelsUser) GetUgroupId

func (x *ChannelsUser) GetUgroupId() uint32

func (*ChannelsUser) GetUpdatedAt

func (x *ChannelsUser) GetUpdatedAt() *timestamppb.Timestamp

func (*ChannelsUser) GetUserId

func (x *ChannelsUser) GetUserId() uint32

func (*ChannelsUser) GetUuid4

func (x *ChannelsUser) GetUuid4() []byte

func (*ChannelsUser) ProtoMessage

func (*ChannelsUser) ProtoMessage()

func (*ChannelsUser) ProtoReflect

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

func (*ChannelsUser) Reset

func (x *ChannelsUser) Reset()

func (*ChannelsUser) String

func (x *ChannelsUser) String() string

type CreateChannelRequest

type CreateChannelRequest struct {
	ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
	ChannelDesc string `protobuf:"bytes,2,opt,name=channel_desc,json=channelDesc,proto3" json:"channel_desc,omitempty"`
	NumTags     uint32 `protobuf:"varint,3,opt,name=num_tags,json=numTags,proto3" json:"num_tags,omitempty"`
	Tag1        string `protobuf:"bytes,4,opt,name=tag1,proto3" json:"tag1,omitempty"`
	Tag2        string `protobuf:"bytes,5,opt,name=tag2,proto3" json:"tag2,omitempty"`
	Tag3        string `protobuf:"bytes,6,opt,name=tag3,proto3" json:"tag3,omitempty"`
	Tag4        string `protobuf:"bytes,7,opt,name=tag4,proto3" json:"tag4,omitempty"`
	Tag5        string `protobuf:"bytes,8,opt,name=tag5,proto3" json:"tag5,omitempty"`
	Tag6        string `protobuf:"bytes,9,opt,name=tag6,proto3" json:"tag6,omitempty"`
	Tag7        string `protobuf:"bytes,10,opt,name=tag7,proto3" json:"tag7,omitempty"`
	Tag8        string `protobuf:"bytes,11,opt,name=tag8,proto3" json:"tag8,omitempty"`
	Tag9        string `protobuf:"bytes,12,opt,name=tag9,proto3" json:"tag9,omitempty"`
	Tag10       string `protobuf:"bytes,13,opt,name=tag10,proto3" json:"tag10,omitempty"`
	WorkspaceId uint32 `protobuf:"varint,14,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	UserId      string `protobuf:"bytes,15,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId    uint32 `protobuf:"varint,16,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	UserEmail   string `protobuf:"bytes,17,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId   string `protobuf:"bytes,18,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Mtext       string `protobuf:"bytes,19,opt,name=Mtext,proto3" json:"Mtext,omitempty"`
	Mattach     string `protobuf:"bytes,20,opt,name=Mattach,proto3" json:"Mattach,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateChannelRequest) Descriptor deprecated

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

Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead.

func (*CreateChannelRequest) GetChannelDesc

func (x *CreateChannelRequest) GetChannelDesc() string

func (*CreateChannelRequest) GetChannelName

func (x *CreateChannelRequest) GetChannelName() string

func (*CreateChannelRequest) GetMattach

func (x *CreateChannelRequest) GetMattach() string

func (*CreateChannelRequest) GetMtext

func (x *CreateChannelRequest) GetMtext() string

func (*CreateChannelRequest) GetNumTags

func (x *CreateChannelRequest) GetNumTags() uint32

func (*CreateChannelRequest) GetRequestId

func (x *CreateChannelRequest) GetRequestId() string

func (*CreateChannelRequest) GetTag1

func (x *CreateChannelRequest) GetTag1() string

func (*CreateChannelRequest) GetTag10

func (x *CreateChannelRequest) GetTag10() string

func (*CreateChannelRequest) GetTag2

func (x *CreateChannelRequest) GetTag2() string

func (*CreateChannelRequest) GetTag3

func (x *CreateChannelRequest) GetTag3() string

func (*CreateChannelRequest) GetTag4

func (x *CreateChannelRequest) GetTag4() string

func (*CreateChannelRequest) GetTag5

func (x *CreateChannelRequest) GetTag5() string

func (*CreateChannelRequest) GetTag6

func (x *CreateChannelRequest) GetTag6() string

func (*CreateChannelRequest) GetTag7

func (x *CreateChannelRequest) GetTag7() string

func (*CreateChannelRequest) GetTag8

func (x *CreateChannelRequest) GetTag8() string

func (*CreateChannelRequest) GetTag9

func (x *CreateChannelRequest) GetTag9() string

func (*CreateChannelRequest) GetUgroupId

func (x *CreateChannelRequest) GetUgroupId() uint32

func (*CreateChannelRequest) GetUserEmail

func (x *CreateChannelRequest) GetUserEmail() string

func (*CreateChannelRequest) GetUserId

func (x *CreateChannelRequest) GetUserId() string

func (*CreateChannelRequest) GetWorkspaceId

func (x *CreateChannelRequest) GetWorkspaceId() uint32

func (*CreateChannelRequest) ProtoMessage

func (*CreateChannelRequest) ProtoMessage()

func (*CreateChannelRequest) ProtoReflect

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

func (*CreateChannelRequest) Reset

func (x *CreateChannelRequest) Reset()

func (*CreateChannelRequest) String

func (x *CreateChannelRequest) String() string

type CreateMessageRequest

type CreateMessageRequest struct {
	Mtext       string `protobuf:"bytes,1,opt,name=mtext,proto3" json:"mtext,omitempty"`
	Mattach     string `protobuf:"bytes,2,opt,name=mattach,proto3" json:"mattach,omitempty"`
	RplyMsg     bool   `protobuf:"varint,3,opt,name=rply_msg,json=rplyMsg,proto3" json:"rply_msg,omitempty"`
	WorkspaceId uint32 `protobuf:"varint,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	ChannelId   uint32 `protobuf:"varint,5,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	UserId      string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId    uint32 `protobuf:"varint,7,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	UserEmail   string `protobuf:"bytes,8,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId   string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMessageRequest) Descriptor deprecated

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

Deprecated: Use CreateMessageRequest.ProtoReflect.Descriptor instead.

func (*CreateMessageRequest) GetChannelId

func (x *CreateMessageRequest) GetChannelId() uint32

func (*CreateMessageRequest) GetMattach

func (x *CreateMessageRequest) GetMattach() string

func (*CreateMessageRequest) GetMtext

func (x *CreateMessageRequest) GetMtext() string

func (*CreateMessageRequest) GetRequestId

func (x *CreateMessageRequest) GetRequestId() string

func (*CreateMessageRequest) GetRplyMsg

func (x *CreateMessageRequest) GetRplyMsg() bool

func (*CreateMessageRequest) GetUgroupId

func (x *CreateMessageRequest) GetUgroupId() uint32

func (*CreateMessageRequest) GetUserEmail

func (x *CreateMessageRequest) GetUserEmail() string

func (*CreateMessageRequest) GetUserId

func (x *CreateMessageRequest) GetUserId() string

func (*CreateMessageRequest) GetWorkspaceId

func (x *CreateMessageRequest) GetWorkspaceId() uint32

func (*CreateMessageRequest) ProtoMessage

func (*CreateMessageRequest) ProtoMessage()

func (*CreateMessageRequest) ProtoReflect

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

func (*CreateMessageRequest) Reset

func (x *CreateMessageRequest) Reset()

func (*CreateMessageRequest) String

func (x *CreateMessageRequest) String() string

type CreateWorkspaceRequest

type CreateWorkspaceRequest struct {
	WorkspaceName string `protobuf:"bytes,1,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
	WorkspaceDesc string `protobuf:"bytes,2,opt,name=workspace_desc,json=workspaceDesc,proto3" json:"workspace_desc,omitempty"`
	UserId        string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ParentId      uint32 `protobuf:"varint,16,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	UserEmail     string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId     string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWorkspaceRequest) Descriptor deprecated

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

Deprecated: Use CreateWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkspaceRequest) GetParentId

func (x *CreateWorkspaceRequest) GetParentId() uint32

func (*CreateWorkspaceRequest) GetRequestId

func (x *CreateWorkspaceRequest) GetRequestId() string

func (*CreateWorkspaceRequest) GetUserEmail

func (x *CreateWorkspaceRequest) GetUserEmail() string

func (*CreateWorkspaceRequest) GetUserId

func (x *CreateWorkspaceRequest) GetUserId() string

func (*CreateWorkspaceRequest) GetWorkspaceDesc

func (x *CreateWorkspaceRequest) GetWorkspaceDesc() string

func (*CreateWorkspaceRequest) GetWorkspaceName

func (x *CreateWorkspaceRequest) GetWorkspaceName() string

func (*CreateWorkspaceRequest) ProtoMessage

func (*CreateWorkspaceRequest) ProtoMessage()

func (*CreateWorkspaceRequest) ProtoReflect

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

func (*CreateWorkspaceRequest) Reset

func (x *CreateWorkspaceRequest) Reset()

func (*CreateWorkspaceRequest) String

func (x *CreateWorkspaceRequest) String() string

type GetChannelByNameRequest

type GetChannelByNameRequest struct {
	ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
	UserEmail   string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId   string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChannelByNameRequest) Descriptor deprecated

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

Deprecated: Use GetChannelByNameRequest.ProtoReflect.Descriptor instead.

func (*GetChannelByNameRequest) GetChannelName

func (x *GetChannelByNameRequest) GetChannelName() string

func (*GetChannelByNameRequest) GetRequestId

func (x *GetChannelByNameRequest) GetRequestId() string

func (*GetChannelByNameRequest) GetUserEmail

func (x *GetChannelByNameRequest) GetUserEmail() string

func (*GetChannelByNameRequest) ProtoMessage

func (*GetChannelByNameRequest) ProtoMessage()

func (*GetChannelByNameRequest) ProtoReflect

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

func (*GetChannelByNameRequest) Reset

func (x *GetChannelByNameRequest) Reset()

func (*GetChannelByNameRequest) String

func (x *GetChannelByNameRequest) String() string

type GetChannelMessagesRequest

type GetChannelMessagesRequest struct {
	Uuid4Byte []byte `protobuf:"bytes,2,opt,name=uuid4_byte,json=uuid4Byte,proto3" json:"uuid4_byte,omitempty"`
	UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChannelMessagesRequest) Descriptor deprecated

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

Deprecated: Use GetChannelMessagesRequest.ProtoReflect.Descriptor instead.

func (*GetChannelMessagesRequest) GetRequestId

func (x *GetChannelMessagesRequest) GetRequestId() string

func (*GetChannelMessagesRequest) GetUserEmail

func (x *GetChannelMessagesRequest) GetUserEmail() string

func (*GetChannelMessagesRequest) GetUuid4Byte

func (x *GetChannelMessagesRequest) GetUuid4Byte() []byte

func (*GetChannelMessagesRequest) ProtoMessage

func (*GetChannelMessagesRequest) ProtoMessage()

func (*GetChannelMessagesRequest) ProtoReflect

func (*GetChannelMessagesRequest) Reset

func (x *GetChannelMessagesRequest) Reset()

func (*GetChannelMessagesRequest) String

func (x *GetChannelMessagesRequest) String() string

type GetChannelRequest

type GetChannelRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId    string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChannelRequest) Descriptor deprecated

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

Deprecated: Use GetChannelRequest.ProtoReflect.Descriptor instead.

func (*GetChannelRequest) GetId

func (x *GetChannelRequest) GetId() string

func (*GetChannelRequest) GetRequestId

func (x *GetChannelRequest) GetRequestId() string

func (*GetChannelRequest) GetUserEmail

func (x *GetChannelRequest) GetUserEmail() string

func (*GetChannelRequest) GetUserId

func (x *GetChannelRequest) GetUserId() string

func (*GetChannelRequest) ProtoMessage

func (*GetChannelRequest) ProtoMessage()

func (*GetChannelRequest) ProtoReflect

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

func (*GetChannelRequest) Reset

func (x *GetChannelRequest) Reset()

func (*GetChannelRequest) String

func (x *GetChannelRequest) String() string

type GetChannelsUserRequest

type GetChannelsUserRequest struct {
	Id        uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId    uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChannelsUserRequest) Descriptor deprecated

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

Deprecated: Use GetChannelsUserRequest.ProtoReflect.Descriptor instead.

func (*GetChannelsUserRequest) GetId

func (x *GetChannelsUserRequest) GetId() uint32

func (*GetChannelsUserRequest) GetRequestId

func (x *GetChannelsUserRequest) GetRequestId() string

func (*GetChannelsUserRequest) GetUserEmail

func (x *GetChannelsUserRequest) GetUserEmail() string

func (*GetChannelsUserRequest) GetUserId

func (x *GetChannelsUserRequest) GetUserId() uint32

func (*GetChannelsUserRequest) ProtoMessage

func (*GetChannelsUserRequest) ProtoMessage()

func (*GetChannelsUserRequest) ProtoReflect

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

func (*GetChannelsUserRequest) Reset

func (x *GetChannelsUserRequest) Reset()

func (*GetChannelsUserRequest) String

func (x *GetChannelsUserRequest) String() string

type GetMessagesTextsRequest

type GetMessagesTextsRequest struct {
	MessageId uint32 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserEmail string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessagesTextsRequest) Descriptor deprecated

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

Deprecated: Use GetMessagesTextsRequest.ProtoReflect.Descriptor instead.

func (*GetMessagesTextsRequest) GetMessageId

func (x *GetMessagesTextsRequest) GetMessageId() uint32

func (*GetMessagesTextsRequest) GetRequestId

func (x *GetMessagesTextsRequest) GetRequestId() string

func (*GetMessagesTextsRequest) GetUserEmail

func (x *GetMessagesTextsRequest) GetUserEmail() string

func (*GetMessagesTextsRequest) ProtoMessage

func (*GetMessagesTextsRequest) ProtoMessage()

func (*GetMessagesTextsRequest) ProtoReflect

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

func (*GetMessagesTextsRequest) Reset

func (x *GetMessagesTextsRequest) Reset()

func (*GetMessagesTextsRequest) String

func (x *GetMessagesTextsRequest) String() string

type GetMessagesWithTextAttachRequest

type GetMessagesWithTextAttachRequest struct {
	Messages  []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	UserEmail string     `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string     `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessagesWithTextAttachRequest) Descriptor deprecated

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

Deprecated: Use GetMessagesWithTextAttachRequest.ProtoReflect.Descriptor instead.

func (*GetMessagesWithTextAttachRequest) GetMessages

func (x *GetMessagesWithTextAttachRequest) GetMessages() []*Message

func (*GetMessagesWithTextAttachRequest) GetRequestId

func (x *GetMessagesWithTextAttachRequest) GetRequestId() string

func (*GetMessagesWithTextAttachRequest) GetUserEmail

func (x *GetMessagesWithTextAttachRequest) GetUserEmail() string

func (*GetMessagesWithTextAttachRequest) ProtoMessage

func (*GetMessagesWithTextAttachRequest) ProtoMessage()

func (*GetMessagesWithTextAttachRequest) ProtoReflect

func (*GetMessagesWithTextAttachRequest) Reset

func (*GetMessagesWithTextAttachRequest) String

type GetTopLevelWorkspacesRequest

type GetTopLevelWorkspacesRequest struct {
	UserEmail string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTopLevelWorkspacesRequest) Descriptor deprecated

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

Deprecated: Use GetTopLevelWorkspacesRequest.ProtoReflect.Descriptor instead.

func (*GetTopLevelWorkspacesRequest) GetRequestId

func (x *GetTopLevelWorkspacesRequest) GetRequestId() string

func (*GetTopLevelWorkspacesRequest) GetUserEmail

func (x *GetTopLevelWorkspacesRequest) GetUserEmail() string

func (*GetTopLevelWorkspacesRequest) ProtoMessage

func (*GetTopLevelWorkspacesRequest) ProtoMessage()

func (*GetTopLevelWorkspacesRequest) ProtoReflect

func (*GetTopLevelWorkspacesRequest) Reset

func (x *GetTopLevelWorkspacesRequest) Reset()

func (*GetTopLevelWorkspacesRequest) String

type GetWorkspacesRequest

type GetWorkspacesRequest struct {
	Limit      string `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	UserEmail  string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId  string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkspacesRequest) Descriptor deprecated

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

Deprecated: Use GetWorkspacesRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspacesRequest) GetLimit

func (x *GetWorkspacesRequest) GetLimit() string

func (*GetWorkspacesRequest) GetNextCursor

func (x *GetWorkspacesRequest) GetNextCursor() string

func (*GetWorkspacesRequest) GetRequestId

func (x *GetWorkspacesRequest) GetRequestId() string

func (*GetWorkspacesRequest) GetUserEmail

func (x *GetWorkspacesRequest) GetUserEmail() string

func (*GetWorkspacesRequest) ProtoMessage

func (*GetWorkspacesRequest) ProtoMessage()

func (*GetWorkspacesRequest) ProtoReflect

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

func (*GetWorkspacesRequest) Reset

func (x *GetWorkspacesRequest) Reset()

func (*GetWorkspacesRequest) String

func (x *GetWorkspacesRequest) String() string

type Message

type Message struct {
	Id                 uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4              []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	IdS                string                 `protobuf:"bytes,3,opt,name=id_s,json=idS,proto3" json:"id_s,omitempty"`
	NumLikes           uint32                 `protobuf:"varint,4,opt,name=num_likes,json=numLikes,proto3" json:"num_likes,omitempty"`
	NumUpvotes         uint32                 `protobuf:"varint,5,opt,name=num_upvotes,json=numUpvotes,proto3" json:"num_upvotes,omitempty"`
	NumDownvotes       uint32                 `protobuf:"varint,6,opt,name=num_downvotes,json=numDownvotes,proto3" json:"num_downvotes,omitempty"`
	WorkspaceId        uint32                 `protobuf:"varint,7,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	ChannelId          uint32                 `protobuf:"varint,8,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	UserId             uint32                 `protobuf:"varint,9,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId           uint32                 `protobuf:"varint,10,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc            uint32                 `protobuf:"varint,11,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt          *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	MessageTexts       []*MessageText         `protobuf:"bytes,22,rep,name=message_texts,json=messageTexts,proto3" json:"message_texts,omitempty"`
	MessageAttachments []*MessageAttachment   `protobuf:"bytes,23,rep,name=message_attachments,json=messageAttachments,proto3" json:"message_attachments,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetChannelId

func (x *Message) GetChannelId() uint32

func (*Message) GetCreatedAt

func (x *Message) GetCreatedAt() *timestamppb.Timestamp

func (*Message) GetId

func (x *Message) GetId() uint32

func (*Message) GetIdS

func (x *Message) GetIdS() string

func (*Message) GetMessageAttachments

func (x *Message) GetMessageAttachments() []*MessageAttachment

func (*Message) GetMessageTexts

func (x *Message) GetMessageTexts() []*MessageText

func (*Message) GetNumDownvotes

func (x *Message) GetNumDownvotes() uint32

func (*Message) GetNumLikes

func (x *Message) GetNumLikes() uint32

func (*Message) GetNumUpvotes

func (x *Message) GetNumUpvotes() uint32

func (*Message) GetStatusc

func (x *Message) GetStatusc() uint32

func (*Message) GetUgroupId

func (x *Message) GetUgroupId() uint32

func (*Message) GetUpdatedAt

func (x *Message) GetUpdatedAt() *timestamppb.Timestamp

func (*Message) GetUserId

func (x *Message) GetUserId() uint32

func (*Message) GetUuid4

func (x *Message) GetUuid4() []byte

func (*Message) GetWorkspaceId

func (x *Message) GetWorkspaceId() uint32

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageAttachment

type MessageAttachment struct {
	Id          uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4       []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	Mattach     string                 `protobuf:"bytes,3,opt,name=mattach,proto3" json:"mattach,omitempty"`
	WorkspaceId uint32                 `protobuf:"varint,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	ChannelId   uint32                 `protobuf:"varint,5,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId   uint32                 `protobuf:"varint,6,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId      uint32                 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId    uint32                 `protobuf:"varint,8,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc     uint32                 `protobuf:"varint,9,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

MessageAttachment - MessageAttachment view representation

func (*MessageAttachment) Descriptor deprecated

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

Deprecated: Use MessageAttachment.ProtoReflect.Descriptor instead.

func (*MessageAttachment) GetChannelId

func (x *MessageAttachment) GetChannelId() uint32

func (*MessageAttachment) GetCreatedAt

func (x *MessageAttachment) GetCreatedAt() *timestamppb.Timestamp

func (*MessageAttachment) GetId

func (x *MessageAttachment) GetId() uint32

func (*MessageAttachment) GetMattach

func (x *MessageAttachment) GetMattach() string

func (*MessageAttachment) GetMessageId

func (x *MessageAttachment) GetMessageId() uint32

func (*MessageAttachment) GetStatusc

func (x *MessageAttachment) GetStatusc() uint32

func (*MessageAttachment) GetUgroupId

func (x *MessageAttachment) GetUgroupId() uint32

func (*MessageAttachment) GetUpdatedAt

func (x *MessageAttachment) GetUpdatedAt() *timestamppb.Timestamp

func (*MessageAttachment) GetUserId

func (x *MessageAttachment) GetUserId() uint32

func (*MessageAttachment) GetUuid4

func (x *MessageAttachment) GetUuid4() []byte

func (*MessageAttachment) GetWorkspaceId

func (x *MessageAttachment) GetWorkspaceId() uint32

func (*MessageAttachment) ProtoMessage

func (*MessageAttachment) ProtoMessage()

func (*MessageAttachment) ProtoReflect

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

func (*MessageAttachment) Reset

func (x *MessageAttachment) Reset()

func (*MessageAttachment) String

func (x *MessageAttachment) String() string

type MessageAttachments

type MessageAttachments struct {
	MessageAttachments []*MessageAttachment `protobuf:"bytes,1,rep,name=message_attachments,json=messageAttachments,proto3" json:"message_attachments,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageAttachments) Descriptor deprecated

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

Deprecated: Use MessageAttachments.ProtoReflect.Descriptor instead.

func (*MessageAttachments) GetMessageAttachments

func (x *MessageAttachments) GetMessageAttachments() []*MessageAttachment

func (*MessageAttachments) ProtoMessage

func (*MessageAttachments) ProtoMessage()

func (*MessageAttachments) ProtoReflect

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

func (*MessageAttachments) Reset

func (x *MessageAttachments) Reset()

func (*MessageAttachments) String

func (x *MessageAttachments) String() string

type MessageServiceClient

type MessageServiceClient interface {
	CreateMessage(ctx context.Context, in *CreateMessageRequest, opts ...grpc.CallOption) (*Message, error)
	CreateUserLike(ctx context.Context, in *UserLikeRequest, opts ...grpc.CallOption) (*UserLike, error)
	CreateUserVote(ctx context.Context, in *UserVoteRequest, opts ...grpc.CallOption) (*UserVote, error)
	GetMessage(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Message, error)
	GetMessagesWithTextAttach(ctx context.Context, in *GetMessagesWithTextAttachRequest, opts ...grpc.CallOption) (*Messages, error)
	GetMessagesTexts(ctx context.Context, in *GetMessagesTextsRequest, opts ...grpc.CallOption) (*MessageTexts, error)
	GetMessageAttachments(ctx context.Context, in *GetMessagesTextsRequest, opts ...grpc.CallOption) (*MessageAttachments, error)
	UpdateMessage(ctx context.Context, in *UpdateMessageRequest, opts ...grpc.CallOption) (*commonproto.Empty, error)
	DeleteMessage(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*commonproto.Empty, error)
}

MessageServiceClient is the client API for MessageService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MessageServiceServer

type MessageServiceServer interface {
	CreateMessage(context.Context, *CreateMessageRequest) (*Message, error)
	CreateUserLike(context.Context, *UserLikeRequest) (*UserLike, error)
	CreateUserVote(context.Context, *UserVoteRequest) (*UserVote, error)
	GetMessage(context.Context, *commonproto.GetRequest) (*Message, error)
	GetMessagesWithTextAttach(context.Context, *GetMessagesWithTextAttachRequest) (*Messages, error)
	GetMessagesTexts(context.Context, *GetMessagesTextsRequest) (*MessageTexts, error)
	GetMessageAttachments(context.Context, *GetMessagesTextsRequest) (*MessageAttachments, error)
	UpdateMessage(context.Context, *UpdateMessageRequest) (*commonproto.Empty, error)
	DeleteMessage(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
	// contains filtered or unexported methods
}

MessageServiceServer is the server API for MessageService service. All implementations must embed UnimplementedMessageServiceServer for forward compatibility

type MessageText

type MessageText struct {
	Id          uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4       []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	Mtext       string                 `protobuf:"bytes,3,opt,name=mtext,proto3" json:"mtext,omitempty"`
	WorkspaceId uint32                 `protobuf:"varint,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	ChannelId   uint32                 `protobuf:"varint,5,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId   uint32                 `protobuf:"varint,6,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId      uint32                 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId    uint32                 `protobuf:"varint,8,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc     uint32                 `protobuf:"varint,9,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

MessageText - MessageText view representation

func (*MessageText) Descriptor deprecated

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

Deprecated: Use MessageText.ProtoReflect.Descriptor instead.

func (*MessageText) GetChannelId

func (x *MessageText) GetChannelId() uint32

func (*MessageText) GetCreatedAt

func (x *MessageText) GetCreatedAt() *timestamppb.Timestamp

func (*MessageText) GetId

func (x *MessageText) GetId() uint32

func (*MessageText) GetMessageId

func (x *MessageText) GetMessageId() uint32

func (*MessageText) GetMtext

func (x *MessageText) GetMtext() string

func (*MessageText) GetStatusc

func (x *MessageText) GetStatusc() uint32

func (*MessageText) GetUgroupId

func (x *MessageText) GetUgroupId() uint32

func (*MessageText) GetUpdatedAt

func (x *MessageText) GetUpdatedAt() *timestamppb.Timestamp

func (*MessageText) GetUserId

func (x *MessageText) GetUserId() uint32

func (*MessageText) GetUuid4

func (x *MessageText) GetUuid4() []byte

func (*MessageText) GetWorkspaceId

func (x *MessageText) GetWorkspaceId() uint32

func (*MessageText) ProtoMessage

func (*MessageText) ProtoMessage()

func (*MessageText) ProtoReflect

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

func (*MessageText) Reset

func (x *MessageText) Reset()

func (*MessageText) String

func (x *MessageText) String() string

type MessageTexts

type MessageTexts struct {
	MessageTexts []*MessageText `protobuf:"bytes,1,rep,name=message_texts,json=messageTexts,proto3" json:"message_texts,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTexts) Descriptor deprecated

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

Deprecated: Use MessageTexts.ProtoReflect.Descriptor instead.

func (*MessageTexts) GetMessageTexts

func (x *MessageTexts) GetMessageTexts() []*MessageText

func (*MessageTexts) ProtoMessage

func (*MessageTexts) ProtoMessage()

func (*MessageTexts) ProtoReflect

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

func (*MessageTexts) Reset

func (x *MessageTexts) Reset()

func (*MessageTexts) String

func (x *MessageTexts) String() string

type Messages

type Messages struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*Messages) Descriptor deprecated

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

Deprecated: Use Messages.ProtoReflect.Descriptor instead.

func (*Messages) GetMessages

func (x *Messages) GetMessages() []*Message

func (*Messages) ProtoMessage

func (*Messages) ProtoMessage()

func (*Messages) ProtoReflect

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

func (*Messages) Reset

func (x *Messages) Reset()

func (*Messages) String

func (x *Messages) String() string

type UnimplementedChannelServiceServer

type UnimplementedChannelServiceServer struct {
}

UnimplementedChannelServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedChannelServiceServer) CreateChannel

func (UnimplementedChannelServiceServer) DeleteChannel

func (UnimplementedChannelServiceServer) GetChannel

func (UnimplementedChannelServiceServer) GetChannelByName

func (UnimplementedChannelServiceServer) GetChannelByPk

func (UnimplementedChannelServiceServer) GetChannelMessages

func (UnimplementedChannelServiceServer) GetChannelWithMessages

func (UnimplementedChannelServiceServer) GetChannelsUser

func (UnimplementedChannelServiceServer) ShowChannel

func (UnimplementedChannelServiceServer) UpdateChannel

type UnimplementedMessageServiceServer

type UnimplementedMessageServiceServer struct {
}

UnimplementedMessageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMessageServiceServer) CreateMessage

func (UnimplementedMessageServiceServer) CreateUserLike

func (UnimplementedMessageServiceServer) CreateUserVote

func (UnimplementedMessageServiceServer) DeleteMessage

func (UnimplementedMessageServiceServer) GetMessage

func (UnimplementedMessageServiceServer) GetMessageAttachments

func (UnimplementedMessageServiceServer) GetMessagesTexts

func (UnimplementedMessageServiceServer) GetMessagesWithTextAttach

func (UnimplementedMessageServiceServer) UpdateMessage

type UnimplementedWorkspaceServiceServer

type UnimplementedWorkspaceServiceServer struct {
}

UnimplementedWorkspaceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWorkspaceServiceServer) CreateChild

func (UnimplementedWorkspaceServiceServer) CreateWorkspace

func (UnimplementedWorkspaceServiceServer) DeleteWorkspace

func (UnimplementedWorkspaceServiceServer) GetChildWorkspaces

func (UnimplementedWorkspaceServiceServer) GetParentWorkspace

func (UnimplementedWorkspaceServiceServer) GetTopLevelWorkspaces

func (UnimplementedWorkspaceServiceServer) GetWorkspace

func (UnimplementedWorkspaceServiceServer) GetWorkspaceByPk

func (UnimplementedWorkspaceServiceServer) GetWorkspaceWithChannels

func (UnimplementedWorkspaceServiceServer) GetWorkspaces

func (UnimplementedWorkspaceServiceServer) UpdateWorkspace

type UnsafeChannelServiceServer

type UnsafeChannelServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeChannelServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelServiceServer will result in compilation errors.

type UnsafeMessageServiceServer

type UnsafeMessageServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMessageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessageServiceServer will result in compilation errors.

type UnsafeWorkspaceServiceServer

type UnsafeWorkspaceServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeWorkspaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkspaceServiceServer will result in compilation errors.

type UpdateChannelRequest

type UpdateChannelRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
	ChannelDesc string `protobuf:"bytes,3,opt,name=channel_desc,json=channelDesc,proto3" json:"channel_desc,omitempty"`
	UserId      string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserEmail   string `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId   string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateChannelRequest) Descriptor deprecated

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

Deprecated: Use UpdateChannelRequest.ProtoReflect.Descriptor instead.

func (*UpdateChannelRequest) GetChannelDesc

func (x *UpdateChannelRequest) GetChannelDesc() string

func (*UpdateChannelRequest) GetChannelName

func (x *UpdateChannelRequest) GetChannelName() string

func (*UpdateChannelRequest) GetId

func (x *UpdateChannelRequest) GetId() string

func (*UpdateChannelRequest) GetRequestId

func (x *UpdateChannelRequest) GetRequestId() string

func (*UpdateChannelRequest) GetUserEmail

func (x *UpdateChannelRequest) GetUserEmail() string

func (*UpdateChannelRequest) GetUserId

func (x *UpdateChannelRequest) GetUserId() string

func (*UpdateChannelRequest) ProtoMessage

func (*UpdateChannelRequest) ProtoMessage()

func (*UpdateChannelRequest) ProtoReflect

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

func (*UpdateChannelRequest) Reset

func (x *UpdateChannelRequest) Reset()

func (*UpdateChannelRequest) String

func (x *UpdateChannelRequest) String() string

type UpdateMessageRequest

type UpdateMessageRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Mtext     string `protobuf:"bytes,2,opt,name=mtext,proto3" json:"mtext,omitempty"`
	UserId    string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserEmail string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMessageRequest) Descriptor deprecated

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

Deprecated: Use UpdateMessageRequest.ProtoReflect.Descriptor instead.

func (*UpdateMessageRequest) GetId

func (x *UpdateMessageRequest) GetId() string

func (*UpdateMessageRequest) GetMtext

func (x *UpdateMessageRequest) GetMtext() string

func (*UpdateMessageRequest) GetRequestId

func (x *UpdateMessageRequest) GetRequestId() string

func (*UpdateMessageRequest) GetUserEmail

func (x *UpdateMessageRequest) GetUserEmail() string

func (*UpdateMessageRequest) GetUserId

func (x *UpdateMessageRequest) GetUserId() string

func (*UpdateMessageRequest) ProtoMessage

func (*UpdateMessageRequest) ProtoMessage()

func (*UpdateMessageRequest) ProtoReflect

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

func (*UpdateMessageRequest) Reset

func (x *UpdateMessageRequest) Reset()

func (*UpdateMessageRequest) String

func (x *UpdateMessageRequest) String() string

type UpdateWorkspaceRequest

type UpdateWorkspaceRequest struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	WorkspaceName string `protobuf:"bytes,2,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
	WorkspaceDesc string `protobuf:"bytes,3,opt,name=workspace_desc,json=workspaceDesc,proto3" json:"workspace_desc,omitempty"`
	UserId        string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserEmail     string `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId     string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWorkspaceRequest) Descriptor deprecated

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

Deprecated: Use UpdateWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkspaceRequest) GetId

func (x *UpdateWorkspaceRequest) GetId() string

func (*UpdateWorkspaceRequest) GetRequestId

func (x *UpdateWorkspaceRequest) GetRequestId() string

func (*UpdateWorkspaceRequest) GetUserEmail

func (x *UpdateWorkspaceRequest) GetUserEmail() string

func (*UpdateWorkspaceRequest) GetUserId

func (x *UpdateWorkspaceRequest) GetUserId() string

func (*UpdateWorkspaceRequest) GetWorkspaceDesc

func (x *UpdateWorkspaceRequest) GetWorkspaceDesc() string

func (*UpdateWorkspaceRequest) GetWorkspaceName

func (x *UpdateWorkspaceRequest) GetWorkspaceName() string

func (*UpdateWorkspaceRequest) ProtoMessage

func (*UpdateWorkspaceRequest) ProtoMessage()

func (*UpdateWorkspaceRequest) ProtoReflect

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

func (*UpdateWorkspaceRequest) Reset

func (x *UpdateWorkspaceRequest) Reset()

func (*UpdateWorkspaceRequest) String

func (x *UpdateWorkspaceRequest) String() string

type UserChannel

type UserChannel struct {
	Id        uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4     []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	ChannelId uint32                 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	UserId    uint32                 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId  uint32                 `protobuf:"varint,5,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc   uint32                 `protobuf:"varint,6,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

UserChannel - UserChannel view representation

func (*UserChannel) Descriptor deprecated

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

Deprecated: Use UserChannel.ProtoReflect.Descriptor instead.

func (*UserChannel) GetChannelId

func (x *UserChannel) GetChannelId() uint32

func (*UserChannel) GetCreatedAt

func (x *UserChannel) GetCreatedAt() *timestamppb.Timestamp

func (*UserChannel) GetId

func (x *UserChannel) GetId() uint32

func (*UserChannel) GetStatusc

func (x *UserChannel) GetStatusc() uint32

func (*UserChannel) GetUgroupId

func (x *UserChannel) GetUgroupId() uint32

func (*UserChannel) GetUpdatedAt

func (x *UserChannel) GetUpdatedAt() *timestamppb.Timestamp

func (*UserChannel) GetUserId

func (x *UserChannel) GetUserId() uint32

func (*UserChannel) GetUuid4

func (x *UserChannel) GetUuid4() []byte

func (*UserChannel) ProtoMessage

func (*UserChannel) ProtoMessage()

func (*UserChannel) ProtoReflect

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

func (*UserChannel) Reset

func (x *UserChannel) Reset()

func (*UserChannel) String

func (x *UserChannel) String() string

type UserLike

type UserLike struct {
	Id        uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4     []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	ChannelId uint32                 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId uint32                 `protobuf:"varint,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId    uint32                 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId  uint32                 `protobuf:"varint,6,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc   uint32                 `protobuf:"varint,7,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

UserLike - UserLike view representation

func (*UserLike) Descriptor deprecated

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

Deprecated: Use UserLike.ProtoReflect.Descriptor instead.

func (*UserLike) GetChannelId

func (x *UserLike) GetChannelId() uint32

func (*UserLike) GetCreatedAt

func (x *UserLike) GetCreatedAt() *timestamppb.Timestamp

func (*UserLike) GetId

func (x *UserLike) GetId() uint32

func (*UserLike) GetMessageId

func (x *UserLike) GetMessageId() uint32

func (*UserLike) GetStatusc

func (x *UserLike) GetStatusc() uint32

func (*UserLike) GetUgroupId

func (x *UserLike) GetUgroupId() uint32

func (*UserLike) GetUpdatedAt

func (x *UserLike) GetUpdatedAt() *timestamppb.Timestamp

func (*UserLike) GetUserId

func (x *UserLike) GetUserId() uint32

func (*UserLike) GetUuid4

func (x *UserLike) GetUuid4() []byte

func (*UserLike) ProtoMessage

func (*UserLike) ProtoMessage()

func (*UserLike) ProtoReflect

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

func (*UserLike) Reset

func (x *UserLike) Reset()

func (*UserLike) String

func (x *UserLike) String() string

type UserLikeRequest

type UserLikeRequest struct {
	ChannelId uint32 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId uint32 `protobuf:"varint,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId    string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId  uint32 `protobuf:"varint,4,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	UserEmail string `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLikeRequest) Descriptor deprecated

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

Deprecated: Use UserLikeRequest.ProtoReflect.Descriptor instead.

func (*UserLikeRequest) GetChannelId

func (x *UserLikeRequest) GetChannelId() uint32

func (*UserLikeRequest) GetMessageId

func (x *UserLikeRequest) GetMessageId() uint32

func (*UserLikeRequest) GetRequestId

func (x *UserLikeRequest) GetRequestId() string

func (*UserLikeRequest) GetUgroupId

func (x *UserLikeRequest) GetUgroupId() uint32

func (*UserLikeRequest) GetUserEmail

func (x *UserLikeRequest) GetUserEmail() string

func (*UserLikeRequest) GetUserId

func (x *UserLikeRequest) GetUserId() string

func (*UserLikeRequest) ProtoMessage

func (*UserLikeRequest) ProtoMessage()

func (*UserLikeRequest) ProtoReflect

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

func (*UserLikeRequest) Reset

func (x *UserLikeRequest) Reset()

func (*UserLikeRequest) String

func (x *UserLikeRequest) String() string

type UserReply

type UserReply struct {
	Id        uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4     []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	ChannelId uint32                 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId uint32                 `protobuf:"varint,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId    uint32                 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId  uint32                 `protobuf:"varint,6,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc   uint32                 `protobuf:"varint,7,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

UserReply - UserReply view representation

func (*UserReply) Descriptor deprecated

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

Deprecated: Use UserReply.ProtoReflect.Descriptor instead.

func (*UserReply) GetChannelId

func (x *UserReply) GetChannelId() uint32

func (*UserReply) GetCreatedAt

func (x *UserReply) GetCreatedAt() *timestamppb.Timestamp

func (*UserReply) GetId

func (x *UserReply) GetId() uint32

func (*UserReply) GetMessageId

func (x *UserReply) GetMessageId() uint32

func (*UserReply) GetStatusc

func (x *UserReply) GetStatusc() uint32

func (*UserReply) GetUgroupId

func (x *UserReply) GetUgroupId() uint32

func (*UserReply) GetUpdatedAt

func (x *UserReply) GetUpdatedAt() *timestamppb.Timestamp

func (*UserReply) GetUserId

func (x *UserReply) GetUserId() uint32

func (*UserReply) GetUuid4

func (x *UserReply) GetUuid4() []byte

func (*UserReply) ProtoMessage

func (*UserReply) ProtoMessage()

func (*UserReply) ProtoReflect

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

func (*UserReply) Reset

func (x *UserReply) Reset()

func (*UserReply) String

func (x *UserReply) String() string

type UserVote

type UserVote struct {
	Id        uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4     []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	Vote      uint32                 `protobuf:"varint,3,opt,name=vote,proto3" json:"vote,omitempty"`
	ChannelId uint32                 `protobuf:"varint,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId uint32                 `protobuf:"varint,5,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId    uint32                 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId  uint32                 `protobuf:"varint,7,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	Statusc   uint32                 `protobuf:"varint,8,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

UserVote - UserVote view representation

func (*UserVote) Descriptor deprecated

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

Deprecated: Use UserVote.ProtoReflect.Descriptor instead.

func (*UserVote) GetChannelId

func (x *UserVote) GetChannelId() uint32

func (*UserVote) GetCreatedAt

func (x *UserVote) GetCreatedAt() *timestamppb.Timestamp

func (*UserVote) GetId

func (x *UserVote) GetId() uint32

func (*UserVote) GetMessageId

func (x *UserVote) GetMessageId() uint32

func (*UserVote) GetStatusc

func (x *UserVote) GetStatusc() uint32

func (*UserVote) GetUgroupId

func (x *UserVote) GetUgroupId() uint32

func (*UserVote) GetUpdatedAt

func (x *UserVote) GetUpdatedAt() *timestamppb.Timestamp

func (*UserVote) GetUserId

func (x *UserVote) GetUserId() uint32

func (*UserVote) GetUuid4

func (x *UserVote) GetUuid4() []byte

func (*UserVote) GetVote

func (x *UserVote) GetVote() uint32

func (*UserVote) ProtoMessage

func (*UserVote) ProtoMessage()

func (*UserVote) ProtoReflect

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

func (*UserVote) Reset

func (x *UserVote) Reset()

func (*UserVote) String

func (x *UserVote) String() string

type UserVoteRequest

type UserVoteRequest struct {
	Vote      uint32 `protobuf:"varint,1,opt,name=vote,proto3" json:"vote,omitempty"`
	ChannelId uint32 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	MessageId uint32 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId    string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UgroupId  uint32 `protobuf:"varint,5,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	UserEmail string `protobuf:"bytes,6,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	RequestId string `protobuf:"bytes,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserVoteRequest) Descriptor deprecated

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

Deprecated: Use UserVoteRequest.ProtoReflect.Descriptor instead.

func (*UserVoteRequest) GetChannelId

func (x *UserVoteRequest) GetChannelId() uint32

func (*UserVoteRequest) GetMessageId

func (x *UserVoteRequest) GetMessageId() uint32

func (*UserVoteRequest) GetRequestId

func (x *UserVoteRequest) GetRequestId() string

func (*UserVoteRequest) GetUgroupId

func (x *UserVoteRequest) GetUgroupId() uint32

func (*UserVoteRequest) GetUserEmail

func (x *UserVoteRequest) GetUserEmail() string

func (*UserVoteRequest) GetUserId

func (x *UserVoteRequest) GetUserId() string

func (*UserVoteRequest) GetVote

func (x *UserVoteRequest) GetVote() uint32

func (*UserVoteRequest) ProtoMessage

func (*UserVoteRequest) ProtoMessage()

func (*UserVoteRequest) ProtoReflect

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

func (*UserVoteRequest) Reset

func (x *UserVoteRequest) Reset()

func (*UserVoteRequest) String

func (x *UserVoteRequest) String() string

type Workspace

type Workspace struct {
	Id            uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4         []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	IdS           string                 `protobuf:"bytes,3,opt,name=id_s,json=idS,proto3" json:"id_s,omitempty"`
	WorkspaceName string                 `protobuf:"bytes,4,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
	WorkspaceDesc string                 `protobuf:"bytes,5,opt,name=workspace_desc,json=workspaceDesc,proto3" json:"workspace_desc,omitempty"`
	NumViews      uint32                 `protobuf:"varint,6,opt,name=num_views,json=numViews,proto3" json:"num_views,omitempty"`
	NumChannels   uint32                 `protobuf:"varint,7,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
	Levelc        uint32                 `protobuf:"varint,8,opt,name=levelc,proto3" json:"levelc,omitempty"`
	ParentId      uint32                 `protobuf:"varint,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	NumChd        uint32                 `protobuf:"varint,10,opt,name=num_chd,json=numChd,proto3" json:"num_chd,omitempty"`
	UgroupId      uint32                 `protobuf:"varint,11,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"`
	UserId        uint32                 `protobuf:"varint,12,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Statusc       uint32                 `protobuf:"varint,13,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Channels      []*Channel             `protobuf:"bytes,24,rep,name=Channels,proto3" json:"Channels,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspace) Descriptor deprecated

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

Deprecated: Use Workspace.ProtoReflect.Descriptor instead.

func (*Workspace) GetChannels

func (x *Workspace) GetChannels() []*Channel

func (*Workspace) GetCreatedAt

func (x *Workspace) GetCreatedAt() *timestamppb.Timestamp

func (*Workspace) GetId

func (x *Workspace) GetId() uint32

func (*Workspace) GetIdS

func (x *Workspace) GetIdS() string

func (*Workspace) GetLevelc

func (x *Workspace) GetLevelc() uint32

func (*Workspace) GetNumChannels

func (x *Workspace) GetNumChannels() uint32

func (*Workspace) GetNumChd

func (x *Workspace) GetNumChd() uint32

func (*Workspace) GetNumViews

func (x *Workspace) GetNumViews() uint32

func (*Workspace) GetParentId

func (x *Workspace) GetParentId() uint32

func (*Workspace) GetStatusc

func (x *Workspace) GetStatusc() uint32

func (*Workspace) GetUgroupId

func (x *Workspace) GetUgroupId() uint32

func (*Workspace) GetUpdatedAt

func (x *Workspace) GetUpdatedAt() *timestamppb.Timestamp

func (*Workspace) GetUserId

func (x *Workspace) GetUserId() uint32

func (*Workspace) GetUuid4

func (x *Workspace) GetUuid4() []byte

func (*Workspace) GetWorkspaceDesc

func (x *Workspace) GetWorkspaceDesc() string

func (*Workspace) GetWorkspaceName

func (x *Workspace) GetWorkspaceName() string

func (*Workspace) ProtoMessage

func (*Workspace) ProtoMessage()

func (*Workspace) ProtoReflect

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

func (*Workspace) Reset

func (x *Workspace) Reset()

func (*Workspace) String

func (x *Workspace) String() string

type WorkspaceChd

type WorkspaceChd struct {
	Id             uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid4          []byte                 `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"`
	WorkspaceId    uint32                 `protobuf:"varint,3,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	WorkspaceChdId uint32                 `protobuf:"varint,4,opt,name=workspace_chd_id,json=workspaceChdId,proto3" json:"workspace_chd_id,omitempty"`
	Statusc        uint32                 `protobuf:"varint,5,opt,name=statusc,proto3" json:"statusc,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt      *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceChd) Descriptor deprecated

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

Deprecated: Use WorkspaceChd.ProtoReflect.Descriptor instead.

func (*WorkspaceChd) GetCreatedAt

func (x *WorkspaceChd) GetCreatedAt() *timestamppb.Timestamp

func (*WorkspaceChd) GetId

func (x *WorkspaceChd) GetId() uint32

func (*WorkspaceChd) GetStatusc

func (x *WorkspaceChd) GetStatusc() uint32

func (*WorkspaceChd) GetUpdatedAt

func (x *WorkspaceChd) GetUpdatedAt() *timestamppb.Timestamp

func (*WorkspaceChd) GetUuid4

func (x *WorkspaceChd) GetUuid4() []byte

func (*WorkspaceChd) GetWorkspaceChdId

func (x *WorkspaceChd) GetWorkspaceChdId() uint32

func (*WorkspaceChd) GetWorkspaceId

func (x *WorkspaceChd) GetWorkspaceId() uint32

func (*WorkspaceChd) ProtoMessage

func (*WorkspaceChd) ProtoMessage()

func (*WorkspaceChd) ProtoReflect

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

func (*WorkspaceChd) Reset

func (x *WorkspaceChd) Reset()

func (*WorkspaceChd) String

func (x *WorkspaceChd) String() string

type WorkspaceCursor

type WorkspaceCursor struct {
	Workspaces []*Workspace `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,omitempty"`
	NextCursor string       `protobuf:"bytes,2,opt,name=NextCursor,proto3" json:"NextCursor,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceCursor) Descriptor deprecated

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

Deprecated: Use WorkspaceCursor.ProtoReflect.Descriptor instead.

func (*WorkspaceCursor) GetNextCursor

func (x *WorkspaceCursor) GetNextCursor() string

func (*WorkspaceCursor) GetWorkspaces

func (x *WorkspaceCursor) GetWorkspaces() []*Workspace

func (*WorkspaceCursor) ProtoMessage

func (*WorkspaceCursor) ProtoMessage()

func (*WorkspaceCursor) ProtoReflect

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

func (*WorkspaceCursor) Reset

func (x *WorkspaceCursor) Reset()

func (*WorkspaceCursor) String

func (x *WorkspaceCursor) String() string

type WorkspaceServiceClient

type WorkspaceServiceClient interface {
	CreateWorkspace(ctx context.Context, in *CreateWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error)
	CreateChild(ctx context.Context, in *CreateWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error)
	GetWorkspaces(ctx context.Context, in *GetWorkspacesRequest, opts ...grpc.CallOption) (*WorkspaceCursor, error)
	GetWorkspaceWithChannels(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Workspace, error)
	GetWorkspace(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Workspace, error)
	GetWorkspaceByPk(ctx context.Context, in *commonproto.GetByIdRequest, opts ...grpc.CallOption) (*Workspace, error)
	GetTopLevelWorkspaces(ctx context.Context, in *GetTopLevelWorkspacesRequest, opts ...grpc.CallOption) (*Workspaces, error)
	GetChildWorkspaces(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Workspaces, error)
	GetParentWorkspace(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Workspace, error)
	UpdateWorkspace(ctx context.Context, in *UpdateWorkspaceRequest, opts ...grpc.CallOption) (*commonproto.Empty, error)
	DeleteWorkspace(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*commonproto.Empty, error)
}

WorkspaceServiceClient is the client API for WorkspaceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WorkspaceServiceServer

type WorkspaceServiceServer interface {
	CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*Workspace, error)
	CreateChild(context.Context, *CreateWorkspaceRequest) (*Workspace, error)
	GetWorkspaces(context.Context, *GetWorkspacesRequest) (*WorkspaceCursor, error)
	GetWorkspaceWithChannels(context.Context, *commonproto.GetRequest) (*Workspace, error)
	GetWorkspace(context.Context, *commonproto.GetRequest) (*Workspace, error)
	GetWorkspaceByPk(context.Context, *commonproto.GetByIdRequest) (*Workspace, error)
	GetTopLevelWorkspaces(context.Context, *GetTopLevelWorkspacesRequest) (*Workspaces, error)
	GetChildWorkspaces(context.Context, *commonproto.GetRequest) (*Workspaces, error)
	GetParentWorkspace(context.Context, *commonproto.GetRequest) (*Workspace, error)
	UpdateWorkspace(context.Context, *UpdateWorkspaceRequest) (*commonproto.Empty, error)
	DeleteWorkspace(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
	// contains filtered or unexported methods
}

WorkspaceServiceServer is the server API for WorkspaceService service. All implementations must embed UnimplementedWorkspaceServiceServer for forward compatibility

type Workspaces

type Workspaces struct {
	Workspaces []*Workspace `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,omitempty"`
	// contains filtered or unexported fields
}

func (*Workspaces) Descriptor deprecated

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

Deprecated: Use Workspaces.ProtoReflect.Descriptor instead.

func (*Workspaces) GetWorkspaces

func (x *Workspaces) GetWorkspaces() []*Workspace

func (*Workspaces) ProtoMessage

func (*Workspaces) ProtoMessage()

func (*Workspaces) ProtoReflect

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

func (*Workspaces) Reset

func (x *Workspaces) Reset()

func (*Workspaces) String

func (x *Workspaces) String() string

Jump to

Keyboard shortcuts

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