Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTeamRequirementApiServer(s grpc.ServiceRegistrar, srv TeamRequirementApiServer)
- type BasicRequirementInfo
- func (*BasicRequirementInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BasicRequirementInfo) GetRequirementDetail() string
- func (x *BasicRequirementInfo) GetRequirementName() string
- func (*BasicRequirementInfo) ProtoMessage()
- func (x *BasicRequirementInfo) ProtoReflect() protoreflect.Message
- func (x *BasicRequirementInfo) Reset()
- func (x *BasicRequirementInfo) String() string
- type CreateRequirementRequest
- func (*CreateRequirementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequirementRequest) GetBasicInfo() *BasicRequirementInfo
- func (x *CreateRequirementRequest) GetSessionId() string
- func (x *CreateRequirementRequest) GetTeamId() string
- func (*CreateRequirementRequest) ProtoMessage()
- func (x *CreateRequirementRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequirementRequest) Reset()
- func (x *CreateRequirementRequest) String() string
- type CreateRequirementResponse
- func (*CreateRequirementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequirementResponse) GetCode() CreateRequirementResponse_CODE
- func (x *CreateRequirementResponse) GetErrMsg() string
- func (x *CreateRequirementResponse) GetRequireMentId() string
- func (*CreateRequirementResponse) ProtoMessage()
- func (x *CreateRequirementResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRequirementResponse) Reset()
- func (x *CreateRequirementResponse) String() string
- type CreateRequirementResponse_CODE
- func (CreateRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x CreateRequirementResponse_CODE) Enum() *CreateRequirementResponse_CODE
- func (CreateRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateRequirementResponse_CODE) Number() protoreflect.EnumNumber
- func (x CreateRequirementResponse_CODE) String() string
- func (CreateRequirementResponse_CODE) Type() protoreflect.EnumType
- type ExistRequirementRequest
- func (*ExistRequirementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExistRequirementRequest) GetRequirementId() string
- func (x *ExistRequirementRequest) GetSessionId() string
- func (x *ExistRequirementRequest) GetTeamId() string
- func (*ExistRequirementRequest) ProtoMessage()
- func (x *ExistRequirementRequest) ProtoReflect() protoreflect.Message
- func (x *ExistRequirementRequest) Reset()
- func (x *ExistRequirementRequest) String() string
- type ExistRequirementResponse
- func (*ExistRequirementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExistRequirementResponse) GetCode() ExistRequirementResponse_CODE
- func (x *ExistRequirementResponse) GetErrMsg() string
- func (x *ExistRequirementResponse) GetExist() bool
- func (*ExistRequirementResponse) ProtoMessage()
- func (x *ExistRequirementResponse) ProtoReflect() protoreflect.Message
- func (x *ExistRequirementResponse) Reset()
- func (x *ExistRequirementResponse) String() string
- type ExistRequirementResponse_CODE
- func (ExistRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ExistRequirementResponse_CODE) Enum() *ExistRequirementResponse_CODE
- func (ExistRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExistRequirementResponse_CODE) Number() protoreflect.EnumNumber
- func (x ExistRequirementResponse_CODE) String() string
- func (ExistRequirementResponse_CODE) Type() protoreflect.EnumType
- type GetRequirementRequest
- func (*GetRequirementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequirementRequest) GetRequirementId() string
- func (x *GetRequirementRequest) GetSessionId() string
- func (x *GetRequirementRequest) GetTeamId() string
- func (x *GetRequirementRequest) GetWithDetail() bool
- func (*GetRequirementRequest) ProtoMessage()
- func (x *GetRequirementRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequirementRequest) Reset()
- func (x *GetRequirementRequest) String() string
- type GetRequirementResponse
- func (*GetRequirementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequirementResponse) GetCode() GetRequirementResponse_CODE
- func (x *GetRequirementResponse) GetErrMsg() string
- func (x *GetRequirementResponse) GetRequirement() *RequirementInfo
- func (*GetRequirementResponse) ProtoMessage()
- func (x *GetRequirementResponse) ProtoReflect() protoreflect.Message
- func (x *GetRequirementResponse) Reset()
- func (x *GetRequirementResponse) String() string
- type GetRequirementResponse_CODE
- func (GetRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x GetRequirementResponse_CODE) Enum() *GetRequirementResponse_CODE
- func (GetRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetRequirementResponse_CODE) Number() protoreflect.EnumNumber
- func (x GetRequirementResponse_CODE) String() string
- func (GetRequirementResponse_CODE) Type() protoreflect.EnumType
- type LinkIssueRequest
- func (*LinkIssueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkIssueRequest) GetIssueId() string
- func (x *LinkIssueRequest) GetRequirementId() string
- func (x *LinkIssueRequest) GetSessionId() string
- func (x *LinkIssueRequest) GetTeamId() string
- func (*LinkIssueRequest) ProtoMessage()
- func (x *LinkIssueRequest) ProtoReflect() protoreflect.Message
- func (x *LinkIssueRequest) Reset()
- func (x *LinkIssueRequest) String() string
- type LinkIssueResponse
- func (*LinkIssueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinkIssueResponse) GetCode() LinkIssueResponse_CODE
- func (x *LinkIssueResponse) GetErrMsg() string
- func (*LinkIssueResponse) ProtoMessage()
- func (x *LinkIssueResponse) ProtoReflect() protoreflect.Message
- func (x *LinkIssueResponse) Reset()
- func (x *LinkIssueResponse) String() string
- type LinkIssueResponse_CODE
- func (LinkIssueResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x LinkIssueResponse_CODE) Enum() *LinkIssueResponse_CODE
- func (LinkIssueResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x LinkIssueResponse_CODE) Number() protoreflect.EnumNumber
- func (x LinkIssueResponse_CODE) String() string
- func (LinkIssueResponse_CODE) Type() protoreflect.EnumType
- type ListLinkIssueRequest
- func (*ListLinkIssueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLinkIssueRequest) GetRequirementIdList() []string
- func (x *ListLinkIssueRequest) GetSessionId() string
- func (x *ListLinkIssueRequest) GetTeamId() string
- func (*ListLinkIssueRequest) ProtoMessage()
- func (x *ListLinkIssueRequest) ProtoReflect() protoreflect.Message
- func (x *ListLinkIssueRequest) Reset()
- func (x *ListLinkIssueRequest) String() string
- type ListLinkIssueResponse
- func (*ListLinkIssueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLinkIssueResponse) GetCode() ListLinkIssueResponse_CODE
- func (x *ListLinkIssueResponse) GetErrMsg() string
- func (x *ListLinkIssueResponse) GetIssueIdList() []string
- func (*ListLinkIssueResponse) ProtoMessage()
- func (x *ListLinkIssueResponse) ProtoReflect() protoreflect.Message
- func (x *ListLinkIssueResponse) Reset()
- func (x *ListLinkIssueResponse) String() string
- type ListLinkIssueResponse_CODE
- func (ListLinkIssueResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListLinkIssueResponse_CODE) Enum() *ListLinkIssueResponse_CODE
- func (ListLinkIssueResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListLinkIssueResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListLinkIssueResponse_CODE) String() string
- func (ListLinkIssueResponse_CODE) Type() protoreflect.EnumType
- type ListParam
- type ListRequirementRequest
- func (*ListRequirementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequirementRequest) GetLimit() uint32
- func (x *ListRequirementRequest) GetListParam() *ListParam
- func (x *ListRequirementRequest) GetOffset() uint32
- func (x *ListRequirementRequest) GetSessionId() string
- func (x *ListRequirementRequest) GetTeamId() string
- func (x *ListRequirementRequest) GetWithDetail() bool
- func (*ListRequirementRequest) ProtoMessage()
- func (x *ListRequirementRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequirementRequest) Reset()
- func (x *ListRequirementRequest) String() string
- type ListRequirementResponse
- func (*ListRequirementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequirementResponse) GetCode() ListRequirementResponse_CODE
- func (x *ListRequirementResponse) GetErrMsg() string
- func (x *ListRequirementResponse) GetRequirementList() []*RequirementInfo
- func (x *ListRequirementResponse) GetTotalCount() uint32
- func (*ListRequirementResponse) ProtoMessage()
- func (x *ListRequirementResponse) ProtoReflect() protoreflect.Message
- func (x *ListRequirementResponse) Reset()
- func (x *ListRequirementResponse) String() string
- type ListRequirementResponse_CODE
- func (ListRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListRequirementResponse_CODE) Enum() *ListRequirementResponse_CODE
- func (ListRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListRequirementResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListRequirementResponse_CODE) String() string
- func (ListRequirementResponse_CODE) Type() protoreflect.EnumType
- type Perm
- func (*Perm) Descriptor() ([]byte, []int)deprecated
- func (x *Perm) GetPermMemberUserIdList() []string
- func (x *Perm) GetRemoveMemberUserIdList() []string
- func (x *Perm) GetUpdateMemberUserIdList() []string
- func (*Perm) ProtoMessage()
- func (x *Perm) ProtoReflect() protoreflect.Message
- func (x *Perm) Reset()
- func (x *Perm) String() string
- type RemoveRequirementRequest
- func (*RemoveRequirementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequirementRequest) GetRequirementId() string
- func (x *RemoveRequirementRequest) GetSessionId() string
- func (x *RemoveRequirementRequest) GetTeamId() string
- func (*RemoveRequirementRequest) ProtoMessage()
- func (x *RemoveRequirementRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRequirementRequest) Reset()
- func (x *RemoveRequirementRequest) String() string
- type RemoveRequirementResponse
- func (*RemoveRequirementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequirementResponse) GetCode() RemoveRequirementResponse_CODE
- func (x *RemoveRequirementResponse) GetErrMsg() string
- func (*RemoveRequirementResponse) ProtoMessage()
- func (x *RemoveRequirementResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveRequirementResponse) Reset()
- func (x *RemoveRequirementResponse) String() string
- type RemoveRequirementResponse_CODE
- func (RemoveRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x RemoveRequirementResponse_CODE) Enum() *RemoveRequirementResponse_CODE
- func (RemoveRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x RemoveRequirementResponse_CODE) Number() protoreflect.EnumNumber
- func (x RemoveRequirementResponse_CODE) String() string
- func (RemoveRequirementResponse_CODE) Type() protoreflect.EnumType
- type RequirementInfo
- func (*RequirementInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RequirementInfo) GetBasicInfo() *BasicRequirementInfo
- func (x *RequirementInfo) GetCreateDisplayName() string
- func (x *RequirementInfo) GetCreateLogoUri() string
- func (x *RequirementInfo) GetCreateTime() int64
- func (x *RequirementInfo) GetCreateUserId() string
- func (x *RequirementInfo) GetPerm() *Perm
- func (x *RequirementInfo) GetRequirementId() string
- func (x *RequirementInfo) GetRequirementIndex() uint32
- func (x *RequirementInfo) GetUpdateDisplayName() string
- func (x *RequirementInfo) GetUpdateLogoUri() string
- func (x *RequirementInfo) GetUpdateTime() int64
- func (x *RequirementInfo) GetUpdateUserId() string
- func (x *RequirementInfo) GetUserPerm() *UserPerm
- func (*RequirementInfo) ProtoMessage()
- func (x *RequirementInfo) ProtoReflect() protoreflect.Message
- func (x *RequirementInfo) Reset()
- func (x *RequirementInfo) String() string
- type TeamRequirementApiClient
- type TeamRequirementApiServer
- type UnimplementedTeamRequirementApiServer
- func (UnimplementedTeamRequirementApiServer) CreateRequirement(context.Context, *CreateRequirementRequest) (*CreateRequirementResponse, error)
- func (UnimplementedTeamRequirementApiServer) ExistRequirement(context.Context, *ExistRequirementRequest) (*ExistRequirementResponse, error)
- func (UnimplementedTeamRequirementApiServer) GetRequirement(context.Context, *GetRequirementRequest) (*GetRequirementResponse, error)
- func (UnimplementedTeamRequirementApiServer) LinkIssue(context.Context, *LinkIssueRequest) (*LinkIssueResponse, error)
- func (UnimplementedTeamRequirementApiServer) ListLinkIssue(context.Context, *ListLinkIssueRequest) (*ListLinkIssueResponse, error)
- func (UnimplementedTeamRequirementApiServer) ListRequirement(context.Context, *ListRequirementRequest) (*ListRequirementResponse, error)
- func (UnimplementedTeamRequirementApiServer) RemoveRequirement(context.Context, *RemoveRequirementRequest) (*RemoveRequirementResponse, error)
- func (UnimplementedTeamRequirementApiServer) UnlinkIssue(context.Context, *UnlinkIssueRequest) (*UnlinkIssueResponse, error)
- func (UnimplementedTeamRequirementApiServer) UpdateRequirementBasic(context.Context, *UpdateRequirementBasicRequest) (*UpdateRequirementBasicResponse, error)
- func (UnimplementedTeamRequirementApiServer) UpdateRequirementPerm(context.Context, *UpdateRequirementPermRequest) (*UpdateRequirementPermResponse, error)
- type UnlinkIssueRequest
- func (*UnlinkIssueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkIssueRequest) GetIssueId() string
- func (x *UnlinkIssueRequest) GetRequirementId() string
- func (x *UnlinkIssueRequest) GetSessionId() string
- func (x *UnlinkIssueRequest) GetTeamId() string
- func (*UnlinkIssueRequest) ProtoMessage()
- func (x *UnlinkIssueRequest) ProtoReflect() protoreflect.Message
- func (x *UnlinkIssueRequest) Reset()
- func (x *UnlinkIssueRequest) String() string
- type UnlinkIssueResponse
- func (*UnlinkIssueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkIssueResponse) GetCode() UnlinkIssueResponse_CODE
- func (x *UnlinkIssueResponse) GetErrMsg() string
- func (*UnlinkIssueResponse) ProtoMessage()
- func (x *UnlinkIssueResponse) ProtoReflect() protoreflect.Message
- func (x *UnlinkIssueResponse) Reset()
- func (x *UnlinkIssueResponse) String() string
- type UnlinkIssueResponse_CODE
- func (UnlinkIssueResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x UnlinkIssueResponse_CODE) Enum() *UnlinkIssueResponse_CODE
- func (UnlinkIssueResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x UnlinkIssueResponse_CODE) Number() protoreflect.EnumNumber
- func (x UnlinkIssueResponse_CODE) String() string
- func (UnlinkIssueResponse_CODE) Type() protoreflect.EnumType
- type UnsafeTeamRequirementApiServer
- type UpdateRequirementBasicRequest
- func (*UpdateRequirementBasicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequirementBasicRequest) GetBasicInfo() *BasicRequirementInfo
- func (x *UpdateRequirementBasicRequest) GetRequirementId() string
- func (x *UpdateRequirementBasicRequest) GetSessionId() string
- func (x *UpdateRequirementBasicRequest) GetTeamId() string
- func (x *UpdateRequirementBasicRequest) GetWithDetail() bool
- func (*UpdateRequirementBasicRequest) ProtoMessage()
- func (x *UpdateRequirementBasicRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequirementBasicRequest) Reset()
- func (x *UpdateRequirementBasicRequest) String() string
- type UpdateRequirementBasicResponse
- func (*UpdateRequirementBasicResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequirementBasicResponse) GetCode() UpdateRequirementBasicResponse_CODE
- func (x *UpdateRequirementBasicResponse) GetErrMsg() string
- func (*UpdateRequirementBasicResponse) ProtoMessage()
- func (x *UpdateRequirementBasicResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRequirementBasicResponse) Reset()
- func (x *UpdateRequirementBasicResponse) String() string
- type UpdateRequirementBasicResponse_CODE
- func (UpdateRequirementBasicResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateRequirementBasicResponse_CODE) Enum() *UpdateRequirementBasicResponse_CODE
- func (UpdateRequirementBasicResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateRequirementBasicResponse_CODE) Number() protoreflect.EnumNumber
- func (x UpdateRequirementBasicResponse_CODE) String() string
- func (UpdateRequirementBasicResponse_CODE) Type() protoreflect.EnumType
- type UpdateRequirementPermRequest
- func (*UpdateRequirementPermRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequirementPermRequest) GetPerm() *Perm
- func (x *UpdateRequirementPermRequest) GetRequirementId() string
- func (x *UpdateRequirementPermRequest) GetSessionId() string
- func (x *UpdateRequirementPermRequest) GetTeamId() string
- func (*UpdateRequirementPermRequest) ProtoMessage()
- func (x *UpdateRequirementPermRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequirementPermRequest) Reset()
- func (x *UpdateRequirementPermRequest) String() string
- type UpdateRequirementPermResponse
- func (*UpdateRequirementPermResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequirementPermResponse) GetCode() UpdateRequirementPermResponse_CODE
- func (x *UpdateRequirementPermResponse) GetErrMsg() string
- func (*UpdateRequirementPermResponse) ProtoMessage()
- func (x *UpdateRequirementPermResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRequirementPermResponse) Reset()
- func (x *UpdateRequirementPermResponse) String() string
- type UpdateRequirementPermResponse_CODE
- func (UpdateRequirementPermResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateRequirementPermResponse_CODE) Enum() *UpdateRequirementPermResponse_CODE
- func (UpdateRequirementPermResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateRequirementPermResponse_CODE) Number() protoreflect.EnumNumber
- func (x UpdateRequirementPermResponse_CODE) String() string
- func (UpdateRequirementPermResponse_CODE) Type() protoreflect.EnumType
- type UserPerm
- func (*UserPerm) Descriptor() ([]byte, []int)deprecated
- func (x *UserPerm) GetCanRemove() bool
- func (x *UserPerm) GetCanUpdateBasic() bool
- func (x *UserPerm) GetCanUpdatePerm() bool
- func (*UserPerm) ProtoMessage()
- func (x *UserPerm) ProtoReflect() protoreflect.Message
- func (x *UserPerm) Reset()
- func (x *UserPerm) String() string
Constants ¶
const ( TeamRequirementApi_CreateRequirement_FullMethodName = "/team_requirement_api.TeamRequirementApi/createRequirement" TeamRequirementApi_ListRequirement_FullMethodName = "/team_requirement_api.TeamRequirementApi/listRequirement" TeamRequirementApi_GetRequirement_FullMethodName = "/team_requirement_api.TeamRequirementApi/getRequirement" TeamRequirementApi_ExistRequirement_FullMethodName = "/team_requirement_api.TeamRequirementApi/existRequirement" TeamRequirementApi_RemoveRequirement_FullMethodName = "/team_requirement_api.TeamRequirementApi/removeRequirement" TeamRequirementApi_UpdateRequirementBasic_FullMethodName = "/team_requirement_api.TeamRequirementApi/updateRequirementBasic" TeamRequirementApi_UpdateRequirementPerm_FullMethodName = "/team_requirement_api.TeamRequirementApi/updateRequirementPerm" TeamRequirementApi_LinkIssue_FullMethodName = "/team_requirement_api.TeamRequirementApi/linkIssue" TeamRequirementApi_UnlinkIssue_FullMethodName = "/team_requirement_api.TeamRequirementApi/unlinkIssue" TeamRequirementApi_ListLinkIssue_FullMethodName = "/team_requirement_api.TeamRequirementApi/listLinkIssue" )
Variables ¶
var ( CreateRequirementResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } CreateRequirementResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for CreateRequirementResponse_CODE.
var ( ListRequirementResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } ListRequirementResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for ListRequirementResponse_CODE.
var ( GetRequirementResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_REQUIREMENT", } GetRequirementResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_REQUIREMENT": 4, } )
Enum value maps for GetRequirementResponse_CODE.
var ( ExistRequirementResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } ExistRequirementResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for ExistRequirementResponse_CODE.
var ( RemoveRequirementResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } RemoveRequirementResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for RemoveRequirementResponse_CODE.
var ( UpdateRequirementBasicResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_REQUIREMENT", } UpdateRequirementBasicResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_REQUIREMENT": 4, } )
Enum value maps for UpdateRequirementBasicResponse_CODE.
var ( UpdateRequirementPermResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_REQUIREMENT", 5: "CODE_NOT_TEAM_MEMBER", } UpdateRequirementPermResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_REQUIREMENT": 4, "CODE_NOT_TEAM_MEMBER": 5, } )
Enum value maps for UpdateRequirementPermResponse_CODE.
var ( LinkIssueResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_REQUIREMENT", 5: "CODE_NO_ISSUE", } LinkIssueResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_REQUIREMENT": 4, "CODE_NO_ISSUE": 5, } )
Enum value maps for LinkIssueResponse_CODE.
var ( UnlinkIssueResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_REQUIREMENT", 5: "CODE_NO_ISSUE", } UnlinkIssueResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_REQUIREMENT": 4, "CODE_NO_ISSUE": 5, } )
Enum value maps for UnlinkIssueResponse_CODE.
var ( ListLinkIssueResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } ListLinkIssueResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for ListLinkIssueResponse_CODE.
var File_team_requirement_api_proto protoreflect.FileDescriptor
var TeamRequirementApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "team_requirement_api.TeamRequirementApi", HandlerType: (*TeamRequirementApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "createRequirement", Handler: _TeamRequirementApi_CreateRequirement_Handler, }, { MethodName: "listRequirement", Handler: _TeamRequirementApi_ListRequirement_Handler, }, { MethodName: "getRequirement", Handler: _TeamRequirementApi_GetRequirement_Handler, }, { MethodName: "existRequirement", Handler: _TeamRequirementApi_ExistRequirement_Handler, }, { MethodName: "removeRequirement", Handler: _TeamRequirementApi_RemoveRequirement_Handler, }, { MethodName: "updateRequirementBasic", Handler: _TeamRequirementApi_UpdateRequirementBasic_Handler, }, { MethodName: "updateRequirementPerm", Handler: _TeamRequirementApi_UpdateRequirementPerm_Handler, }, { MethodName: "linkIssue", Handler: _TeamRequirementApi_LinkIssue_Handler, }, { MethodName: "unlinkIssue", Handler: _TeamRequirementApi_UnlinkIssue_Handler, }, { MethodName: "listLinkIssue", Handler: _TeamRequirementApi_ListLinkIssue_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "team_requirement_api.proto", }
TeamRequirementApi_ServiceDesc is the grpc.ServiceDesc for TeamRequirementApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTeamRequirementApiServer ¶
func RegisterTeamRequirementApiServer(s grpc.ServiceRegistrar, srv TeamRequirementApiServer)
Types ¶
type BasicRequirementInfo ¶
type BasicRequirementInfo struct { RequirementName string `protobuf:"bytes,1,opt,name=requirementName,proto3" json:"requirementName,omitempty"` RequirementDetail string `protobuf:"bytes,2,opt,name=requirementDetail,proto3" json:"requirementDetail,omitempty"` // contains filtered or unexported fields }
func (*BasicRequirementInfo) Descriptor
deprecated
func (*BasicRequirementInfo) Descriptor() ([]byte, []int)
Deprecated: Use BasicRequirementInfo.ProtoReflect.Descriptor instead.
func (*BasicRequirementInfo) GetRequirementDetail ¶
func (x *BasicRequirementInfo) GetRequirementDetail() string
func (*BasicRequirementInfo) GetRequirementName ¶
func (x *BasicRequirementInfo) GetRequirementName() string
func (*BasicRequirementInfo) ProtoMessage ¶
func (*BasicRequirementInfo) ProtoMessage()
func (*BasicRequirementInfo) ProtoReflect ¶
func (x *BasicRequirementInfo) ProtoReflect() protoreflect.Message
func (*BasicRequirementInfo) Reset ¶
func (x *BasicRequirementInfo) Reset()
func (*BasicRequirementInfo) String ¶
func (x *BasicRequirementInfo) String() string
type CreateRequirementRequest ¶
type CreateRequirementRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` BasicInfo *BasicRequirementInfo `protobuf:"bytes,3,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` // contains filtered or unexported fields }
func (*CreateRequirementRequest) Descriptor
deprecated
func (*CreateRequirementRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequirementRequest.ProtoReflect.Descriptor instead.
func (*CreateRequirementRequest) GetBasicInfo ¶
func (x *CreateRequirementRequest) GetBasicInfo() *BasicRequirementInfo
func (*CreateRequirementRequest) GetSessionId ¶
func (x *CreateRequirementRequest) GetSessionId() string
func (*CreateRequirementRequest) GetTeamId ¶
func (x *CreateRequirementRequest) GetTeamId() string
func (*CreateRequirementRequest) ProtoMessage ¶
func (*CreateRequirementRequest) ProtoMessage()
func (*CreateRequirementRequest) ProtoReflect ¶
func (x *CreateRequirementRequest) ProtoReflect() protoreflect.Message
func (*CreateRequirementRequest) Reset ¶
func (x *CreateRequirementRequest) Reset()
func (*CreateRequirementRequest) String ¶
func (x *CreateRequirementRequest) String() string
type CreateRequirementResponse ¶
type CreateRequirementResponse struct { Code CreateRequirementResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.CreateRequirementResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` RequireMentId string `protobuf:"bytes,3,opt,name=requireMentId,proto3" json:"requireMentId,omitempty"` // contains filtered or unexported fields }
func (*CreateRequirementResponse) Descriptor
deprecated
func (*CreateRequirementResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequirementResponse.ProtoReflect.Descriptor instead.
func (*CreateRequirementResponse) GetCode ¶
func (x *CreateRequirementResponse) GetCode() CreateRequirementResponse_CODE
func (*CreateRequirementResponse) GetErrMsg ¶
func (x *CreateRequirementResponse) GetErrMsg() string
func (*CreateRequirementResponse) GetRequireMentId ¶
func (x *CreateRequirementResponse) GetRequireMentId() string
func (*CreateRequirementResponse) ProtoMessage ¶
func (*CreateRequirementResponse) ProtoMessage()
func (*CreateRequirementResponse) ProtoReflect ¶
func (x *CreateRequirementResponse) ProtoReflect() protoreflect.Message
func (*CreateRequirementResponse) Reset ¶
func (x *CreateRequirementResponse) Reset()
func (*CreateRequirementResponse) String ¶
func (x *CreateRequirementResponse) String() string
type CreateRequirementResponse_CODE ¶
type CreateRequirementResponse_CODE int32
const ( CreateRequirementResponse_CODE_OK CreateRequirementResponse_CODE = 0 CreateRequirementResponse_CODE_WRONG_SESSION CreateRequirementResponse_CODE = 1 CreateRequirementResponse_CODE_NO_TEAM CreateRequirementResponse_CODE = 2 CreateRequirementResponse_CODE_NO_PERMISSION CreateRequirementResponse_CODE = 3 )
func (CreateRequirementResponse_CODE) Descriptor ¶
func (CreateRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (CreateRequirementResponse_CODE) Enum ¶
func (x CreateRequirementResponse_CODE) Enum() *CreateRequirementResponse_CODE
func (CreateRequirementResponse_CODE) EnumDescriptor
deprecated
func (CreateRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateRequirementResponse_CODE.Descriptor instead.
func (CreateRequirementResponse_CODE) Number ¶
func (x CreateRequirementResponse_CODE) Number() protoreflect.EnumNumber
func (CreateRequirementResponse_CODE) String ¶
func (x CreateRequirementResponse_CODE) String() string
func (CreateRequirementResponse_CODE) Type ¶
func (CreateRequirementResponse_CODE) Type() protoreflect.EnumType
type ExistRequirementRequest ¶
type ExistRequirementRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` RequirementId string `protobuf:"bytes,3,opt,name=requirementId,proto3" json:"requirementId,omitempty"` // contains filtered or unexported fields }
func (*ExistRequirementRequest) Descriptor
deprecated
func (*ExistRequirementRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExistRequirementRequest.ProtoReflect.Descriptor instead.
func (*ExistRequirementRequest) GetRequirementId ¶
func (x *ExistRequirementRequest) GetRequirementId() string
func (*ExistRequirementRequest) GetSessionId ¶
func (x *ExistRequirementRequest) GetSessionId() string
func (*ExistRequirementRequest) GetTeamId ¶
func (x *ExistRequirementRequest) GetTeamId() string
func (*ExistRequirementRequest) ProtoMessage ¶
func (*ExistRequirementRequest) ProtoMessage()
func (*ExistRequirementRequest) ProtoReflect ¶
func (x *ExistRequirementRequest) ProtoReflect() protoreflect.Message
func (*ExistRequirementRequest) Reset ¶
func (x *ExistRequirementRequest) Reset()
func (*ExistRequirementRequest) String ¶
func (x *ExistRequirementRequest) String() string
type ExistRequirementResponse ¶
type ExistRequirementResponse struct { Code ExistRequirementResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.ExistRequirementResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` Exist bool `protobuf:"varint,3,opt,name=exist,proto3" json:"exist,omitempty"` // contains filtered or unexported fields }
func (*ExistRequirementResponse) Descriptor
deprecated
func (*ExistRequirementResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExistRequirementResponse.ProtoReflect.Descriptor instead.
func (*ExistRequirementResponse) GetCode ¶
func (x *ExistRequirementResponse) GetCode() ExistRequirementResponse_CODE
func (*ExistRequirementResponse) GetErrMsg ¶
func (x *ExistRequirementResponse) GetErrMsg() string
func (*ExistRequirementResponse) GetExist ¶
func (x *ExistRequirementResponse) GetExist() bool
func (*ExistRequirementResponse) ProtoMessage ¶
func (*ExistRequirementResponse) ProtoMessage()
func (*ExistRequirementResponse) ProtoReflect ¶
func (x *ExistRequirementResponse) ProtoReflect() protoreflect.Message
func (*ExistRequirementResponse) Reset ¶
func (x *ExistRequirementResponse) Reset()
func (*ExistRequirementResponse) String ¶
func (x *ExistRequirementResponse) String() string
type ExistRequirementResponse_CODE ¶
type ExistRequirementResponse_CODE int32
const ( ExistRequirementResponse_CODE_OK ExistRequirementResponse_CODE = 0 ExistRequirementResponse_CODE_WRONG_SESSION ExistRequirementResponse_CODE = 1 ExistRequirementResponse_CODE_NO_TEAM ExistRequirementResponse_CODE = 2 ExistRequirementResponse_CODE_NO_PERMISSION ExistRequirementResponse_CODE = 3 )
func (ExistRequirementResponse_CODE) Descriptor ¶
func (ExistRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ExistRequirementResponse_CODE) Enum ¶
func (x ExistRequirementResponse_CODE) Enum() *ExistRequirementResponse_CODE
func (ExistRequirementResponse_CODE) EnumDescriptor
deprecated
func (ExistRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExistRequirementResponse_CODE.Descriptor instead.
func (ExistRequirementResponse_CODE) Number ¶
func (x ExistRequirementResponse_CODE) Number() protoreflect.EnumNumber
func (ExistRequirementResponse_CODE) String ¶
func (x ExistRequirementResponse_CODE) String() string
func (ExistRequirementResponse_CODE) Type ¶
func (ExistRequirementResponse_CODE) Type() protoreflect.EnumType
type GetRequirementRequest ¶
type GetRequirementRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` RequirementId string `protobuf:"bytes,3,opt,name=requirementId,proto3" json:"requirementId,omitempty"` WithDetail bool `protobuf:"varint,4,opt,name=withDetail,proto3" json:"withDetail,omitempty"` // contains filtered or unexported fields }
func (*GetRequirementRequest) Descriptor
deprecated
func (*GetRequirementRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequirementRequest.ProtoReflect.Descriptor instead.
func (*GetRequirementRequest) GetRequirementId ¶
func (x *GetRequirementRequest) GetRequirementId() string
func (*GetRequirementRequest) GetSessionId ¶
func (x *GetRequirementRequest) GetSessionId() string
func (*GetRequirementRequest) GetTeamId ¶
func (x *GetRequirementRequest) GetTeamId() string
func (*GetRequirementRequest) GetWithDetail ¶
func (x *GetRequirementRequest) GetWithDetail() bool
func (*GetRequirementRequest) ProtoMessage ¶
func (*GetRequirementRequest) ProtoMessage()
func (*GetRequirementRequest) ProtoReflect ¶
func (x *GetRequirementRequest) ProtoReflect() protoreflect.Message
func (*GetRequirementRequest) Reset ¶
func (x *GetRequirementRequest) Reset()
func (*GetRequirementRequest) String ¶
func (x *GetRequirementRequest) String() string
type GetRequirementResponse ¶
type GetRequirementResponse struct { Code GetRequirementResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.GetRequirementResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` Requirement *RequirementInfo `protobuf:"bytes,3,opt,name=requirement,proto3" json:"requirement,omitempty"` // contains filtered or unexported fields }
func (*GetRequirementResponse) Descriptor
deprecated
func (*GetRequirementResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRequirementResponse.ProtoReflect.Descriptor instead.
func (*GetRequirementResponse) GetCode ¶
func (x *GetRequirementResponse) GetCode() GetRequirementResponse_CODE
func (*GetRequirementResponse) GetErrMsg ¶
func (x *GetRequirementResponse) GetErrMsg() string
func (*GetRequirementResponse) GetRequirement ¶
func (x *GetRequirementResponse) GetRequirement() *RequirementInfo
func (*GetRequirementResponse) ProtoMessage ¶
func (*GetRequirementResponse) ProtoMessage()
func (*GetRequirementResponse) ProtoReflect ¶
func (x *GetRequirementResponse) ProtoReflect() protoreflect.Message
func (*GetRequirementResponse) Reset ¶
func (x *GetRequirementResponse) Reset()
func (*GetRequirementResponse) String ¶
func (x *GetRequirementResponse) String() string
type GetRequirementResponse_CODE ¶
type GetRequirementResponse_CODE int32
const ( GetRequirementResponse_CODE_OK GetRequirementResponse_CODE = 0 GetRequirementResponse_CODE_WRONG_SESSION GetRequirementResponse_CODE = 1 GetRequirementResponse_CODE_NO_TEAM GetRequirementResponse_CODE = 2 GetRequirementResponse_CODE_NO_PERMISSION GetRequirementResponse_CODE = 3 GetRequirementResponse_CODE_NO_REQUIREMENT GetRequirementResponse_CODE = 4 )
func (GetRequirementResponse_CODE) Descriptor ¶
func (GetRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (GetRequirementResponse_CODE) Enum ¶
func (x GetRequirementResponse_CODE) Enum() *GetRequirementResponse_CODE
func (GetRequirementResponse_CODE) EnumDescriptor
deprecated
func (GetRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetRequirementResponse_CODE.Descriptor instead.
func (GetRequirementResponse_CODE) Number ¶
func (x GetRequirementResponse_CODE) Number() protoreflect.EnumNumber
func (GetRequirementResponse_CODE) String ¶
func (x GetRequirementResponse_CODE) String() string
func (GetRequirementResponse_CODE) Type ¶
func (GetRequirementResponse_CODE) Type() protoreflect.EnumType
type LinkIssueRequest ¶
type LinkIssueRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` RequirementId string `protobuf:"bytes,3,opt,name=requirementId,proto3" json:"requirementId,omitempty"` IssueId string `protobuf:"bytes,4,opt,name=issueId,proto3" json:"issueId,omitempty"` // contains filtered or unexported fields }
func (*LinkIssueRequest) Descriptor
deprecated
func (*LinkIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkIssueRequest.ProtoReflect.Descriptor instead.
func (*LinkIssueRequest) GetIssueId ¶
func (x *LinkIssueRequest) GetIssueId() string
func (*LinkIssueRequest) GetRequirementId ¶
func (x *LinkIssueRequest) GetRequirementId() string
func (*LinkIssueRequest) GetSessionId ¶
func (x *LinkIssueRequest) GetSessionId() string
func (*LinkIssueRequest) GetTeamId ¶
func (x *LinkIssueRequest) GetTeamId() string
func (*LinkIssueRequest) ProtoMessage ¶
func (*LinkIssueRequest) ProtoMessage()
func (*LinkIssueRequest) ProtoReflect ¶
func (x *LinkIssueRequest) ProtoReflect() protoreflect.Message
func (*LinkIssueRequest) Reset ¶
func (x *LinkIssueRequest) Reset()
func (*LinkIssueRequest) String ¶
func (x *LinkIssueRequest) String() string
type LinkIssueResponse ¶
type LinkIssueResponse struct { Code LinkIssueResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.LinkIssueResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*LinkIssueResponse) Descriptor
deprecated
func (*LinkIssueResponse) Descriptor() ([]byte, []int)
Deprecated: Use LinkIssueResponse.ProtoReflect.Descriptor instead.
func (*LinkIssueResponse) GetCode ¶
func (x *LinkIssueResponse) GetCode() LinkIssueResponse_CODE
func (*LinkIssueResponse) GetErrMsg ¶
func (x *LinkIssueResponse) GetErrMsg() string
func (*LinkIssueResponse) ProtoMessage ¶
func (*LinkIssueResponse) ProtoMessage()
func (*LinkIssueResponse) ProtoReflect ¶
func (x *LinkIssueResponse) ProtoReflect() protoreflect.Message
func (*LinkIssueResponse) Reset ¶
func (x *LinkIssueResponse) Reset()
func (*LinkIssueResponse) String ¶
func (x *LinkIssueResponse) String() string
type LinkIssueResponse_CODE ¶
type LinkIssueResponse_CODE int32
const ( LinkIssueResponse_CODE_OK LinkIssueResponse_CODE = 0 LinkIssueResponse_CODE_WRONG_SESSION LinkIssueResponse_CODE = 1 LinkIssueResponse_CODE_NO_TEAM LinkIssueResponse_CODE = 2 LinkIssueResponse_CODE_NO_PERMISSION LinkIssueResponse_CODE = 3 LinkIssueResponse_CODE_NO_REQUIREMENT LinkIssueResponse_CODE = 4 LinkIssueResponse_CODE_NO_ISSUE LinkIssueResponse_CODE = 5 )
func (LinkIssueResponse_CODE) Descriptor ¶
func (LinkIssueResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (LinkIssueResponse_CODE) Enum ¶
func (x LinkIssueResponse_CODE) Enum() *LinkIssueResponse_CODE
func (LinkIssueResponse_CODE) EnumDescriptor
deprecated
func (LinkIssueResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use LinkIssueResponse_CODE.Descriptor instead.
func (LinkIssueResponse_CODE) Number ¶
func (x LinkIssueResponse_CODE) Number() protoreflect.EnumNumber
func (LinkIssueResponse_CODE) String ¶
func (x LinkIssueResponse_CODE) String() string
func (LinkIssueResponse_CODE) Type ¶
func (LinkIssueResponse_CODE) Type() protoreflect.EnumType
type ListLinkIssueRequest ¶
type ListLinkIssueRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` RequirementIdList []string `protobuf:"bytes,3,rep,name=requirementIdList,proto3" json:"requirementIdList,omitempty"` // contains filtered or unexported fields }
func (*ListLinkIssueRequest) Descriptor
deprecated
func (*ListLinkIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLinkIssueRequest.ProtoReflect.Descriptor instead.
func (*ListLinkIssueRequest) GetRequirementIdList ¶
func (x *ListLinkIssueRequest) GetRequirementIdList() []string
func (*ListLinkIssueRequest) GetSessionId ¶
func (x *ListLinkIssueRequest) GetSessionId() string
func (*ListLinkIssueRequest) GetTeamId ¶
func (x *ListLinkIssueRequest) GetTeamId() string
func (*ListLinkIssueRequest) ProtoMessage ¶
func (*ListLinkIssueRequest) ProtoMessage()
func (*ListLinkIssueRequest) ProtoReflect ¶
func (x *ListLinkIssueRequest) ProtoReflect() protoreflect.Message
func (*ListLinkIssueRequest) Reset ¶
func (x *ListLinkIssueRequest) Reset()
func (*ListLinkIssueRequest) String ¶
func (x *ListLinkIssueRequest) String() string
type ListLinkIssueResponse ¶
type ListLinkIssueResponse struct { Code ListLinkIssueResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.ListLinkIssueResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` IssueIdList []string `protobuf:"bytes,3,rep,name=issueIdList,proto3" json:"issueIdList,omitempty"` // contains filtered or unexported fields }
func (*ListLinkIssueResponse) Descriptor
deprecated
func (*ListLinkIssueResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLinkIssueResponse.ProtoReflect.Descriptor instead.
func (*ListLinkIssueResponse) GetCode ¶
func (x *ListLinkIssueResponse) GetCode() ListLinkIssueResponse_CODE
func (*ListLinkIssueResponse) GetErrMsg ¶
func (x *ListLinkIssueResponse) GetErrMsg() string
func (*ListLinkIssueResponse) GetIssueIdList ¶
func (x *ListLinkIssueResponse) GetIssueIdList() []string
func (*ListLinkIssueResponse) ProtoMessage ¶
func (*ListLinkIssueResponse) ProtoMessage()
func (*ListLinkIssueResponse) ProtoReflect ¶
func (x *ListLinkIssueResponse) ProtoReflect() protoreflect.Message
func (*ListLinkIssueResponse) Reset ¶
func (x *ListLinkIssueResponse) Reset()
func (*ListLinkIssueResponse) String ¶
func (x *ListLinkIssueResponse) String() string
type ListLinkIssueResponse_CODE ¶
type ListLinkIssueResponse_CODE int32
const ( ListLinkIssueResponse_CODE_OK ListLinkIssueResponse_CODE = 0 ListLinkIssueResponse_CODE_WRONG_SESSION ListLinkIssueResponse_CODE = 1 ListLinkIssueResponse_CODE_NO_TEAM ListLinkIssueResponse_CODE = 2 ListLinkIssueResponse_CODE_NO_PERMISSION ListLinkIssueResponse_CODE = 3 )
func (ListLinkIssueResponse_CODE) Descriptor ¶
func (ListLinkIssueResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListLinkIssueResponse_CODE) Enum ¶
func (x ListLinkIssueResponse_CODE) Enum() *ListLinkIssueResponse_CODE
func (ListLinkIssueResponse_CODE) EnumDescriptor
deprecated
func (ListLinkIssueResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListLinkIssueResponse_CODE.Descriptor instead.
func (ListLinkIssueResponse_CODE) Number ¶
func (x ListLinkIssueResponse_CODE) Number() protoreflect.EnumNumber
func (ListLinkIssueResponse_CODE) String ¶
func (x ListLinkIssueResponse_CODE) String() string
func (ListLinkIssueResponse_CODE) Type ¶
func (ListLinkIssueResponse_CODE) Type() protoreflect.EnumType
type ListParam ¶
type ListParam struct { FilterByKeyword bool `protobuf:"varint,1,opt,name=filterByKeyword,proto3" json:"filterByKeyword,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*ListParam) ProtoReflect ¶
func (x *ListParam) ProtoReflect() protoreflect.Message
type ListRequirementRequest ¶
type ListRequirementRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` ListParam *ListParam `protobuf:"bytes,3,opt,name=listParam,proto3" json:"listParam,omitempty"` WithDetail bool `protobuf:"varint,4,opt,name=withDetail,proto3" json:"withDetail,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 (*ListRequirementRequest) Descriptor
deprecated
func (*ListRequirementRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequirementRequest.ProtoReflect.Descriptor instead.
func (*ListRequirementRequest) GetLimit ¶
func (x *ListRequirementRequest) GetLimit() uint32
func (*ListRequirementRequest) GetListParam ¶
func (x *ListRequirementRequest) GetListParam() *ListParam
func (*ListRequirementRequest) GetOffset ¶
func (x *ListRequirementRequest) GetOffset() uint32
func (*ListRequirementRequest) GetSessionId ¶
func (x *ListRequirementRequest) GetSessionId() string
func (*ListRequirementRequest) GetTeamId ¶
func (x *ListRequirementRequest) GetTeamId() string
func (*ListRequirementRequest) GetWithDetail ¶
func (x *ListRequirementRequest) GetWithDetail() bool
func (*ListRequirementRequest) ProtoMessage ¶
func (*ListRequirementRequest) ProtoMessage()
func (*ListRequirementRequest) ProtoReflect ¶
func (x *ListRequirementRequest) ProtoReflect() protoreflect.Message
func (*ListRequirementRequest) Reset ¶
func (x *ListRequirementRequest) Reset()
func (*ListRequirementRequest) String ¶
func (x *ListRequirementRequest) String() string
type ListRequirementResponse ¶
type ListRequirementResponse struct { Code ListRequirementResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.ListRequirementResponse_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"` RequirementList []*RequirementInfo `protobuf:"bytes,4,rep,name=requirementList,proto3" json:"requirementList,omitempty"` // contains filtered or unexported fields }
func (*ListRequirementResponse) Descriptor
deprecated
func (*ListRequirementResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRequirementResponse.ProtoReflect.Descriptor instead.
func (*ListRequirementResponse) GetCode ¶
func (x *ListRequirementResponse) GetCode() ListRequirementResponse_CODE
func (*ListRequirementResponse) GetErrMsg ¶
func (x *ListRequirementResponse) GetErrMsg() string
func (*ListRequirementResponse) GetRequirementList ¶
func (x *ListRequirementResponse) GetRequirementList() []*RequirementInfo
func (*ListRequirementResponse) GetTotalCount ¶
func (x *ListRequirementResponse) GetTotalCount() uint32
func (*ListRequirementResponse) ProtoMessage ¶
func (*ListRequirementResponse) ProtoMessage()
func (*ListRequirementResponse) ProtoReflect ¶
func (x *ListRequirementResponse) ProtoReflect() protoreflect.Message
func (*ListRequirementResponse) Reset ¶
func (x *ListRequirementResponse) Reset()
func (*ListRequirementResponse) String ¶
func (x *ListRequirementResponse) String() string
type ListRequirementResponse_CODE ¶
type ListRequirementResponse_CODE int32
const ( ListRequirementResponse_CODE_OK ListRequirementResponse_CODE = 0 ListRequirementResponse_CODE_WRONG_SESSION ListRequirementResponse_CODE = 1 ListRequirementResponse_CODE_NO_TEAM ListRequirementResponse_CODE = 2 ListRequirementResponse_CODE_NO_PERMISSION ListRequirementResponse_CODE = 3 )
func (ListRequirementResponse_CODE) Descriptor ¶
func (ListRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListRequirementResponse_CODE) Enum ¶
func (x ListRequirementResponse_CODE) Enum() *ListRequirementResponse_CODE
func (ListRequirementResponse_CODE) EnumDescriptor
deprecated
func (ListRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListRequirementResponse_CODE.Descriptor instead.
func (ListRequirementResponse_CODE) Number ¶
func (x ListRequirementResponse_CODE) Number() protoreflect.EnumNumber
func (ListRequirementResponse_CODE) String ¶
func (x ListRequirementResponse_CODE) String() string
func (ListRequirementResponse_CODE) Type ¶
func (ListRequirementResponse_CODE) Type() protoreflect.EnumType
type Perm ¶
type Perm struct { UpdateMemberUserIdList []string `protobuf:"bytes,1,rep,name=updateMemberUserIdList,proto3" json:"updateMemberUserIdList,omitempty"` RemoveMemberUserIdList []string `protobuf:"bytes,2,rep,name=removeMemberUserIdList,proto3" json:"removeMemberUserIdList,omitempty"` PermMemberUserIdList []string `protobuf:"bytes,3,rep,name=permMemberUserIdList,proto3" json:"permMemberUserIdList,omitempty"` //可调整权限 // contains filtered or unexported fields }
func (*Perm) ProtoReflect ¶
func (x *Perm) ProtoReflect() protoreflect.Message
type RemoveRequirementRequest ¶
type RemoveRequirementRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` RequirementId string `protobuf:"bytes,3,opt,name=requirementId,proto3" json:"requirementId,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequirementRequest) Descriptor
deprecated
func (*RemoveRequirementRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequirementRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequirementRequest) GetRequirementId ¶
func (x *RemoveRequirementRequest) GetRequirementId() string
func (*RemoveRequirementRequest) GetSessionId ¶
func (x *RemoveRequirementRequest) GetSessionId() string
func (*RemoveRequirementRequest) GetTeamId ¶
func (x *RemoveRequirementRequest) GetTeamId() string
func (*RemoveRequirementRequest) ProtoMessage ¶
func (*RemoveRequirementRequest) ProtoMessage()
func (*RemoveRequirementRequest) ProtoReflect ¶
func (x *RemoveRequirementRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequirementRequest) Reset ¶
func (x *RemoveRequirementRequest) Reset()
func (*RemoveRequirementRequest) String ¶
func (x *RemoveRequirementRequest) String() string
type RemoveRequirementResponse ¶
type RemoveRequirementResponse struct { Code RemoveRequirementResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.RemoveRequirementResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequirementResponse) Descriptor
deprecated
func (*RemoveRequirementResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequirementResponse.ProtoReflect.Descriptor instead.
func (*RemoveRequirementResponse) GetCode ¶
func (x *RemoveRequirementResponse) GetCode() RemoveRequirementResponse_CODE
func (*RemoveRequirementResponse) GetErrMsg ¶
func (x *RemoveRequirementResponse) GetErrMsg() string
func (*RemoveRequirementResponse) ProtoMessage ¶
func (*RemoveRequirementResponse) ProtoMessage()
func (*RemoveRequirementResponse) ProtoReflect ¶
func (x *RemoveRequirementResponse) ProtoReflect() protoreflect.Message
func (*RemoveRequirementResponse) Reset ¶
func (x *RemoveRequirementResponse) Reset()
func (*RemoveRequirementResponse) String ¶
func (x *RemoveRequirementResponse) String() string
type RemoveRequirementResponse_CODE ¶
type RemoveRequirementResponse_CODE int32
const ( RemoveRequirementResponse_CODE_OK RemoveRequirementResponse_CODE = 0 RemoveRequirementResponse_CODE_WRONG_SESSION RemoveRequirementResponse_CODE = 1 RemoveRequirementResponse_CODE_NO_TEAM RemoveRequirementResponse_CODE = 2 RemoveRequirementResponse_CODE_NO_PERMISSION RemoveRequirementResponse_CODE = 3 )
func (RemoveRequirementResponse_CODE) Descriptor ¶
func (RemoveRequirementResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (RemoveRequirementResponse_CODE) Enum ¶
func (x RemoveRequirementResponse_CODE) Enum() *RemoveRequirementResponse_CODE
func (RemoveRequirementResponse_CODE) EnumDescriptor
deprecated
func (RemoveRequirementResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoveRequirementResponse_CODE.Descriptor instead.
func (RemoveRequirementResponse_CODE) Number ¶
func (x RemoveRequirementResponse_CODE) Number() protoreflect.EnumNumber
func (RemoveRequirementResponse_CODE) String ¶
func (x RemoveRequirementResponse_CODE) String() string
func (RemoveRequirementResponse_CODE) Type ¶
func (RemoveRequirementResponse_CODE) Type() protoreflect.EnumType
type RequirementInfo ¶
type RequirementInfo struct { RequirementId string `protobuf:"bytes,1,opt,name=requirementId,proto3" json:"requirementId,omitempty"` RequirementIndex uint32 `protobuf:"varint,2,opt,name=requirementIndex,proto3" json:"requirementIndex,omitempty"` //从1开始的递增标号 BasicInfo *BasicRequirementInfo `protobuf:"bytes,3,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` CreateUserId string `protobuf:"bytes,20,opt,name=createUserId,proto3" json:"createUserId,omitempty"` CreateDisplayName string `protobuf:"bytes,21,opt,name=createDisplayName,proto3" json:"createDisplayName,omitempty"` CreateLogoUri string `protobuf:"bytes,22,opt,name=createLogoUri,proto3" json:"createLogoUri,omitempty"` CreateTime int64 `protobuf:"varint,23,opt,name=createTime,proto3" json:"createTime,omitempty"` UpdateUserId string `protobuf:"bytes,30,opt,name=updateUserId,proto3" json:"updateUserId,omitempty"` UpdateDisplayName string `protobuf:"bytes,31,opt,name=updateDisplayName,proto3" json:"updateDisplayName,omitempty"` UpdateLogoUri string `protobuf:"bytes,32,opt,name=updateLogoUri,proto3" json:"updateLogoUri,omitempty"` UpdateTime int64 `protobuf:"varint,33,opt,name=updateTime,proto3" json:"updateTime,omitempty"` Perm *Perm `protobuf:"bytes,40,opt,name=perm,proto3" json:"perm,omitempty"` UserPerm *UserPerm `protobuf:"bytes,50,opt,name=userPerm,proto3" json:"userPerm,omitempty"` // contains filtered or unexported fields }
func (*RequirementInfo) Descriptor
deprecated
func (*RequirementInfo) Descriptor() ([]byte, []int)
Deprecated: Use RequirementInfo.ProtoReflect.Descriptor instead.
func (*RequirementInfo) GetBasicInfo ¶
func (x *RequirementInfo) GetBasicInfo() *BasicRequirementInfo
func (*RequirementInfo) GetCreateDisplayName ¶
func (x *RequirementInfo) GetCreateDisplayName() string
func (*RequirementInfo) GetCreateLogoUri ¶
func (x *RequirementInfo) GetCreateLogoUri() string
func (*RequirementInfo) GetCreateTime ¶
func (x *RequirementInfo) GetCreateTime() int64
func (*RequirementInfo) GetCreateUserId ¶
func (x *RequirementInfo) GetCreateUserId() string
func (*RequirementInfo) GetPerm ¶
func (x *RequirementInfo) GetPerm() *Perm
func (*RequirementInfo) GetRequirementId ¶
func (x *RequirementInfo) GetRequirementId() string
func (*RequirementInfo) GetRequirementIndex ¶
func (x *RequirementInfo) GetRequirementIndex() uint32
func (*RequirementInfo) GetUpdateDisplayName ¶
func (x *RequirementInfo) GetUpdateDisplayName() string
func (*RequirementInfo) GetUpdateLogoUri ¶
func (x *RequirementInfo) GetUpdateLogoUri() string
func (*RequirementInfo) GetUpdateTime ¶
func (x *RequirementInfo) GetUpdateTime() int64
func (*RequirementInfo) GetUpdateUserId ¶
func (x *RequirementInfo) GetUpdateUserId() string
func (*RequirementInfo) GetUserPerm ¶
func (x *RequirementInfo) GetUserPerm() *UserPerm
func (*RequirementInfo) ProtoMessage ¶
func (*RequirementInfo) ProtoMessage()
func (*RequirementInfo) ProtoReflect ¶
func (x *RequirementInfo) ProtoReflect() protoreflect.Message
func (*RequirementInfo) Reset ¶
func (x *RequirementInfo) Reset()
func (*RequirementInfo) String ¶
func (x *RequirementInfo) String() string
type TeamRequirementApiClient ¶
type TeamRequirementApiClient interface { // 创建需求 CreateRequirement(ctx context.Context, in *CreateRequirementRequest, opts ...grpc.CallOption) (*CreateRequirementResponse, error) // 列出需求 ListRequirement(ctx context.Context, in *ListRequirementRequest, opts ...grpc.CallOption) (*ListRequirementResponse, error) // 获取单个需求 GetRequirement(ctx context.Context, in *GetRequirementRequest, opts ...grpc.CallOption) (*GetRequirementResponse, error) // 是否存在需求 ExistRequirement(ctx context.Context, in *ExistRequirementRequest, opts ...grpc.CallOption) (*ExistRequirementResponse, error) // 删除需求 RemoveRequirement(ctx context.Context, in *RemoveRequirementRequest, opts ...grpc.CallOption) (*RemoveRequirementResponse, error) // 更新需求基本信息 UpdateRequirementBasic(ctx context.Context, in *UpdateRequirementBasicRequest, opts ...grpc.CallOption) (*UpdateRequirementBasicResponse, error) // 更新需求权限 UpdateRequirementPerm(ctx context.Context, in *UpdateRequirementPermRequest, opts ...grpc.CallOption) (*UpdateRequirementPermResponse, error) // 关联issue LinkIssue(ctx context.Context, in *LinkIssueRequest, opts ...grpc.CallOption) (*LinkIssueResponse, error) // 取消关联issue UnlinkIssue(ctx context.Context, in *UnlinkIssueRequest, opts ...grpc.CallOption) (*UnlinkIssueResponse, error) // 列出关联issue ListLinkIssue(ctx context.Context, in *ListLinkIssueRequest, opts ...grpc.CallOption) (*ListLinkIssueResponse, error) }
TeamRequirementApiClient is the client API for TeamRequirementApi 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 NewTeamRequirementApiClient ¶
func NewTeamRequirementApiClient(cc grpc.ClientConnInterface) TeamRequirementApiClient
type TeamRequirementApiServer ¶
type TeamRequirementApiServer interface { // 创建需求 CreateRequirement(context.Context, *CreateRequirementRequest) (*CreateRequirementResponse, error) // 列出需求 ListRequirement(context.Context, *ListRequirementRequest) (*ListRequirementResponse, error) // 获取单个需求 GetRequirement(context.Context, *GetRequirementRequest) (*GetRequirementResponse, error) // 是否存在需求 ExistRequirement(context.Context, *ExistRequirementRequest) (*ExistRequirementResponse, error) // 删除需求 RemoveRequirement(context.Context, *RemoveRequirementRequest) (*RemoveRequirementResponse, error) // 更新需求基本信息 UpdateRequirementBasic(context.Context, *UpdateRequirementBasicRequest) (*UpdateRequirementBasicResponse, error) // 更新需求权限 UpdateRequirementPerm(context.Context, *UpdateRequirementPermRequest) (*UpdateRequirementPermResponse, error) // 关联issue LinkIssue(context.Context, *LinkIssueRequest) (*LinkIssueResponse, error) // 取消关联issue UnlinkIssue(context.Context, *UnlinkIssueRequest) (*UnlinkIssueResponse, error) // 列出关联issue ListLinkIssue(context.Context, *ListLinkIssueRequest) (*ListLinkIssueResponse, error) // contains filtered or unexported methods }
TeamRequirementApiServer is the server API for TeamRequirementApi service. All implementations must embed UnimplementedTeamRequirementApiServer for forward compatibility
type UnimplementedTeamRequirementApiServer ¶
type UnimplementedTeamRequirementApiServer struct { }
UnimplementedTeamRequirementApiServer must be embedded to have forward compatible implementations.
func (UnimplementedTeamRequirementApiServer) CreateRequirement ¶
func (UnimplementedTeamRequirementApiServer) CreateRequirement(context.Context, *CreateRequirementRequest) (*CreateRequirementResponse, error)
func (UnimplementedTeamRequirementApiServer) ExistRequirement ¶
func (UnimplementedTeamRequirementApiServer) ExistRequirement(context.Context, *ExistRequirementRequest) (*ExistRequirementResponse, error)
func (UnimplementedTeamRequirementApiServer) GetRequirement ¶
func (UnimplementedTeamRequirementApiServer) GetRequirement(context.Context, *GetRequirementRequest) (*GetRequirementResponse, error)
func (UnimplementedTeamRequirementApiServer) LinkIssue ¶
func (UnimplementedTeamRequirementApiServer) LinkIssue(context.Context, *LinkIssueRequest) (*LinkIssueResponse, error)
func (UnimplementedTeamRequirementApiServer) ListLinkIssue ¶
func (UnimplementedTeamRequirementApiServer) ListLinkIssue(context.Context, *ListLinkIssueRequest) (*ListLinkIssueResponse, error)
func (UnimplementedTeamRequirementApiServer) ListRequirement ¶
func (UnimplementedTeamRequirementApiServer) ListRequirement(context.Context, *ListRequirementRequest) (*ListRequirementResponse, error)
func (UnimplementedTeamRequirementApiServer) RemoveRequirement ¶
func (UnimplementedTeamRequirementApiServer) RemoveRequirement(context.Context, *RemoveRequirementRequest) (*RemoveRequirementResponse, error)
func (UnimplementedTeamRequirementApiServer) UnlinkIssue ¶
func (UnimplementedTeamRequirementApiServer) UnlinkIssue(context.Context, *UnlinkIssueRequest) (*UnlinkIssueResponse, error)
func (UnimplementedTeamRequirementApiServer) UpdateRequirementBasic ¶
func (UnimplementedTeamRequirementApiServer) UpdateRequirementBasic(context.Context, *UpdateRequirementBasicRequest) (*UpdateRequirementBasicResponse, error)
func (UnimplementedTeamRequirementApiServer) UpdateRequirementPerm ¶
func (UnimplementedTeamRequirementApiServer) UpdateRequirementPerm(context.Context, *UpdateRequirementPermRequest) (*UpdateRequirementPermResponse, error)
type UnlinkIssueRequest ¶
type UnlinkIssueRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` RequirementId string `protobuf:"bytes,3,opt,name=requirementId,proto3" json:"requirementId,omitempty"` IssueId string `protobuf:"bytes,4,opt,name=issueId,proto3" json:"issueId,omitempty"` // contains filtered or unexported fields }
func (*UnlinkIssueRequest) Descriptor
deprecated
func (*UnlinkIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkIssueRequest.ProtoReflect.Descriptor instead.
func (*UnlinkIssueRequest) GetIssueId ¶
func (x *UnlinkIssueRequest) GetIssueId() string
func (*UnlinkIssueRequest) GetRequirementId ¶
func (x *UnlinkIssueRequest) GetRequirementId() string
func (*UnlinkIssueRequest) GetSessionId ¶
func (x *UnlinkIssueRequest) GetSessionId() string
func (*UnlinkIssueRequest) GetTeamId ¶
func (x *UnlinkIssueRequest) GetTeamId() string
func (*UnlinkIssueRequest) ProtoMessage ¶
func (*UnlinkIssueRequest) ProtoMessage()
func (*UnlinkIssueRequest) ProtoReflect ¶
func (x *UnlinkIssueRequest) ProtoReflect() protoreflect.Message
func (*UnlinkIssueRequest) Reset ¶
func (x *UnlinkIssueRequest) Reset()
func (*UnlinkIssueRequest) String ¶
func (x *UnlinkIssueRequest) String() string
type UnlinkIssueResponse ¶
type UnlinkIssueResponse struct { Code UnlinkIssueResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.UnlinkIssueResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*UnlinkIssueResponse) Descriptor
deprecated
func (*UnlinkIssueResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkIssueResponse.ProtoReflect.Descriptor instead.
func (*UnlinkIssueResponse) GetCode ¶
func (x *UnlinkIssueResponse) GetCode() UnlinkIssueResponse_CODE
func (*UnlinkIssueResponse) GetErrMsg ¶
func (x *UnlinkIssueResponse) GetErrMsg() string
func (*UnlinkIssueResponse) ProtoMessage ¶
func (*UnlinkIssueResponse) ProtoMessage()
func (*UnlinkIssueResponse) ProtoReflect ¶
func (x *UnlinkIssueResponse) ProtoReflect() protoreflect.Message
func (*UnlinkIssueResponse) Reset ¶
func (x *UnlinkIssueResponse) Reset()
func (*UnlinkIssueResponse) String ¶
func (x *UnlinkIssueResponse) String() string
type UnlinkIssueResponse_CODE ¶
type UnlinkIssueResponse_CODE int32
const ( UnlinkIssueResponse_CODE_OK UnlinkIssueResponse_CODE = 0 UnlinkIssueResponse_CODE_WRONG_SESSION UnlinkIssueResponse_CODE = 1 UnlinkIssueResponse_CODE_NO_TEAM UnlinkIssueResponse_CODE = 2 UnlinkIssueResponse_CODE_NO_PERMISSION UnlinkIssueResponse_CODE = 3 UnlinkIssueResponse_CODE_NO_REQUIREMENT UnlinkIssueResponse_CODE = 4 UnlinkIssueResponse_CODE_NO_ISSUE UnlinkIssueResponse_CODE = 5 )
func (UnlinkIssueResponse_CODE) Descriptor ¶
func (UnlinkIssueResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (UnlinkIssueResponse_CODE) Enum ¶
func (x UnlinkIssueResponse_CODE) Enum() *UnlinkIssueResponse_CODE
func (UnlinkIssueResponse_CODE) EnumDescriptor
deprecated
func (UnlinkIssueResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use UnlinkIssueResponse_CODE.Descriptor instead.
func (UnlinkIssueResponse_CODE) Number ¶
func (x UnlinkIssueResponse_CODE) Number() protoreflect.EnumNumber
func (UnlinkIssueResponse_CODE) String ¶
func (x UnlinkIssueResponse_CODE) String() string
func (UnlinkIssueResponse_CODE) Type ¶
func (UnlinkIssueResponse_CODE) Type() protoreflect.EnumType
type UnsafeTeamRequirementApiServer ¶
type UnsafeTeamRequirementApiServer interface {
// contains filtered or unexported methods
}
UnsafeTeamRequirementApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TeamRequirementApiServer will result in compilation errors.
type UpdateRequirementBasicRequest ¶
type UpdateRequirementBasicRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` RequirementId string `protobuf:"bytes,3,opt,name=requirementId,proto3" json:"requirementId,omitempty"` BasicInfo *BasicRequirementInfo `protobuf:"bytes,4,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` WithDetail bool `protobuf:"varint,5,opt,name=withDetail,proto3" json:"withDetail,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequirementBasicRequest) Descriptor
deprecated
func (*UpdateRequirementBasicRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequirementBasicRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequirementBasicRequest) GetBasicInfo ¶
func (x *UpdateRequirementBasicRequest) GetBasicInfo() *BasicRequirementInfo
func (*UpdateRequirementBasicRequest) GetRequirementId ¶
func (x *UpdateRequirementBasicRequest) GetRequirementId() string
func (*UpdateRequirementBasicRequest) GetSessionId ¶
func (x *UpdateRequirementBasicRequest) GetSessionId() string
func (*UpdateRequirementBasicRequest) GetTeamId ¶
func (x *UpdateRequirementBasicRequest) GetTeamId() string
func (*UpdateRequirementBasicRequest) GetWithDetail ¶
func (x *UpdateRequirementBasicRequest) GetWithDetail() bool
func (*UpdateRequirementBasicRequest) ProtoMessage ¶
func (*UpdateRequirementBasicRequest) ProtoMessage()
func (*UpdateRequirementBasicRequest) ProtoReflect ¶
func (x *UpdateRequirementBasicRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequirementBasicRequest) Reset ¶
func (x *UpdateRequirementBasicRequest) Reset()
func (*UpdateRequirementBasicRequest) String ¶
func (x *UpdateRequirementBasicRequest) String() string
type UpdateRequirementBasicResponse ¶
type UpdateRequirementBasicResponse struct { Code UpdateRequirementBasicResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.UpdateRequirementBasicResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequirementBasicResponse) Descriptor
deprecated
func (*UpdateRequirementBasicResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequirementBasicResponse.ProtoReflect.Descriptor instead.
func (*UpdateRequirementBasicResponse) GetCode ¶
func (x *UpdateRequirementBasicResponse) GetCode() UpdateRequirementBasicResponse_CODE
func (*UpdateRequirementBasicResponse) GetErrMsg ¶
func (x *UpdateRequirementBasicResponse) GetErrMsg() string
func (*UpdateRequirementBasicResponse) ProtoMessage ¶
func (*UpdateRequirementBasicResponse) ProtoMessage()
func (*UpdateRequirementBasicResponse) ProtoReflect ¶
func (x *UpdateRequirementBasicResponse) ProtoReflect() protoreflect.Message
func (*UpdateRequirementBasicResponse) Reset ¶
func (x *UpdateRequirementBasicResponse) Reset()
func (*UpdateRequirementBasicResponse) String ¶
func (x *UpdateRequirementBasicResponse) String() string
type UpdateRequirementBasicResponse_CODE ¶
type UpdateRequirementBasicResponse_CODE int32
const ( UpdateRequirementBasicResponse_CODE_OK UpdateRequirementBasicResponse_CODE = 0 UpdateRequirementBasicResponse_CODE_WRONG_SESSION UpdateRequirementBasicResponse_CODE = 1 UpdateRequirementBasicResponse_CODE_NO_TEAM UpdateRequirementBasicResponse_CODE = 2 UpdateRequirementBasicResponse_CODE_NO_PERMISSION UpdateRequirementBasicResponse_CODE = 3 UpdateRequirementBasicResponse_CODE_NO_REQUIREMENT UpdateRequirementBasicResponse_CODE = 4 )
func (UpdateRequirementBasicResponse_CODE) Descriptor ¶
func (UpdateRequirementBasicResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (UpdateRequirementBasicResponse_CODE) Enum ¶
func (x UpdateRequirementBasicResponse_CODE) Enum() *UpdateRequirementBasicResponse_CODE
func (UpdateRequirementBasicResponse_CODE) EnumDescriptor
deprecated
func (UpdateRequirementBasicResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateRequirementBasicResponse_CODE.Descriptor instead.
func (UpdateRequirementBasicResponse_CODE) Number ¶
func (x UpdateRequirementBasicResponse_CODE) Number() protoreflect.EnumNumber
func (UpdateRequirementBasicResponse_CODE) String ¶
func (x UpdateRequirementBasicResponse_CODE) String() string
func (UpdateRequirementBasicResponse_CODE) Type ¶
func (UpdateRequirementBasicResponse_CODE) Type() protoreflect.EnumType
type UpdateRequirementPermRequest ¶
type UpdateRequirementPermRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` RequirementId string `protobuf:"bytes,3,opt,name=requirementId,proto3" json:"requirementId,omitempty"` Perm *Perm `protobuf:"bytes,4,opt,name=perm,proto3" json:"perm,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequirementPermRequest) Descriptor
deprecated
func (*UpdateRequirementPermRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequirementPermRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequirementPermRequest) GetPerm ¶
func (x *UpdateRequirementPermRequest) GetPerm() *Perm
func (*UpdateRequirementPermRequest) GetRequirementId ¶
func (x *UpdateRequirementPermRequest) GetRequirementId() string
func (*UpdateRequirementPermRequest) GetSessionId ¶
func (x *UpdateRequirementPermRequest) GetSessionId() string
func (*UpdateRequirementPermRequest) GetTeamId ¶
func (x *UpdateRequirementPermRequest) GetTeamId() string
func (*UpdateRequirementPermRequest) ProtoMessage ¶
func (*UpdateRequirementPermRequest) ProtoMessage()
func (*UpdateRequirementPermRequest) ProtoReflect ¶
func (x *UpdateRequirementPermRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequirementPermRequest) Reset ¶
func (x *UpdateRequirementPermRequest) Reset()
func (*UpdateRequirementPermRequest) String ¶
func (x *UpdateRequirementPermRequest) String() string
type UpdateRequirementPermResponse ¶
type UpdateRequirementPermResponse struct { Code UpdateRequirementPermResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_requirement_api.UpdateRequirementPermResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequirementPermResponse) Descriptor
deprecated
func (*UpdateRequirementPermResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequirementPermResponse.ProtoReflect.Descriptor instead.
func (*UpdateRequirementPermResponse) GetCode ¶
func (x *UpdateRequirementPermResponse) GetCode() UpdateRequirementPermResponse_CODE
func (*UpdateRequirementPermResponse) GetErrMsg ¶
func (x *UpdateRequirementPermResponse) GetErrMsg() string
func (*UpdateRequirementPermResponse) ProtoMessage ¶
func (*UpdateRequirementPermResponse) ProtoMessage()
func (*UpdateRequirementPermResponse) ProtoReflect ¶
func (x *UpdateRequirementPermResponse) ProtoReflect() protoreflect.Message
func (*UpdateRequirementPermResponse) Reset ¶
func (x *UpdateRequirementPermResponse) Reset()
func (*UpdateRequirementPermResponse) String ¶
func (x *UpdateRequirementPermResponse) String() string
type UpdateRequirementPermResponse_CODE ¶
type UpdateRequirementPermResponse_CODE int32
const ( UpdateRequirementPermResponse_CODE_OK UpdateRequirementPermResponse_CODE = 0 UpdateRequirementPermResponse_CODE_WRONG_SESSION UpdateRequirementPermResponse_CODE = 1 UpdateRequirementPermResponse_CODE_NO_TEAM UpdateRequirementPermResponse_CODE = 2 UpdateRequirementPermResponse_CODE_NO_PERMISSION UpdateRequirementPermResponse_CODE = 3 UpdateRequirementPermResponse_CODE_NO_REQUIREMENT UpdateRequirementPermResponse_CODE = 4 UpdateRequirementPermResponse_CODE_NOT_TEAM_MEMBER UpdateRequirementPermResponse_CODE = 5 )
func (UpdateRequirementPermResponse_CODE) Descriptor ¶
func (UpdateRequirementPermResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (UpdateRequirementPermResponse_CODE) Enum ¶
func (x UpdateRequirementPermResponse_CODE) Enum() *UpdateRequirementPermResponse_CODE
func (UpdateRequirementPermResponse_CODE) EnumDescriptor
deprecated
func (UpdateRequirementPermResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateRequirementPermResponse_CODE.Descriptor instead.
func (UpdateRequirementPermResponse_CODE) Number ¶
func (x UpdateRequirementPermResponse_CODE) Number() protoreflect.EnumNumber
func (UpdateRequirementPermResponse_CODE) String ¶
func (x UpdateRequirementPermResponse_CODE) String() string
func (UpdateRequirementPermResponse_CODE) Type ¶
func (UpdateRequirementPermResponse_CODE) Type() protoreflect.EnumType
type UserPerm ¶
type UserPerm struct { CanUpdateBasic bool `protobuf:"varint,1,opt,name=canUpdateBasic,proto3" json:"canUpdateBasic,omitempty"` CanUpdatePerm bool `protobuf:"varint,2,opt,name=canUpdatePerm,proto3" json:"canUpdatePerm,omitempty"` CanRemove bool `protobuf:"varint,3,opt,name=canRemove,proto3" json:"canRemove,omitempty"` // contains filtered or unexported fields }
func (*UserPerm) ProtoReflect ¶
func (x *UserPerm) ProtoReflect() protoreflect.Message