team_requirement_api

package
v0.0.0-...-181341f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_team_requirement_api_proto protoreflect.FileDescriptor
View Source
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 (*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 (*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 (*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) Enum

func (CreateRequirementResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use CreateRequirementResponse_CODE.Descriptor instead.

func (CreateRequirementResponse_CODE) Number

func (CreateRequirementResponse_CODE) String

func (CreateRequirementResponse_CODE) Type

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 (*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) Enum

func (ExistRequirementResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ExistRequirementResponse_CODE.Descriptor instead.

func (ExistRequirementResponse_CODE) Number

func (ExistRequirementResponse_CODE) String

func (ExistRequirementResponse_CODE) Type

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 (*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) Enum

func (GetRequirementResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use GetRequirementResponse_CODE.Descriptor instead.

func (GetRequirementResponse_CODE) Number

func (GetRequirementResponse_CODE) String

func (GetRequirementResponse_CODE) Type

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 (*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) Enum

func (LinkIssueResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use LinkIssueResponse_CODE.Descriptor instead.

func (LinkIssueResponse_CODE) Number

func (LinkIssueResponse_CODE) String

func (x LinkIssueResponse_CODE) String() string

func (LinkIssueResponse_CODE) Type

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 (*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) Enum

func (ListLinkIssueResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListLinkIssueResponse_CODE.Descriptor instead.

func (ListLinkIssueResponse_CODE) Number

func (ListLinkIssueResponse_CODE) String

func (ListLinkIssueResponse_CODE) Type

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) Descriptor deprecated

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

Deprecated: Use ListParam.ProtoReflect.Descriptor instead.

func (*ListParam) GetFilterByKeyword

func (x *ListParam) GetFilterByKeyword() bool

func (*ListParam) GetKeyword

func (x *ListParam) GetKeyword() string

func (*ListParam) ProtoMessage

func (*ListParam) ProtoMessage()

func (*ListParam) ProtoReflect

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

func (*ListParam) Reset

func (x *ListParam) Reset()

func (*ListParam) String

func (x *ListParam) String() string

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 (*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) Enum

func (ListRequirementResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListRequirementResponse_CODE.Descriptor instead.

func (ListRequirementResponse_CODE) Number

func (ListRequirementResponse_CODE) String

func (ListRequirementResponse_CODE) Type

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) Descriptor deprecated

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

Deprecated: Use Perm.ProtoReflect.Descriptor instead.

func (*Perm) GetPermMemberUserIdList

func (x *Perm) GetPermMemberUserIdList() []string

func (*Perm) GetRemoveMemberUserIdList

func (x *Perm) GetRemoveMemberUserIdList() []string

func (*Perm) GetUpdateMemberUserIdList

func (x *Perm) GetUpdateMemberUserIdList() []string

func (*Perm) ProtoMessage

func (*Perm) ProtoMessage()

func (*Perm) ProtoReflect

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

func (*Perm) Reset

func (x *Perm) Reset()

func (*Perm) String

func (x *Perm) String() string

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 (*RemoveRequirementResponse) GetErrMsg

func (x *RemoveRequirementResponse) GetErrMsg() string

func (*RemoveRequirementResponse) ProtoMessage

func (*RemoveRequirementResponse) ProtoMessage()

func (*RemoveRequirementResponse) ProtoReflect

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) Enum

func (RemoveRequirementResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use RemoveRequirementResponse_CODE.Descriptor instead.

func (RemoveRequirementResponse_CODE) Number

func (RemoveRequirementResponse_CODE) String

func (RemoveRequirementResponse_CODE) Type

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) ExistRequirement

func (UnimplementedTeamRequirementApiServer) GetRequirement

func (UnimplementedTeamRequirementApiServer) LinkIssue

func (UnimplementedTeamRequirementApiServer) ListLinkIssue

func (UnimplementedTeamRequirementApiServer) ListRequirement

func (UnimplementedTeamRequirementApiServer) RemoveRequirement

func (UnimplementedTeamRequirementApiServer) UnlinkIssue

func (UnimplementedTeamRequirementApiServer) UpdateRequirementBasic

func (UnimplementedTeamRequirementApiServer) UpdateRequirementPerm

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 (*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) Enum

func (UnlinkIssueResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use UnlinkIssueResponse_CODE.Descriptor instead.

func (UnlinkIssueResponse_CODE) Number

func (UnlinkIssueResponse_CODE) String

func (x UnlinkIssueResponse_CODE) String() string

func (UnlinkIssueResponse_CODE) Type

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 (*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 (*UpdateRequirementBasicRequest) Reset

func (x *UpdateRequirementBasicRequest) Reset()

func (*UpdateRequirementBasicRequest) 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 (*UpdateRequirementBasicResponse) GetErrMsg

func (x *UpdateRequirementBasicResponse) GetErrMsg() string

func (*UpdateRequirementBasicResponse) ProtoMessage

func (*UpdateRequirementBasicResponse) ProtoMessage()

func (*UpdateRequirementBasicResponse) ProtoReflect

func (*UpdateRequirementBasicResponse) Reset

func (x *UpdateRequirementBasicResponse) Reset()

func (*UpdateRequirementBasicResponse) 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) Enum

func (UpdateRequirementBasicResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use UpdateRequirementBasicResponse_CODE.Descriptor instead.

func (UpdateRequirementBasicResponse_CODE) Number

func (UpdateRequirementBasicResponse_CODE) String

func (UpdateRequirementBasicResponse_CODE) Type

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 (*UpdateRequirementPermRequest) Reset

func (x *UpdateRequirementPermRequest) Reset()

func (*UpdateRequirementPermRequest) 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 (*UpdateRequirementPermResponse) GetErrMsg

func (x *UpdateRequirementPermResponse) GetErrMsg() string

func (*UpdateRequirementPermResponse) ProtoMessage

func (*UpdateRequirementPermResponse) ProtoMessage()

func (*UpdateRequirementPermResponse) ProtoReflect

func (*UpdateRequirementPermResponse) Reset

func (x *UpdateRequirementPermResponse) Reset()

func (*UpdateRequirementPermResponse) 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) Enum

func (UpdateRequirementPermResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use UpdateRequirementPermResponse_CODE.Descriptor instead.

func (UpdateRequirementPermResponse_CODE) Number

func (UpdateRequirementPermResponse_CODE) String

func (UpdateRequirementPermResponse_CODE) Type

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) Descriptor deprecated

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

Deprecated: Use UserPerm.ProtoReflect.Descriptor instead.

func (*UserPerm) GetCanRemove

func (x *UserPerm) GetCanRemove() bool

func (*UserPerm) GetCanUpdateBasic

func (x *UserPerm) GetCanUpdateBasic() bool

func (*UserPerm) GetCanUpdatePerm

func (x *UserPerm) GetCanUpdatePerm() bool

func (*UserPerm) ProtoMessage

func (*UserPerm) ProtoMessage()

func (*UserPerm) ProtoReflect

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

func (*UserPerm) Reset

func (x *UserPerm) Reset()

func (*UserPerm) String

func (x *UserPerm) String() string

Jump to

Keyboard shortcuts

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