project_comment_api

package
v0.0.0-...-99908cf Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectCommentApi_AddComment_FullMethodName     = "/project_comment_api.ProjectCommentApi/addComment"
	ProjectCommentApi_ListComment_FullMethodName    = "/project_comment_api.ProjectCommentApi/listComment"
	ProjectCommentApi_GetComment_FullMethodName     = "/project_comment_api.ProjectCommentApi/getComment"
	ProjectCommentApi_UpdateComment_FullMethodName  = "/project_comment_api.ProjectCommentApi/updateComment"
	ProjectCommentApi_RemoveComment_FullMethodName  = "/project_comment_api.ProjectCommentApi/removeComment"
	ProjectCommentApi_GetUnReadState_FullMethodName = "/project_comment_api.ProjectCommentApi/getUnReadState"
	ProjectCommentApi_CheckUnRead_FullMethodName    = "/project_comment_api.ProjectCommentApi/checkUnRead"
	ProjectCommentApi_ListUnRead_FullMethodName     = "/project_comment_api.ProjectCommentApi/listUnRead"
	ProjectCommentApi_RemoveUnRead_FullMethodName   = "/project_comment_api.ProjectCommentApi/removeUnRead"
)

Variables

View Source
var (
	COMMENT_TARGET_TYPE_name = map[int32]string{
		0: "COMMENT_TARGET_ENTRY",
		1: "COMMENT_TARGET_REQUIRE_MENT",
		2: "COMMENT_TARGET_TASK",
		3: "COMMENT_TARGET_BUG",
		7: "COMMENT_TARGET_TEST_CASE",
	}
	COMMENT_TARGET_TYPE_value = map[string]int32{
		"COMMENT_TARGET_ENTRY":        0,
		"COMMENT_TARGET_REQUIRE_MENT": 1,
		"COMMENT_TARGET_TASK":         2,
		"COMMENT_TARGET_BUG":          3,
		"COMMENT_TARGET_TEST_CASE":    7,
	}
)

Enum value maps for COMMENT_TARGET_TYPE.

View Source
var (
	AddCommentResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
		4: "CODE_NO_TARGET",
	}
	AddCommentResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
		"CODE_NO_TARGET":     4,
	}
)

Enum value maps for AddCommentResponse_CODE.

View Source
var (
	ListCommentResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
		4: "CODE_NO_TARGET",
	}
	ListCommentResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
		"CODE_NO_TARGET":     4,
	}
)

Enum value maps for ListCommentResponse_CODE.

View Source
var (
	GetCommentResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
		4: "CODE_NO_TARGET",
		5: "CODE_NO_COMMENT",
	}
	GetCommentResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
		"CODE_NO_TARGET":     4,
		"CODE_NO_COMMENT":    5,
	}
)

Enum value maps for GetCommentResponse_CODE.

View Source
var (
	UpdateCommentResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
		4: "CODE_NO_TARGET",
		5: "CODE_NO_COMMENT",
	}
	UpdateCommentResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
		"CODE_NO_TARGET":     4,
		"CODE_NO_COMMENT":    5,
	}
)

Enum value maps for UpdateCommentResponse_CODE.

View Source
var (
	RemoveCommentResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
		4: "CODE_NO_TARGET",
		5: "CODE_NO_COMMENT",
	}
	RemoveCommentResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
		"CODE_NO_TARGET":     4,
		"CODE_NO_COMMENT":    5,
	}
)

Enum value maps for RemoveCommentResponse_CODE.

View Source
var (
	GetUnReadStateResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
	}
	GetUnReadStateResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
	}
)

Enum value maps for GetUnReadStateResponse_CODE.

View Source
var (
	CheckUnReadResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
		4: "CODE_NO_TARGET",
	}
	CheckUnReadResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
		"CODE_NO_TARGET":     4,
	}
)

Enum value maps for CheckUnReadResponse_CODE.

View Source
var (
	ListUnReadResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
	}
	ListUnReadResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
	}
)

Enum value maps for ListUnReadResponse_CODE.

View Source
var (
	RemoveUnReadResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PROJECT",
		3: "CODE_NO_PERMISSION",
		4: "CODE_NO_TARGET",
	}
	RemoveUnReadResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PROJECT":    2,
		"CODE_NO_PERMISSION": 3,
		"CODE_NO_TARGET":     4,
	}
)

Enum value maps for RemoveUnReadResponse_CODE.

View Source
var File_project_comment_api_proto protoreflect.FileDescriptor
View Source
var ProjectCommentApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "project_comment_api.ProjectCommentApi",
	HandlerType: (*ProjectCommentApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "addComment",
			Handler:    _ProjectCommentApi_AddComment_Handler,
		},
		{
			MethodName: "listComment",
			Handler:    _ProjectCommentApi_ListComment_Handler,
		},
		{
			MethodName: "getComment",
			Handler:    _ProjectCommentApi_GetComment_Handler,
		},
		{
			MethodName: "updateComment",
			Handler:    _ProjectCommentApi_UpdateComment_Handler,
		},
		{
			MethodName: "removeComment",
			Handler:    _ProjectCommentApi_RemoveComment_Handler,
		},
		{
			MethodName: "getUnReadState",
			Handler:    _ProjectCommentApi_GetUnReadState_Handler,
		},
		{
			MethodName: "checkUnRead",
			Handler:    _ProjectCommentApi_CheckUnRead_Handler,
		},
		{
			MethodName: "listUnRead",
			Handler:    _ProjectCommentApi_ListUnRead_Handler,
		},
		{
			MethodName: "removeUnRead",
			Handler:    _ProjectCommentApi_RemoveUnRead_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "project_comment_api.proto",
}

ProjectCommentApi_ServiceDesc is the grpc.ServiceDesc for ProjectCommentApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProjectCommentApiServer

func RegisterProjectCommentApiServer(s grpc.ServiceRegistrar, srv ProjectCommentApiServer)

Types

type AddCommentRequest

type AddCommentRequest struct {
	SessionId  string              `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId  string              `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	TargetType COMMENT_TARGET_TYPE `protobuf:"varint,3,opt,name=targetType,proto3,enum=project_comment_api.COMMENT_TARGET_TYPE" json:"targetType,omitempty"`
	TargetId   string              `protobuf:"bytes,4,opt,name=targetId,proto3" json:"targetId,omitempty"`
	Content    string              `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*AddCommentRequest) Descriptor deprecated

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

Deprecated: Use AddCommentRequest.ProtoReflect.Descriptor instead.

func (*AddCommentRequest) GetContent

func (x *AddCommentRequest) GetContent() string

func (*AddCommentRequest) GetProjectId

func (x *AddCommentRequest) GetProjectId() string

func (*AddCommentRequest) GetSessionId

func (x *AddCommentRequest) GetSessionId() string

func (*AddCommentRequest) GetTargetId

func (x *AddCommentRequest) GetTargetId() string

func (*AddCommentRequest) GetTargetType

func (x *AddCommentRequest) GetTargetType() COMMENT_TARGET_TYPE

func (*AddCommentRequest) ProtoMessage

func (*AddCommentRequest) ProtoMessage()

func (*AddCommentRequest) ProtoReflect

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

func (*AddCommentRequest) Reset

func (x *AddCommentRequest) Reset()

func (*AddCommentRequest) String

func (x *AddCommentRequest) String() string

type AddCommentResponse

type AddCommentResponse struct {
	Code      AddCommentResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.AddCommentResponse_CODE" json:"code,omitempty"`
	ErrMsg    string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	CommentId string                  `protobuf:"bytes,3,opt,name=commentId,proto3" json:"commentId,omitempty"`
	// contains filtered or unexported fields
}

func (*AddCommentResponse) Descriptor deprecated

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

Deprecated: Use AddCommentResponse.ProtoReflect.Descriptor instead.

func (*AddCommentResponse) GetCode

func (*AddCommentResponse) GetCommentId

func (x *AddCommentResponse) GetCommentId() string

func (*AddCommentResponse) GetErrMsg

func (x *AddCommentResponse) GetErrMsg() string

func (*AddCommentResponse) ProtoMessage

func (*AddCommentResponse) ProtoMessage()

func (*AddCommentResponse) ProtoReflect

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

func (*AddCommentResponse) Reset

func (x *AddCommentResponse) Reset()

func (*AddCommentResponse) String

func (x *AddCommentResponse) String() string

type AddCommentResponse_CODE

type AddCommentResponse_CODE int32
const (
	AddCommentResponse_CODE_OK            AddCommentResponse_CODE = 0
	AddCommentResponse_CODE_WRONG_SESSION AddCommentResponse_CODE = 1
	AddCommentResponse_CODE_NO_PROJECT    AddCommentResponse_CODE = 2
	AddCommentResponse_CODE_NO_PERMISSION AddCommentResponse_CODE = 3
	AddCommentResponse_CODE_NO_TARGET     AddCommentResponse_CODE = 4
)

func (AddCommentResponse_CODE) Descriptor

func (AddCommentResponse_CODE) Enum

func (AddCommentResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use AddCommentResponse_CODE.Descriptor instead.

func (AddCommentResponse_CODE) Number

func (AddCommentResponse_CODE) String

func (x AddCommentResponse_CODE) String() string

func (AddCommentResponse_CODE) Type

type COMMENT_TARGET_TYPE

type COMMENT_TARGET_TYPE int32
const (
	COMMENT_TARGET_TYPE_COMMENT_TARGET_ENTRY        COMMENT_TARGET_TYPE = 0 //内容入口
	COMMENT_TARGET_TYPE_COMMENT_TARGET_REQUIRE_MENT COMMENT_TARGET_TYPE = 1 //项目需求
	COMMENT_TARGET_TYPE_COMMENT_TARGET_TASK         COMMENT_TARGET_TYPE = 2 //任务
	COMMENT_TARGET_TYPE_COMMENT_TARGET_BUG          COMMENT_TARGET_TYPE = 3 //缺陷
	// COMMENT_TARGET_CI_CD = 4;         // CI/CD(废弃)
	// COMMENT_TARGET_API_COLL = 5;      // API集合(废弃)
	// COMMENT_TARGET_DATA_ANNO = 6;     // 数据标注(废弃)
	COMMENT_TARGET_TYPE_COMMENT_TARGET_TEST_CASE COMMENT_TARGET_TYPE = 7 //测试用例
)

func (COMMENT_TARGET_TYPE) Descriptor

func (COMMENT_TARGET_TYPE) Enum

func (COMMENT_TARGET_TYPE) EnumDescriptor deprecated

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

Deprecated: Use COMMENT_TARGET_TYPE.Descriptor instead.

func (COMMENT_TARGET_TYPE) Number

func (COMMENT_TARGET_TYPE) String

func (x COMMENT_TARGET_TYPE) String() string

func (COMMENT_TARGET_TYPE) Type

type CheckUnReadRequest

type CheckUnReadRequest struct {
	SessionId  string              `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId  string              `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	TargetType COMMENT_TARGET_TYPE `protobuf:"varint,3,opt,name=targetType,proto3,enum=project_comment_api.COMMENT_TARGET_TYPE" json:"targetType,omitempty"`
	TargetId   string              `protobuf:"bytes,4,opt,name=targetId,proto3" json:"targetId,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUnReadRequest) Descriptor deprecated

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

Deprecated: Use CheckUnReadRequest.ProtoReflect.Descriptor instead.

func (*CheckUnReadRequest) GetProjectId

func (x *CheckUnReadRequest) GetProjectId() string

func (*CheckUnReadRequest) GetSessionId

func (x *CheckUnReadRequest) GetSessionId() string

func (*CheckUnReadRequest) GetTargetId

func (x *CheckUnReadRequest) GetTargetId() string

func (*CheckUnReadRequest) GetTargetType

func (x *CheckUnReadRequest) GetTargetType() COMMENT_TARGET_TYPE

func (*CheckUnReadRequest) ProtoMessage

func (*CheckUnReadRequest) ProtoMessage()

func (*CheckUnReadRequest) ProtoReflect

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

func (*CheckUnReadRequest) Reset

func (x *CheckUnReadRequest) Reset()

func (*CheckUnReadRequest) String

func (x *CheckUnReadRequest) String() string

type CheckUnReadResponse

type CheckUnReadResponse struct {
	Code      CheckUnReadResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.CheckUnReadResponse_CODE" json:"code,omitempty"`
	ErrMsg    string                   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	HasUnRead bool                     `protobuf:"varint,3,opt,name=hasUnRead,proto3" json:"hasUnRead,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUnReadResponse) Descriptor deprecated

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

Deprecated: Use CheckUnReadResponse.ProtoReflect.Descriptor instead.

func (*CheckUnReadResponse) GetCode

func (*CheckUnReadResponse) GetErrMsg

func (x *CheckUnReadResponse) GetErrMsg() string

func (*CheckUnReadResponse) GetHasUnRead

func (x *CheckUnReadResponse) GetHasUnRead() bool

func (*CheckUnReadResponse) ProtoMessage

func (*CheckUnReadResponse) ProtoMessage()

func (*CheckUnReadResponse) ProtoReflect

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

func (*CheckUnReadResponse) Reset

func (x *CheckUnReadResponse) Reset()

func (*CheckUnReadResponse) String

func (x *CheckUnReadResponse) String() string

type CheckUnReadResponse_CODE

type CheckUnReadResponse_CODE int32
const (
	CheckUnReadResponse_CODE_OK            CheckUnReadResponse_CODE = 0
	CheckUnReadResponse_CODE_WRONG_SESSION CheckUnReadResponse_CODE = 1
	CheckUnReadResponse_CODE_NO_PROJECT    CheckUnReadResponse_CODE = 2
	CheckUnReadResponse_CODE_NO_PERMISSION CheckUnReadResponse_CODE = 3
	CheckUnReadResponse_CODE_NO_TARGET     CheckUnReadResponse_CODE = 4
)

func (CheckUnReadResponse_CODE) Descriptor

func (CheckUnReadResponse_CODE) Enum

func (CheckUnReadResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use CheckUnReadResponse_CODE.Descriptor instead.

func (CheckUnReadResponse_CODE) Number

func (CheckUnReadResponse_CODE) String

func (x CheckUnReadResponse_CODE) String() string

func (CheckUnReadResponse_CODE) Type

type Comment

type Comment struct {
	CommentId       string `protobuf:"bytes,1,opt,name=commentId,proto3" json:"commentId,omitempty"`
	SendUserId      string `protobuf:"bytes,2,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"`
	SendDisplayName string `protobuf:"bytes,3,opt,name=sendDisplayName,proto3" json:"sendDisplayName,omitempty"`
	SendLogoUri     string `protobuf:"bytes,4,opt,name=sendLogoUri,proto3" json:"sendLogoUri,omitempty"`
	SendTime        int64  `protobuf:"varint,5,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
	Content         string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Comment) Descriptor deprecated

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

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetCommentId

func (x *Comment) GetCommentId() string

func (*Comment) GetContent

func (x *Comment) GetContent() string

func (*Comment) GetSendDisplayName

func (x *Comment) GetSendDisplayName() string

func (*Comment) GetSendLogoUri

func (x *Comment) GetSendLogoUri() string

func (*Comment) GetSendTime

func (x *Comment) GetSendTime() int64

func (*Comment) GetSendUserId

func (x *Comment) GetSendUserId() string

func (*Comment) ProtoMessage

func (*Comment) ProtoMessage()

func (*Comment) ProtoReflect

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

func (*Comment) Reset

func (x *Comment) Reset()

func (*Comment) String

func (x *Comment) String() string

type GetCommentRequest

type GetCommentRequest struct {
	SessionId  string              `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId  string              `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	TargetType COMMENT_TARGET_TYPE `protobuf:"varint,3,opt,name=targetType,proto3,enum=project_comment_api.COMMENT_TARGET_TYPE" json:"targetType,omitempty"`
	TargetId   string              `protobuf:"bytes,4,opt,name=targetId,proto3" json:"targetId,omitempty"`
	CommentId  string              `protobuf:"bytes,5,opt,name=commentId,proto3" json:"commentId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCommentRequest) Descriptor deprecated

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

Deprecated: Use GetCommentRequest.ProtoReflect.Descriptor instead.

func (*GetCommentRequest) GetCommentId

func (x *GetCommentRequest) GetCommentId() string

func (*GetCommentRequest) GetProjectId

func (x *GetCommentRequest) GetProjectId() string

func (*GetCommentRequest) GetSessionId

func (x *GetCommentRequest) GetSessionId() string

func (*GetCommentRequest) GetTargetId

func (x *GetCommentRequest) GetTargetId() string

func (*GetCommentRequest) GetTargetType

func (x *GetCommentRequest) GetTargetType() COMMENT_TARGET_TYPE

func (*GetCommentRequest) ProtoMessage

func (*GetCommentRequest) ProtoMessage()

func (*GetCommentRequest) ProtoReflect

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

func (*GetCommentRequest) Reset

func (x *GetCommentRequest) Reset()

func (*GetCommentRequest) String

func (x *GetCommentRequest) String() string

type GetCommentResponse

type GetCommentResponse struct {
	Code    GetCommentResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.GetCommentResponse_CODE" json:"code,omitempty"`
	ErrMsg  string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	Comment *Comment                `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCommentResponse) Descriptor deprecated

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

Deprecated: Use GetCommentResponse.ProtoReflect.Descriptor instead.

func (*GetCommentResponse) GetCode

func (*GetCommentResponse) GetComment

func (x *GetCommentResponse) GetComment() *Comment

func (*GetCommentResponse) GetErrMsg

func (x *GetCommentResponse) GetErrMsg() string

func (*GetCommentResponse) ProtoMessage

func (*GetCommentResponse) ProtoMessage()

func (*GetCommentResponse) ProtoReflect

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

func (*GetCommentResponse) Reset

func (x *GetCommentResponse) Reset()

func (*GetCommentResponse) String

func (x *GetCommentResponse) String() string

type GetCommentResponse_CODE

type GetCommentResponse_CODE int32
const (
	GetCommentResponse_CODE_OK            GetCommentResponse_CODE = 0
	GetCommentResponse_CODE_WRONG_SESSION GetCommentResponse_CODE = 1
	GetCommentResponse_CODE_NO_PROJECT    GetCommentResponse_CODE = 2
	GetCommentResponse_CODE_NO_PERMISSION GetCommentResponse_CODE = 3
	GetCommentResponse_CODE_NO_TARGET     GetCommentResponse_CODE = 4
	GetCommentResponse_CODE_NO_COMMENT    GetCommentResponse_CODE = 5
)

func (GetCommentResponse_CODE) Descriptor

func (GetCommentResponse_CODE) Enum

func (GetCommentResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use GetCommentResponse_CODE.Descriptor instead.

func (GetCommentResponse_CODE) Number

func (GetCommentResponse_CODE) String

func (x GetCommentResponse_CODE) String() string

func (GetCommentResponse_CODE) Type

type GetUnReadStateRequest

type GetUnReadStateRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId string `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnReadStateRequest) Descriptor deprecated

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

Deprecated: Use GetUnReadStateRequest.ProtoReflect.Descriptor instead.

func (*GetUnReadStateRequest) GetProjectId

func (x *GetUnReadStateRequest) GetProjectId() string

func (*GetUnReadStateRequest) GetSessionId

func (x *GetUnReadStateRequest) GetSessionId() string

func (*GetUnReadStateRequest) ProtoMessage

func (*GetUnReadStateRequest) ProtoMessage()

func (*GetUnReadStateRequest) ProtoReflect

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

func (*GetUnReadStateRequest) Reset

func (x *GetUnReadStateRequest) Reset()

func (*GetUnReadStateRequest) String

func (x *GetUnReadStateRequest) String() string

type GetUnReadStateResponse

type GetUnReadStateResponse struct {
	Code        GetUnReadStateResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.GetUnReadStateResponse_CODE" json:"code,omitempty"`
	ErrMsg      string                      `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	UnReadCount uint32                      `protobuf:"varint,3,opt,name=unReadCount,proto3" json:"unReadCount,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnReadStateResponse) Descriptor deprecated

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

Deprecated: Use GetUnReadStateResponse.ProtoReflect.Descriptor instead.

func (*GetUnReadStateResponse) GetCode

func (*GetUnReadStateResponse) GetErrMsg

func (x *GetUnReadStateResponse) GetErrMsg() string

func (*GetUnReadStateResponse) GetUnReadCount

func (x *GetUnReadStateResponse) GetUnReadCount() uint32

func (*GetUnReadStateResponse) ProtoMessage

func (*GetUnReadStateResponse) ProtoMessage()

func (*GetUnReadStateResponse) ProtoReflect

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

func (*GetUnReadStateResponse) Reset

func (x *GetUnReadStateResponse) Reset()

func (*GetUnReadStateResponse) String

func (x *GetUnReadStateResponse) String() string

type GetUnReadStateResponse_CODE

type GetUnReadStateResponse_CODE int32
const (
	GetUnReadStateResponse_CODE_OK            GetUnReadStateResponse_CODE = 0
	GetUnReadStateResponse_CODE_WRONG_SESSION GetUnReadStateResponse_CODE = 1
	GetUnReadStateResponse_CODE_NO_PROJECT    GetUnReadStateResponse_CODE = 2
	GetUnReadStateResponse_CODE_NO_PERMISSION GetUnReadStateResponse_CODE = 3
)

func (GetUnReadStateResponse_CODE) Descriptor

func (GetUnReadStateResponse_CODE) Enum

func (GetUnReadStateResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use GetUnReadStateResponse_CODE.Descriptor instead.

func (GetUnReadStateResponse_CODE) Number

func (GetUnReadStateResponse_CODE) String

func (GetUnReadStateResponse_CODE) Type

type ListCommentRequest

type ListCommentRequest struct {
	SessionId  string              `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId  string              `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	TargetType COMMENT_TARGET_TYPE `protobuf:"varint,3,opt,name=targetType,proto3,enum=project_comment_api.COMMENT_TARGET_TYPE" json:"targetType,omitempty"`
	TargetId   string              `protobuf:"bytes,4,opt,name=targetId,proto3" json:"targetId,omitempty"`
	Offset     uint32              `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit      uint32              `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCommentRequest) Descriptor deprecated

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

Deprecated: Use ListCommentRequest.ProtoReflect.Descriptor instead.

func (*ListCommentRequest) GetLimit

func (x *ListCommentRequest) GetLimit() uint32

func (*ListCommentRequest) GetOffset

func (x *ListCommentRequest) GetOffset() uint32

func (*ListCommentRequest) GetProjectId

func (x *ListCommentRequest) GetProjectId() string

func (*ListCommentRequest) GetSessionId

func (x *ListCommentRequest) GetSessionId() string

func (*ListCommentRequest) GetTargetId

func (x *ListCommentRequest) GetTargetId() string

func (*ListCommentRequest) GetTargetType

func (x *ListCommentRequest) GetTargetType() COMMENT_TARGET_TYPE

func (*ListCommentRequest) ProtoMessage

func (*ListCommentRequest) ProtoMessage()

func (*ListCommentRequest) ProtoReflect

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

func (*ListCommentRequest) Reset

func (x *ListCommentRequest) Reset()

func (*ListCommentRequest) String

func (x *ListCommentRequest) String() string

type ListCommentResponse

type ListCommentResponse struct {
	Code        ListCommentResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.ListCommentResponse_CODE" json:"code,omitempty"`
	ErrMsg      string                   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	TotalCount  uint32                   `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	CommentList []*Comment               `protobuf:"bytes,4,rep,name=commentList,proto3" json:"commentList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCommentResponse) Descriptor deprecated

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

Deprecated: Use ListCommentResponse.ProtoReflect.Descriptor instead.

func (*ListCommentResponse) GetCode

func (*ListCommentResponse) GetCommentList

func (x *ListCommentResponse) GetCommentList() []*Comment

func (*ListCommentResponse) GetErrMsg

func (x *ListCommentResponse) GetErrMsg() string

func (*ListCommentResponse) GetTotalCount

func (x *ListCommentResponse) GetTotalCount() uint32

func (*ListCommentResponse) ProtoMessage

func (*ListCommentResponse) ProtoMessage()

func (*ListCommentResponse) ProtoReflect

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

func (*ListCommentResponse) Reset

func (x *ListCommentResponse) Reset()

func (*ListCommentResponse) String

func (x *ListCommentResponse) String() string

type ListCommentResponse_CODE

type ListCommentResponse_CODE int32
const (
	ListCommentResponse_CODE_OK            ListCommentResponse_CODE = 0
	ListCommentResponse_CODE_WRONG_SESSION ListCommentResponse_CODE = 1
	ListCommentResponse_CODE_NO_PROJECT    ListCommentResponse_CODE = 2
	ListCommentResponse_CODE_NO_PERMISSION ListCommentResponse_CODE = 3
	ListCommentResponse_CODE_NO_TARGET     ListCommentResponse_CODE = 4
)

func (ListCommentResponse_CODE) Descriptor

func (ListCommentResponse_CODE) Enum

func (ListCommentResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListCommentResponse_CODE.Descriptor instead.

func (ListCommentResponse_CODE) Number

func (ListCommentResponse_CODE) String

func (x ListCommentResponse_CODE) String() string

func (ListCommentResponse_CODE) Type

type ListUnReadRequest

type ListUnReadRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId string `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	Offset    uint32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit     uint32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUnReadRequest) Descriptor deprecated

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

Deprecated: Use ListUnReadRequest.ProtoReflect.Descriptor instead.

func (*ListUnReadRequest) GetLimit

func (x *ListUnReadRequest) GetLimit() uint32

func (*ListUnReadRequest) GetOffset

func (x *ListUnReadRequest) GetOffset() uint32

func (*ListUnReadRequest) GetProjectId

func (x *ListUnReadRequest) GetProjectId() string

func (*ListUnReadRequest) GetSessionId

func (x *ListUnReadRequest) GetSessionId() string

func (*ListUnReadRequest) ProtoMessage

func (*ListUnReadRequest) ProtoMessage()

func (*ListUnReadRequest) ProtoReflect

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

func (*ListUnReadRequest) Reset

func (x *ListUnReadRequest) Reset()

func (*ListUnReadRequest) String

func (x *ListUnReadRequest) String() string

type ListUnReadResponse

type ListUnReadResponse struct {
	Code           ListUnReadResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.ListUnReadResponse_CODE" json:"code,omitempty"`
	ErrMsg         string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	TotalCount     uint32                  `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	UnReadInfoList []*UnReadInfo           `protobuf:"bytes,4,rep,name=unReadInfoList,proto3" json:"unReadInfoList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUnReadResponse) Descriptor deprecated

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

Deprecated: Use ListUnReadResponse.ProtoReflect.Descriptor instead.

func (*ListUnReadResponse) GetCode

func (*ListUnReadResponse) GetErrMsg

func (x *ListUnReadResponse) GetErrMsg() string

func (*ListUnReadResponse) GetTotalCount

func (x *ListUnReadResponse) GetTotalCount() uint32

func (*ListUnReadResponse) GetUnReadInfoList

func (x *ListUnReadResponse) GetUnReadInfoList() []*UnReadInfo

func (*ListUnReadResponse) ProtoMessage

func (*ListUnReadResponse) ProtoMessage()

func (*ListUnReadResponse) ProtoReflect

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

func (*ListUnReadResponse) Reset

func (x *ListUnReadResponse) Reset()

func (*ListUnReadResponse) String

func (x *ListUnReadResponse) String() string

type ListUnReadResponse_CODE

type ListUnReadResponse_CODE int32
const (
	ListUnReadResponse_CODE_OK            ListUnReadResponse_CODE = 0
	ListUnReadResponse_CODE_WRONG_SESSION ListUnReadResponse_CODE = 1
	ListUnReadResponse_CODE_NO_PROJECT    ListUnReadResponse_CODE = 2
	ListUnReadResponse_CODE_NO_PERMISSION ListUnReadResponse_CODE = 3
)

func (ListUnReadResponse_CODE) Descriptor

func (ListUnReadResponse_CODE) Enum

func (ListUnReadResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListUnReadResponse_CODE.Descriptor instead.

func (ListUnReadResponse_CODE) Number

func (ListUnReadResponse_CODE) String

func (x ListUnReadResponse_CODE) String() string

func (ListUnReadResponse_CODE) Type

type ProjectCommentApiClient

type ProjectCommentApiClient interface {
	// 新增评论
	AddComment(ctx context.Context, in *AddCommentRequest, opts ...grpc.CallOption) (*AddCommentResponse, error)
	// 列出评论
	ListComment(ctx context.Context, in *ListCommentRequest, opts ...grpc.CallOption) (*ListCommentResponse, error)
	// 获取单条评论
	GetComment(ctx context.Context, in *GetCommentRequest, opts ...grpc.CallOption) (*GetCommentResponse, error)
	// 更新评论
	UpdateComment(ctx context.Context, in *UpdateCommentRequest, opts ...grpc.CallOption) (*UpdateCommentResponse, error)
	// 删除评论
	RemoveComment(ctx context.Context, in *RemoveCommentRequest, opts ...grpc.CallOption) (*RemoveCommentResponse, error)
	// 获取未读状态
	GetUnReadState(ctx context.Context, in *GetUnReadStateRequest, opts ...grpc.CallOption) (*GetUnReadStateResponse, error)
	// 检查是否存在未读信息
	CheckUnRead(ctx context.Context, in *CheckUnReadRequest, opts ...grpc.CallOption) (*CheckUnReadResponse, error)
	// 列出未读信息
	ListUnRead(ctx context.Context, in *ListUnReadRequest, opts ...grpc.CallOption) (*ListUnReadResponse, error)
	// 删除未读信息
	RemoveUnRead(ctx context.Context, in *RemoveUnReadRequest, opts ...grpc.CallOption) (*RemoveUnReadResponse, error)
}

ProjectCommentApiClient is the client API for ProjectCommentApi 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.

func NewProjectCommentApiClient

func NewProjectCommentApiClient(cc grpc.ClientConnInterface) ProjectCommentApiClient

type ProjectCommentApiServer

type ProjectCommentApiServer interface {
	// 新增评论
	AddComment(context.Context, *AddCommentRequest) (*AddCommentResponse, error)
	// 列出评论
	ListComment(context.Context, *ListCommentRequest) (*ListCommentResponse, error)
	// 获取单条评论
	GetComment(context.Context, *GetCommentRequest) (*GetCommentResponse, error)
	// 更新评论
	UpdateComment(context.Context, *UpdateCommentRequest) (*UpdateCommentResponse, error)
	// 删除评论
	RemoveComment(context.Context, *RemoveCommentRequest) (*RemoveCommentResponse, error)
	// 获取未读状态
	GetUnReadState(context.Context, *GetUnReadStateRequest) (*GetUnReadStateResponse, error)
	// 检查是否存在未读信息
	CheckUnRead(context.Context, *CheckUnReadRequest) (*CheckUnReadResponse, error)
	// 列出未读信息
	ListUnRead(context.Context, *ListUnReadRequest) (*ListUnReadResponse, error)
	// 删除未读信息
	RemoveUnRead(context.Context, *RemoveUnReadRequest) (*RemoveUnReadResponse, error)
	// contains filtered or unexported methods
}

ProjectCommentApiServer is the server API for ProjectCommentApi service. All implementations must embed UnimplementedProjectCommentApiServer for forward compatibility

type RemoveCommentRequest

type RemoveCommentRequest struct {
	SessionId  string              `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId  string              `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	TargetType COMMENT_TARGET_TYPE `protobuf:"varint,3,opt,name=targetType,proto3,enum=project_comment_api.COMMENT_TARGET_TYPE" json:"targetType,omitempty"`
	TargetId   string              `protobuf:"bytes,4,opt,name=targetId,proto3" json:"targetId,omitempty"`
	CommentId  string              `protobuf:"bytes,5,opt,name=commentId,proto3" json:"commentId,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveCommentRequest) Descriptor deprecated

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

Deprecated: Use RemoveCommentRequest.ProtoReflect.Descriptor instead.

func (*RemoveCommentRequest) GetCommentId

func (x *RemoveCommentRequest) GetCommentId() string

func (*RemoveCommentRequest) GetProjectId

func (x *RemoveCommentRequest) GetProjectId() string

func (*RemoveCommentRequest) GetSessionId

func (x *RemoveCommentRequest) GetSessionId() string

func (*RemoveCommentRequest) GetTargetId

func (x *RemoveCommentRequest) GetTargetId() string

func (*RemoveCommentRequest) GetTargetType

func (x *RemoveCommentRequest) GetTargetType() COMMENT_TARGET_TYPE

func (*RemoveCommentRequest) ProtoMessage

func (*RemoveCommentRequest) ProtoMessage()

func (*RemoveCommentRequest) ProtoReflect

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

func (*RemoveCommentRequest) Reset

func (x *RemoveCommentRequest) Reset()

func (*RemoveCommentRequest) String

func (x *RemoveCommentRequest) String() string

type RemoveCommentResponse

type RemoveCommentResponse struct {
	Code   RemoveCommentResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.RemoveCommentResponse_CODE" json:"code,omitempty"`
	ErrMsg string                     `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveCommentResponse) Descriptor deprecated

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

Deprecated: Use RemoveCommentResponse.ProtoReflect.Descriptor instead.

func (*RemoveCommentResponse) GetCode

func (*RemoveCommentResponse) GetErrMsg

func (x *RemoveCommentResponse) GetErrMsg() string

func (*RemoveCommentResponse) ProtoMessage

func (*RemoveCommentResponse) ProtoMessage()

func (*RemoveCommentResponse) ProtoReflect

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

func (*RemoveCommentResponse) Reset

func (x *RemoveCommentResponse) Reset()

func (*RemoveCommentResponse) String

func (x *RemoveCommentResponse) String() string

type RemoveCommentResponse_CODE

type RemoveCommentResponse_CODE int32
const (
	RemoveCommentResponse_CODE_OK            RemoveCommentResponse_CODE = 0
	RemoveCommentResponse_CODE_WRONG_SESSION RemoveCommentResponse_CODE = 1
	RemoveCommentResponse_CODE_NO_PROJECT    RemoveCommentResponse_CODE = 2
	RemoveCommentResponse_CODE_NO_PERMISSION RemoveCommentResponse_CODE = 3
	RemoveCommentResponse_CODE_NO_TARGET     RemoveCommentResponse_CODE = 4
	RemoveCommentResponse_CODE_NO_COMMENT    RemoveCommentResponse_CODE = 5
)

func (RemoveCommentResponse_CODE) Descriptor

func (RemoveCommentResponse_CODE) Enum

func (RemoveCommentResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use RemoveCommentResponse_CODE.Descriptor instead.

func (RemoveCommentResponse_CODE) Number

func (RemoveCommentResponse_CODE) String

func (RemoveCommentResponse_CODE) Type

type RemoveUnReadRequest

type RemoveUnReadRequest struct {
	SessionId  string              `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId  string              `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	TargetType COMMENT_TARGET_TYPE `protobuf:"varint,3,opt,name=targetType,proto3,enum=project_comment_api.COMMENT_TARGET_TYPE" json:"targetType,omitempty"`
	TargetId   string              `protobuf:"bytes,4,opt,name=targetId,proto3" json:"targetId,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveUnReadRequest) Descriptor deprecated

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

Deprecated: Use RemoveUnReadRequest.ProtoReflect.Descriptor instead.

func (*RemoveUnReadRequest) GetProjectId

func (x *RemoveUnReadRequest) GetProjectId() string

func (*RemoveUnReadRequest) GetSessionId

func (x *RemoveUnReadRequest) GetSessionId() string

func (*RemoveUnReadRequest) GetTargetId

func (x *RemoveUnReadRequest) GetTargetId() string

func (*RemoveUnReadRequest) GetTargetType

func (x *RemoveUnReadRequest) GetTargetType() COMMENT_TARGET_TYPE

func (*RemoveUnReadRequest) ProtoMessage

func (*RemoveUnReadRequest) ProtoMessage()

func (*RemoveUnReadRequest) ProtoReflect

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

func (*RemoveUnReadRequest) Reset

func (x *RemoveUnReadRequest) Reset()

func (*RemoveUnReadRequest) String

func (x *RemoveUnReadRequest) String() string

type RemoveUnReadResponse

type RemoveUnReadResponse struct {
	Code   RemoveUnReadResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.RemoveUnReadResponse_CODE" json:"code,omitempty"`
	ErrMsg string                    `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveUnReadResponse) Descriptor deprecated

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

Deprecated: Use RemoveUnReadResponse.ProtoReflect.Descriptor instead.

func (*RemoveUnReadResponse) GetCode

func (*RemoveUnReadResponse) GetErrMsg

func (x *RemoveUnReadResponse) GetErrMsg() string

func (*RemoveUnReadResponse) ProtoMessage

func (*RemoveUnReadResponse) ProtoMessage()

func (*RemoveUnReadResponse) ProtoReflect

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

func (*RemoveUnReadResponse) Reset

func (x *RemoveUnReadResponse) Reset()

func (*RemoveUnReadResponse) String

func (x *RemoveUnReadResponse) String() string

type RemoveUnReadResponse_CODE

type RemoveUnReadResponse_CODE int32
const (
	RemoveUnReadResponse_CODE_OK            RemoveUnReadResponse_CODE = 0
	RemoveUnReadResponse_CODE_WRONG_SESSION RemoveUnReadResponse_CODE = 1
	RemoveUnReadResponse_CODE_NO_PROJECT    RemoveUnReadResponse_CODE = 2
	RemoveUnReadResponse_CODE_NO_PERMISSION RemoveUnReadResponse_CODE = 3
	RemoveUnReadResponse_CODE_NO_TARGET     RemoveUnReadResponse_CODE = 4
)

func (RemoveUnReadResponse_CODE) Descriptor

func (RemoveUnReadResponse_CODE) Enum

func (RemoveUnReadResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use RemoveUnReadResponse_CODE.Descriptor instead.

func (RemoveUnReadResponse_CODE) Number

func (RemoveUnReadResponse_CODE) String

func (x RemoveUnReadResponse_CODE) String() string

func (RemoveUnReadResponse_CODE) Type

type UnReadInfo

type UnReadInfo struct {
	TargetType COMMENT_TARGET_TYPE `protobuf:"varint,1,opt,name=targetType,proto3,enum=project_comment_api.COMMENT_TARGET_TYPE" json:"targetType,omitempty"`
	TargetId   string              `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,omitempty"`
	Title      string              `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*UnReadInfo) Descriptor deprecated

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

Deprecated: Use UnReadInfo.ProtoReflect.Descriptor instead.

func (*UnReadInfo) GetTargetId

func (x *UnReadInfo) GetTargetId() string

func (*UnReadInfo) GetTargetType

func (x *UnReadInfo) GetTargetType() COMMENT_TARGET_TYPE

func (*UnReadInfo) GetTitle

func (x *UnReadInfo) GetTitle() string

func (*UnReadInfo) ProtoMessage

func (*UnReadInfo) ProtoMessage()

func (*UnReadInfo) ProtoReflect

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

func (*UnReadInfo) Reset

func (x *UnReadInfo) Reset()

func (*UnReadInfo) String

func (x *UnReadInfo) String() string

type UnimplementedProjectCommentApiServer

type UnimplementedProjectCommentApiServer struct {
}

UnimplementedProjectCommentApiServer must be embedded to have forward compatible implementations.

func (UnimplementedProjectCommentApiServer) AddComment

func (UnimplementedProjectCommentApiServer) CheckUnRead

func (UnimplementedProjectCommentApiServer) GetComment

func (UnimplementedProjectCommentApiServer) GetUnReadState

func (UnimplementedProjectCommentApiServer) ListComment

func (UnimplementedProjectCommentApiServer) ListUnRead

func (UnimplementedProjectCommentApiServer) RemoveComment

func (UnimplementedProjectCommentApiServer) RemoveUnRead

func (UnimplementedProjectCommentApiServer) UpdateComment

type UnsafeProjectCommentApiServer

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

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

type UpdateCommentRequest

type UpdateCommentRequest struct {
	SessionId  string              `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ProjectId  string              `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"`
	TargetType COMMENT_TARGET_TYPE `protobuf:"varint,3,opt,name=targetType,proto3,enum=project_comment_api.COMMENT_TARGET_TYPE" json:"targetType,omitempty"`
	TargetId   string              `protobuf:"bytes,4,opt,name=targetId,proto3" json:"targetId,omitempty"`
	CommentId  string              `protobuf:"bytes,5,opt,name=commentId,proto3" json:"commentId,omitempty"`
	Content    string              `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCommentRequest) Descriptor deprecated

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

Deprecated: Use UpdateCommentRequest.ProtoReflect.Descriptor instead.

func (*UpdateCommentRequest) GetCommentId

func (x *UpdateCommentRequest) GetCommentId() string

func (*UpdateCommentRequest) GetContent

func (x *UpdateCommentRequest) GetContent() string

func (*UpdateCommentRequest) GetProjectId

func (x *UpdateCommentRequest) GetProjectId() string

func (*UpdateCommentRequest) GetSessionId

func (x *UpdateCommentRequest) GetSessionId() string

func (*UpdateCommentRequest) GetTargetId

func (x *UpdateCommentRequest) GetTargetId() string

func (*UpdateCommentRequest) GetTargetType

func (x *UpdateCommentRequest) GetTargetType() COMMENT_TARGET_TYPE

func (*UpdateCommentRequest) ProtoMessage

func (*UpdateCommentRequest) ProtoMessage()

func (*UpdateCommentRequest) ProtoReflect

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

func (*UpdateCommentRequest) Reset

func (x *UpdateCommentRequest) Reset()

func (*UpdateCommentRequest) String

func (x *UpdateCommentRequest) String() string

type UpdateCommentResponse

type UpdateCommentResponse struct {
	Code   UpdateCommentResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=project_comment_api.UpdateCommentResponse_CODE" json:"code,omitempty"`
	ErrMsg string                     `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCommentResponse) Descriptor deprecated

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

Deprecated: Use UpdateCommentResponse.ProtoReflect.Descriptor instead.

func (*UpdateCommentResponse) GetCode

func (*UpdateCommentResponse) GetErrMsg

func (x *UpdateCommentResponse) GetErrMsg() string

func (*UpdateCommentResponse) ProtoMessage

func (*UpdateCommentResponse) ProtoMessage()

func (*UpdateCommentResponse) ProtoReflect

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

func (*UpdateCommentResponse) Reset

func (x *UpdateCommentResponse) Reset()

func (*UpdateCommentResponse) String

func (x *UpdateCommentResponse) String() string

type UpdateCommentResponse_CODE

type UpdateCommentResponse_CODE int32
const (
	UpdateCommentResponse_CODE_OK            UpdateCommentResponse_CODE = 0
	UpdateCommentResponse_CODE_WRONG_SESSION UpdateCommentResponse_CODE = 1
	UpdateCommentResponse_CODE_NO_PROJECT    UpdateCommentResponse_CODE = 2
	UpdateCommentResponse_CODE_NO_PERMISSION UpdateCommentResponse_CODE = 3
	UpdateCommentResponse_CODE_NO_TARGET     UpdateCommentResponse_CODE = 4
	UpdateCommentResponse_CODE_NO_COMMENT    UpdateCommentResponse_CODE = 5
)

func (UpdateCommentResponse_CODE) Descriptor

func (UpdateCommentResponse_CODE) Enum

func (UpdateCommentResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use UpdateCommentResponse_CODE.Descriptor instead.

func (UpdateCommentResponse_CODE) Number

func (UpdateCommentResponse_CODE) String

func (UpdateCommentResponse_CODE) Type

Source Files

  • project_comment_api.pb.go
  • project_comment_api_grpc.pb.go

Jump to

Keyboard shortcuts

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