Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

114 KB
Raw Blame
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.12
// 	protoc        (unknown)
// source: v1/issue_service.proto

package v1

import (
	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	expr "google.golang.org/genproto/googleapis/type/expr"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// The type of issue.
type Issue_Type int32

const (
	// Unspecified issue type.
	Issue_TYPE_UNSPECIFIED Issue_Type = 0
	// Database schema or data change.
	Issue_DATABASE_CHANGE Issue_Type = 1
	// Role grant request.
	Issue_ROLE_GRANT Issue_Type = 2
	// Temporary access grant request.
	Issue_ACCESS_GRANT Issue_Type = 4
)

// Enum value maps for Issue_Type.
var (
	Issue_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "DATABASE_CHANGE",
		2: "ROLE_GRANT",
		4: "ACCESS_GRANT",
	}
	Issue_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"DATABASE_CHANGE":  1,
		"ROLE_GRANT":       2,
		"ACCESS_GRANT":     4,
	}
)

func (x Issue_Type) Enum() *Issue_Type {
	p := new(Issue_Type)
	*p = x
	return p
}

func (x Issue_Type) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Issue_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_issue_service_proto_enumTypes[0].Descriptor()
}

func (Issue_Type) Type() protoreflect.EnumType {
	return &file_v1_issue_service_proto_enumTypes[0]
}

func (x Issue_Type) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Issue_Type.Descriptor instead.
func (Issue_Type) EnumDescriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{13, 0}
}

// The approval status of an approver.
type Issue_Approver_Status int32

const (
	// Unspecified status.
	Issue_Approver_STATUS_UNSPECIFIED Issue_Approver_Status = 0
	// Awaiting approval.
	Issue_Approver_PENDING Issue_Approver_Status = 1
	// Approved.
	Issue_Approver_APPROVED Issue_Approver_Status = 2
	// Rejected.
	Issue_Approver_REJECTED Issue_Approver_Status = 3
)

// Enum value maps for Issue_Approver_Status.
var (
	Issue_Approver_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "APPROVED",
		3: "REJECTED",
	}
	Issue_Approver_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PENDING":            1,
		"APPROVED":           2,
		"REJECTED":           3,
	}
)

func (x Issue_Approver_Status) Enum() *Issue_Approver_Status {
	p := new(Issue_Approver_Status)
	*p = x
	return p
}

func (x Issue_Approver_Status) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Issue_Approver_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_issue_service_proto_enumTypes[1].Descriptor()
}

func (Issue_Approver_Status) Type() protoreflect.EnumType {
	return &file_v1_issue_service_proto_enumTypes[1]
}

func (x Issue_Approver_Status) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Issue_Approver_Status.Descriptor instead.
func (Issue_Approver_Status) EnumDescriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{13, 0, 0}
}

type IssueComment_ThreadState int32

const (
	IssueComment_THREAD_STATE_UNSPECIFIED IssueComment_ThreadState = 0
	IssueComment_OPEN                     IssueComment_ThreadState = 1
	IssueComment_RESOLVED                 IssueComment_ThreadState = 2
)

// Enum value maps for IssueComment_ThreadState.
var (
	IssueComment_ThreadState_name = map[int32]string{
		0: "THREAD_STATE_UNSPECIFIED",
		1: "OPEN",
		2: "RESOLVED",
	}
	IssueComment_ThreadState_value = map[string]int32{
		"THREAD_STATE_UNSPECIFIED": 0,
		"OPEN":                     1,
		"RESOLVED":                 2,
	}
)

func (x IssueComment_ThreadState) Enum() *IssueComment_ThreadState {
	p := new(IssueComment_ThreadState)
	*p = x
	return p
}

func (x IssueComment_ThreadState) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (IssueComment_ThreadState) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_issue_service_proto_enumTypes[2].Descriptor()
}

func (IssueComment_ThreadState) Type() protoreflect.EnumType {
	return &file_v1_issue_service_proto_enumTypes[2]
}

func (x IssueComment_ThreadState) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use IssueComment_ThreadState.Descriptor instead.
func (IssueComment_ThreadState) EnumDescriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 0}
}

// Priority says what resolving the thread means. It has no bearing on
// blocking, which thread_state alone decides.
type IssueComment_ReviewMetadata_Priority int32

const (
	IssueComment_ReviewMetadata_PRIORITY_UNSPECIFIED IssueComment_ReviewMetadata_Priority = 0
	// The SQL is wrong and must change.
	IssueComment_ReviewMetadata_P0 IssueComment_ReviewMetadata_Priority = 1
	// Dangerous but legitimate; a person must accept it.
	IssueComment_ReviewMetadata_P1 IssueComment_ReviewMetadata_Priority = 2
	// Advisory.
	IssueComment_ReviewMetadata_P2 IssueComment_ReviewMetadata_Priority = 3
)

// Enum value maps for IssueComment_ReviewMetadata_Priority.
var (
	IssueComment_ReviewMetadata_Priority_name = map[int32]string{
		0: "PRIORITY_UNSPECIFIED",
		1: "P0",
		2: "P1",
		3: "P2",
	}
	IssueComment_ReviewMetadata_Priority_value = map[string]int32{
		"PRIORITY_UNSPECIFIED": 0,
		"P0":                   1,
		"P1":                   2,
		"P2":                   3,
	}
)

func (x IssueComment_ReviewMetadata_Priority) Enum() *IssueComment_ReviewMetadata_Priority {
	p := new(IssueComment_ReviewMetadata_Priority)
	*p = x
	return p
}

func (x IssueComment_ReviewMetadata_Priority) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (IssueComment_ReviewMetadata_Priority) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_issue_service_proto_enumTypes[3].Descriptor()
}

func (IssueComment_ReviewMetadata_Priority) Type() protoreflect.EnumType {
	return &file_v1_issue_service_proto_enumTypes[3]
}

func (x IssueComment_ReviewMetadata_Priority) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use IssueComment_ReviewMetadata_Priority.Descriptor instead.
func (IssueComment_ReviewMetadata_Priority) EnumDescriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 0, 0}
}

// Approval status values.
type IssueComment_Approval_Status int32

const (
	// Unspecified status.
	IssueComment_Approval_STATUS_UNSPECIFIED IssueComment_Approval_Status = 0
	// Approval pending.
	IssueComment_Approval_PENDING IssueComment_Approval_Status = 1
	// Approved.
	IssueComment_Approval_APPROVED IssueComment_Approval_Status = 2
	// Rejected.
	IssueComment_Approval_REJECTED IssueComment_Approval_Status = 3
)

// Enum value maps for IssueComment_Approval_Status.
var (
	IssueComment_Approval_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "APPROVED",
		3: "REJECTED",
	}
	IssueComment_Approval_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PENDING":            1,
		"APPROVED":           2,
		"REJECTED":           3,
	}
)

func (x IssueComment_Approval_Status) Enum() *IssueComment_Approval_Status {
	p := new(IssueComment_Approval_Status)
	*p = x
	return p
}

func (x IssueComment_Approval_Status) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (IssueComment_Approval_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_issue_service_proto_enumTypes[4].Descriptor()
}

func (IssueComment_Approval_Status) Type() protoreflect.EnumType {
	return &file_v1_issue_service_proto_enumTypes[4]
}

func (x IssueComment_Approval_Status) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use IssueComment_Approval_Status.Descriptor instead.
func (IssueComment_Approval_Status) EnumDescriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 1, 0}
}

type ReviewRun_Type int32

const (
	ReviewRun_TYPE_UNSPECIFIED ReviewRun_Type = 0
	// Review against the standard rules.
	ReviewRun_RULE ReviewRun_Type = 1
	// Review against the natural-language AI review policy, performed by a
	// model.
	ReviewRun_AI ReviewRun_Type = 2
)

// Enum value maps for ReviewRun_Type.
var (
	ReviewRun_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "RULE",
		2: "AI",
	}
	ReviewRun_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"RULE":             1,
		"AI":               2,
	}
)

func (x ReviewRun_Type) Enum() *ReviewRun_Type {
	p := new(ReviewRun_Type)
	*p = x
	return p
}

func (x ReviewRun_Type) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ReviewRun_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_issue_service_proto_enumTypes[5].Descriptor()
}

func (ReviewRun_Type) Type() protoreflect.EnumType {
	return &file_v1_issue_service_proto_enumTypes[5]
}

func (x ReviewRun_Type) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ReviewRun_Type.Descriptor instead.
func (ReviewRun_Type) EnumDescriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{23, 0}
}

// States follow task_run, minus PENDING (review needs no admission
// control) and minus CANCELED (runs are side-effect-free until the fenced
// completion transaction, so re-running supersedes instead of canceling).
type ReviewRun_Status int32

const (
	ReviewRun_STATUS_UNSPECIFIED ReviewRun_Status = 0
	// Created and claimable by any replica.
	ReviewRun_AVAILABLE ReviewRun_Status = 1
	ReviewRun_RUNNING   ReviewRun_Status = 2
	// Every (spec, target) unit in the reviewer's scope was evaluated. RULE's
	// scope is every target. AI's scope is the project's CI sample, the first
	// ci_sampling_size targets of each spec, or every target when
	// ci_sampling_size is 0. DONE does not mean the review passed: whether
	// problems remain is judged from open comments.
	ReviewRun_DONE ReviewRun_Status = 3
	// At least one unit was not evaluated; the cause is in `error`.
	ReviewRun_FAILED ReviewRun_Status = 4
)

// Enum value maps for ReviewRun_Status.
var (
	ReviewRun_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "AVAILABLE",
		2: "RUNNING",
		3: "DONE",
		4: "FAILED",
	}
	ReviewRun_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"AVAILABLE":          1,
		"RUNNING":            2,
		"DONE":               3,
		"FAILED":             4,
	}
)

func (x ReviewRun_Status) Enum() *ReviewRun_Status {
	p := new(ReviewRun_Status)
	*p = x
	return p
}

func (x ReviewRun_Status) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ReviewRun_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_issue_service_proto_enumTypes[6].Descriptor()
}

func (ReviewRun_Status) Type() protoreflect.EnumType {
	return &file_v1_issue_service_proto_enumTypes[6]
}

func (x ReviewRun_Status) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ReviewRun_Status.Descriptor instead.
func (ReviewRun_Status) EnumDescriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{23, 1}
}

type GetIssueRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the issue to retrieve.
	// Format: projects/{project}/issues/{issue}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, bypass cache and fetch the latest data.
	Force         bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetIssueRequest) Reset() {
	*x = GetIssueRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetIssueRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetIssueRequest) ProtoMessage() {}

func (x *GetIssueRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetIssueRequest.ProtoReflect.Descriptor instead.
func (*GetIssueRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{0}
}

func (x *GetIssueRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *GetIssueRequest) GetForce() bool {
	if x != nil {
		return x.Force
	}
	return false
}

type CreateIssueRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The parent, which owns this collection of issues.
	// Format: projects/{project}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The issue to create.
	Issue         *Issue `protobuf:"bytes,2,opt,name=issue,proto3" json:"issue,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateIssueRequest) Reset() {
	*x = CreateIssueRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateIssueRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateIssueRequest) ProtoMessage() {}

func (x *CreateIssueRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateIssueRequest.ProtoReflect.Descriptor instead.
func (*CreateIssueRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{1}
}

func (x *CreateIssueRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CreateIssueRequest) GetIssue() *Issue {
	if x != nil {
		return x.Issue
	}
	return nil
}

type ListIssuesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The parent, which owns this collection of issues.
	// Format: projects/{project}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of issues to return. The service may return fewer than
	// this value.
	// If unspecified, at most 10 issues will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListIssues` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListIssues` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter is used to filter issues returned in the list.
	// The syntax and semantics of CEL are documented at https://github.com/google/cel-spec
	//
	// Supported filters:
	// - creator: issue creator full name in "users/{email or id}" format, support "==" operator.
	// - status: the issue status, support "==" and "in" operator, check the IssueStatus enum for the values.
	// - create_time: issue create time in "2006-01-02T15:04:05Z07:00" format, support ">=" or "<=" operator.
	// - type: the issue type, support "==" and "in" operator, check the Type enum in the Issue message for the values.
	// - labels: the issue labels, support "==" and "in" operator.
	// - risk_level: the issue risk level, support "in" operator, check the RiskLevel enum for the values.
	// - approval_status: issue approval status, support "==" operator.
	// - current_approver: the issue approver, should in "users/{email} format", support "==" operator.
	//
	// For example:
	// creator == "users/[email protected]" && status in ["OPEN", "DONE"]
	// status == "CANCELED" && type == "DATABASE_CHANGE"
	// labels in ["label1", "label2"]
	// risk_level in ["HIGH", "MODERATE"]
	// create_time >= "2025-01-02T15:04:05Z07:00"
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Query is the query statement.
	Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"`
	// The order by of issues.
	// Support:
	// - create_time
	// - update_time
	// The default sorting order is ascending.
	// For example:
	// - order_by = "create_time desc"
	// - order_by = "update_time asc"
	OrderBy       string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListIssuesRequest) Reset() {
	*x = ListIssuesRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListIssuesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListIssuesRequest) ProtoMessage() {}

func (x *ListIssuesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListIssuesRequest.ProtoReflect.Descriptor instead.
func (*ListIssuesRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{2}
}

func (x *ListIssuesRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListIssuesRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListIssuesRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListIssuesRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

func (x *ListIssuesRequest) GetQuery() string {
	if x != nil {
		return x.Query
	}
	return ""
}

func (x *ListIssuesRequest) GetOrderBy() string {
	if x != nil {
		return x.OrderBy
	}
	return ""
}

type ListIssuesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The issues from the specified request.
	Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListIssuesResponse) Reset() {
	*x = ListIssuesResponse{}
	mi := &file_v1_issue_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListIssuesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListIssuesResponse) ProtoMessage() {}

func (x *ListIssuesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListIssuesResponse.ProtoReflect.Descriptor instead.
func (*ListIssuesResponse) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{3}
}

func (x *ListIssuesResponse) GetIssues() []*Issue {
	if x != nil {
		return x.Issues
	}
	return nil
}

func (x *ListIssuesResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

type SearchIssuesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The parent, which owns this collection of issues.
	// Format: projects/{project}
	// Use the wildcard "projects/-" to search across collections (AIP-159); the
	// result is restricted to the projects where the caller holds
	// bb.issues.get. For a concrete project, the caller must hold bb.issues.get
	// on that project or the request is denied.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of issues to return. The service may return fewer than
	// this value.
	// If unspecified, at most 10 issues will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `SearchIssues` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `SearchIssues` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter is used to filter issues returned in the list.
	// Check the filter field in the ListIssuesRequest message.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Query is the query statement.
	Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"`
	// The order by of issues.
	// Support:
	// - create_time
	// - update_time
	// The default sorting order is ascending.
	// For example:
	// - order_by = "create_time desc"
	// - order_by = "update_time asc"
	OrderBy       string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchIssuesRequest) Reset() {
	*x = SearchIssuesRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchIssuesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchIssuesRequest) ProtoMessage() {}

func (x *SearchIssuesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchIssuesRequest.ProtoReflect.Descriptor instead.
func (*SearchIssuesRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{4}
}

func (x *SearchIssuesRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *SearchIssuesRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *SearchIssuesRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *SearchIssuesRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

func (x *SearchIssuesRequest) GetQuery() string {
	if x != nil {
		return x.Query
	}
	return ""
}

func (x *SearchIssuesRequest) GetOrderBy() string {
	if x != nil {
		return x.OrderBy
	}
	return ""
}

type SearchIssuesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The issues from the specified request.
	Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchIssuesResponse) Reset() {
	*x = SearchIssuesResponse{}
	mi := &file_v1_issue_service_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SearchIssuesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SearchIssuesResponse) ProtoMessage() {}

func (x *SearchIssuesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SearchIssuesResponse.ProtoReflect.Descriptor instead.
func (*SearchIssuesResponse) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{5}
}

func (x *SearchIssuesResponse) GetIssues() []*Issue {
	if x != nil {
		return x.Issues
	}
	return nil
}

func (x *SearchIssuesResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

type UpdateIssueRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The issue to update.
	//
	// The issue's `name` field is used to identify the issue to update.
	// Format: projects/{project}/issues/{issue}
	Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"`
	// The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set to true, and the issue is not found, a new issue will be created.
	// In this situation, `update_mask` is ignored.
	AllowMissing  bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateIssueRequest) Reset() {
	*x = UpdateIssueRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateIssueRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateIssueRequest) ProtoMessage() {}

func (x *UpdateIssueRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateIssueRequest.ProtoReflect.Descriptor instead.
func (*UpdateIssueRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{6}
}

func (x *UpdateIssueRequest) GetIssue() *Issue {
	if x != nil {
		return x.Issue
	}
	return nil
}

func (x *UpdateIssueRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

func (x *UpdateIssueRequest) GetAllowMissing() bool {
	if x != nil {
		return x.AllowMissing
	}
	return false
}

type BatchUpdateIssuesStatusRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The parent resource shared by all issues being updated.
	// Format: projects/{project}
	// If the operation spans parents, a dash (-) may be accepted as a wildcard.
	// We only support updating the status of databases for now.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The list of issues to update.
	// Format: projects/{project}/issues/{issue}
	Issues []string `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
	// The new status.
	Status IssueStatus `protobuf:"varint,3,opt,name=status,proto3,enum=bytebase.v1.IssueStatus" json:"status,omitempty"`
	// The reason for the status change.
	Reason        string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BatchUpdateIssuesStatusRequest) Reset() {
	*x = BatchUpdateIssuesStatusRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BatchUpdateIssuesStatusRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BatchUpdateIssuesStatusRequest) ProtoMessage() {}

func (x *BatchUpdateIssuesStatusRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BatchUpdateIssuesStatusRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateIssuesStatusRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{7}
}

func (x *BatchUpdateIssuesStatusRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *BatchUpdateIssuesStatusRequest) GetIssues() []string {
	if x != nil {
		return x.Issues
	}
	return nil
}

func (x *BatchUpdateIssuesStatusRequest) GetStatus() IssueStatus {
	if x != nil {
		return x.Status
	}
	return IssueStatus_ISSUE_STATUS_UNSPECIFIED
}

func (x *BatchUpdateIssuesStatusRequest) GetReason() string {
	if x != nil {
		return x.Reason
	}
	return ""
}

type BatchUpdateIssuesStatusResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BatchUpdateIssuesStatusResponse) Reset() {
	*x = BatchUpdateIssuesStatusResponse{}
	mi := &file_v1_issue_service_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BatchUpdateIssuesStatusResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BatchUpdateIssuesStatusResponse) ProtoMessage() {}

func (x *BatchUpdateIssuesStatusResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BatchUpdateIssuesStatusResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateIssuesStatusResponse) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{8}
}

type ApproveIssueRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the issue to add an approver.
	// Format: projects/{project}/issues/{issue}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The comment explaining the approval decision.
	Comment       string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ApproveIssueRequest) Reset() {
	*x = ApproveIssueRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ApproveIssueRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ApproveIssueRequest) ProtoMessage() {}

func (x *ApproveIssueRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ApproveIssueRequest.ProtoReflect.Descriptor instead.
func (*ApproveIssueRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{9}
}

func (x *ApproveIssueRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ApproveIssueRequest) GetComment() string {
	if x != nil {
		return x.Comment
	}
	return ""
}

type RejectIssueRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the issue to add a rejection.
	// Format: projects/{project}/issues/{issue}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The comment explaining the rejection decision.
	Comment       string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RejectIssueRequest) Reset() {
	*x = RejectIssueRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RejectIssueRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RejectIssueRequest) ProtoMessage() {}

func (x *RejectIssueRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RejectIssueRequest.ProtoReflect.Descriptor instead.
func (*RejectIssueRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{10}
}

func (x *RejectIssueRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *RejectIssueRequest) GetComment() string {
	if x != nil {
		return x.Comment
	}
	return ""
}

type RequestIssueRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the issue to request a issue.
	// Format: projects/{project}/issues/{issue}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The comment explaining the request.
	Comment       string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RequestIssueRequest) Reset() {
	*x = RequestIssueRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RequestIssueRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RequestIssueRequest) ProtoMessage() {}

func (x *RequestIssueRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RequestIssueRequest.ProtoReflect.Descriptor instead.
func (*RequestIssueRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{11}
}

func (x *RequestIssueRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *RequestIssueRequest) GetComment() string {
	if x != nil {
		return x.Comment
	}
	return ""
}

type RetryIssueApprovalRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the issue whose approval-finding should be retried.
	// Format: projects/{project}/issues/{issue}
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RetryIssueApprovalRequest) Reset() {
	*x = RetryIssueApprovalRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RetryIssueApprovalRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RetryIssueApprovalRequest) ProtoMessage() {}

func (x *RetryIssueApprovalRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RetryIssueApprovalRequest.ProtoReflect.Descriptor instead.
func (*RetryIssueApprovalRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{12}
}

func (x *RetryIssueApprovalRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

type Issue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the issue.
	// Format: projects/{project}/issues/{issue}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The title of the issue.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The description of the issue.
	Description string     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Type        Issue_Type `protobuf:"varint,4,opt,name=type,proto3,enum=bytebase.v1.Issue_Type" json:"type,omitempty"`
	// The status of the issue.
	Status    IssueStatus       `protobuf:"varint,5,opt,name=status,proto3,enum=bytebase.v1.IssueStatus" json:"status,omitempty"`
	Approvers []*Issue_Approver `protobuf:"bytes,6,rep,name=approvers,proto3" json:"approvers,omitempty"`
	// The approval template for the issue.
	ApprovalTemplate *ApprovalTemplate `protobuf:"bytes,7,opt,name=approval_template,json=approvalTemplate,proto3" json:"approval_template,omitempty"`
	// Format: users/[email protected]
	Creator    string                 `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The plan associated with the issue.
	// Can be empty.
	// Format: projects/{project}/plans/{plan}
	Plan string `protobuf:"bytes,11,opt,name=plan,proto3" json:"plan,omitempty"`
	// Used if the issue type is ROLE_GRANT.
	RoleGrant *RoleGrant `protobuf:"bytes,13,opt,name=role_grant,json=roleGrant,proto3" json:"role_grant,omitempty"`
	// The risk level of the issue.
	RiskLevel RiskLevel `protobuf:"varint,15,opt,name=risk_level,json=riskLevel,proto3,enum=bytebase.v1.RiskLevel" json:"risk_level,omitempty"`
	// Labels attached to the issue for categorization and filtering.
	Labels []string `protobuf:"bytes,17,rep,name=labels,proto3" json:"labels,omitempty"`
	// The overall approval status for the issue.
	ApprovalStatus ApprovalStatus `protobuf:"varint,18,opt,name=approval_status,json=approvalStatus,proto3,enum=bytebase.v1.ApprovalStatus" json:"approval_status,omitempty"`
	// The access grant associated with this issue.
	// Format: projects/{project}/accessGrants/{access_grant}
	AccessGrant string `protobuf:"bytes,19,opt,name=access_grant,json=accessGrant,proto3" json:"access_grant,omitempty"`
	// Whether this issue is a Draft Review Issue.
	Draft         bool `protobuf:"varint,20,opt,name=draft,proto3" json:"draft,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Issue) Reset() {
	*x = Issue{}
	mi := &file_v1_issue_service_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Issue) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Issue) ProtoMessage() {}

func (x *Issue) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Issue.ProtoReflect.Descriptor instead.
func (*Issue) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{13}
}

func (x *Issue) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Issue) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *Issue) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Issue) GetType() Issue_Type {
	if x != nil {
		return x.Type
	}
	return Issue_TYPE_UNSPECIFIED
}

func (x *Issue) GetStatus() IssueStatus {
	if x != nil {
		return x.Status
	}
	return IssueStatus_ISSUE_STATUS_UNSPECIFIED
}

func (x *Issue) GetApprovers() []*Issue_Approver {
	if x != nil {
		return x.Approvers
	}
	return nil
}

func (x *Issue) GetApprovalTemplate() *ApprovalTemplate {
	if x != nil {
		return x.ApprovalTemplate
	}
	return nil
}

func (x *Issue) GetCreator() string {
	if x != nil {
		return x.Creator
	}
	return ""
}

func (x *Issue) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *Issue) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

func (x *Issue) GetPlan() string {
	if x != nil {
		return x.Plan
	}
	return ""
}

func (x *Issue) GetRoleGrant() *RoleGrant {
	if x != nil {
		return x.RoleGrant
	}
	return nil
}

func (x *Issue) GetRiskLevel() RiskLevel {
	if x != nil {
		return x.RiskLevel
	}
	return RiskLevel_RISK_LEVEL_UNSPECIFIED
}

func (x *Issue) GetLabels() []string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *Issue) GetApprovalStatus() ApprovalStatus {
	if x != nil {
		return x.ApprovalStatus
	}
	return ApprovalStatus_APPROVAL_STATUS_UNSPECIFIED
}

func (x *Issue) GetAccessGrant() string {
	if x != nil {
		return x.AccessGrant
	}
	return ""
}

func (x *Issue) GetDraft() bool {
	if x != nil {
		return x.Draft
	}
	return false
}

type RoleGrant struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The requested role.
	// Format: roles/{role}.
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// The user to be granted.
	// Format: users/{email}.
	User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// The condition for the role. Same as the condition in IAM Binding message.
	Condition *expr.Expr `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// The duration for which the grant is valid.
	Expiration    *durationpb.Duration `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RoleGrant) Reset() {
	*x = RoleGrant{}
	mi := &file_v1_issue_service_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RoleGrant) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RoleGrant) ProtoMessage() {}

func (x *RoleGrant) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[14]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RoleGrant.ProtoReflect.Descriptor instead.
func (*RoleGrant) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{14}
}

func (x *RoleGrant) GetRole() string {
	if x != nil {
		return x.Role
	}
	return ""
}

func (x *RoleGrant) GetUser() string {
	if x != nil {
		return x.User
	}
	return ""
}

func (x *RoleGrant) GetCondition() *expr.Expr {
	if x != nil {
		return x.Condition
	}
	return nil
}

func (x *RoleGrant) GetExpiration() *durationpb.Duration {
	if x != nil {
		return x.Expiration
	}
	return nil
}

type ApprovalTemplate struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The approval flow definition.
	Flow *ApprovalFlow `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"`
	// The title of the approval template.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The description of the approval template.
	Description   string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ApprovalTemplate) Reset() {
	*x = ApprovalTemplate{}
	mi := &file_v1_issue_service_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ApprovalTemplate) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ApprovalTemplate) ProtoMessage() {}

func (x *ApprovalTemplate) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[15]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ApprovalTemplate.ProtoReflect.Descriptor instead.
func (*ApprovalTemplate) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{15}
}

func (x *ApprovalTemplate) GetFlow() *ApprovalFlow {
	if x != nil {
		return x.Flow
	}
	return nil
}

func (x *ApprovalTemplate) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *ApprovalTemplate) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

type ApprovalFlow struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The roles required for approval in order.
	Roles         []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ApprovalFlow) Reset() {
	*x = ApprovalFlow{}
	mi := &file_v1_issue_service_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ApprovalFlow) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ApprovalFlow) ProtoMessage() {}

func (x *ApprovalFlow) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ApprovalFlow.ProtoReflect.Descriptor instead.
func (*ApprovalFlow) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{16}
}

func (x *ApprovalFlow) GetRoles() []string {
	if x != nil {
		return x.Roles
	}
	return nil
}

type ListIssueCommentsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Format: projects/{projects}/issues/{issue}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of issue comments to return. The service may return fewer than
	// this value.
	// If unspecified, at most 10 issue comments will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListIssueComments` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListIssueComments` must match
	// the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// CEL filter over events, root comments, and replies.
	// Supported: root == null, root == "<comment name>", or root in ["<comment name>", ...].
	// Root names must belong to parent. Empty and root == null return the
	// timeline (events and root comments); other filters return replies only.
	Filter        string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListIssueCommentsRequest) Reset() {
	*x = ListIssueCommentsRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListIssueCommentsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListIssueCommentsRequest) ProtoMessage() {}

func (x *ListIssueCommentsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListIssueCommentsRequest.ProtoReflect.Descriptor instead.
func (*ListIssueCommentsRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{17}
}

func (x *ListIssueCommentsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListIssueCommentsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListIssueCommentsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListIssueCommentsRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

type ListIssueCommentsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The issue comments from the specified request.
	IssueComments []*IssueComment `protobuf:"bytes,1,rep,name=issue_comments,json=issueComments,proto3" json:"issue_comments,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListIssueCommentsResponse) Reset() {
	*x = ListIssueCommentsResponse{}
	mi := &file_v1_issue_service_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListIssueCommentsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListIssueCommentsResponse) ProtoMessage() {}

func (x *ListIssueCommentsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListIssueCommentsResponse.ProtoReflect.Descriptor instead.
func (*ListIssueCommentsResponse) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{18}
}

func (x *ListIssueCommentsResponse) GetIssueComments() []*IssueComment {
	if x != nil {
		return x.IssueComments
	}
	return nil
}

func (x *ListIssueCommentsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

type CreateIssueCommentRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The issue name
	// Format: projects/{project}/issues/{issue}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The comment to create.
	IssueComment  *IssueComment `protobuf:"bytes,2,opt,name=issue_comment,json=issueComment,proto3" json:"issue_comment,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateIssueCommentRequest) Reset() {
	*x = CreateIssueCommentRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateIssueCommentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateIssueCommentRequest) ProtoMessage() {}

func (x *CreateIssueCommentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateIssueCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateIssueCommentRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{19}
}

func (x *CreateIssueCommentRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CreateIssueCommentRequest) GetIssueComment() *IssueComment {
	if x != nil {
		return x.IssueComment
	}
	return nil
}

type UpdateIssueCommentRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The issue name
	// Format: projects/{project}/issues/{issue}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The comment to update.
	IssueComment *IssueComment `protobuf:"bytes,2,opt,name=issue_comment,json=issueComment,proto3" json:"issue_comment,omitempty"`
	// The list of fields to update.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set to true, and the issue comment is not found, a new issue comment will be created.
	// In this situation, `update_mask` is ignored.
	AllowMissing  bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateIssueCommentRequest) Reset() {
	*x = UpdateIssueCommentRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateIssueCommentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateIssueCommentRequest) ProtoMessage() {}

func (x *UpdateIssueCommentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[20]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateIssueCommentRequest.ProtoReflect.Descriptor instead.
func (*UpdateIssueCommentRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{20}
}

func (x *UpdateIssueCommentRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *UpdateIssueCommentRequest) GetIssueComment() *IssueComment {
	if x != nil {
		return x.IssueComment
	}
	return nil
}

func (x *UpdateIssueCommentRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

func (x *UpdateIssueCommentRequest) GetAllowMissing() bool {
	if x != nil {
		return x.AllowMissing
	}
	return false
}

// A comment on an issue.
type IssueComment struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Format: projects/{project}/issues/{issue}/issueComments/{issueComment-uid}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The text content of the comment.
	Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// TODO: use struct message instead.
	Payload    string                 `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Format: users/{email}
	Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
	// The thread root's name, set only on replies. Immutable after creation.
	// Format: projects/{project}/issues/{issue}/issueComments/{issueComment}
	// Must name a thread root in the same issue, never a general comment or reply.
	Root *string `protobuf:"bytes,14,opt,name=root,proto3,oneof" json:"root,omitempty"`
	// Present only on thread roots. Set OPEN on create to start a thread; an
	// anchored root starts one without it. Omit root, thread_state, and
	// statement_anchor to create a general comment.
	// Update through the thread_state field mask to resolve or reopen.
	// Adding a reply does not reopen a resolved thread.
	ThreadState *IssueComment_ThreadState `protobuf:"varint,15,opt,name=thread_state,json=threadState,proto3,enum=bytebase.v1.IssueComment_ThreadState,oneof" json:"thread_state,omitempty"`
	// Optional source context on a root or reply. A reply's anchor must share
	// the root's spec and sheet_sha256 when created; it may narrow the range.
	// Cannot be set on events. Immutable after creation, except that a later
	// review run reporting a review result again moves the result to its
	// statement in the SQL that run reviewed.
	StatementAnchor *StatementAnchor `protobuf:"bytes,16,opt,name=statement_anchor,json=statementAnchor,proto3" json:"statement_anchor,omitempty"`
	// Present on review results, the comments the review executor posts.
	// Never accepted on create or update.
	ReviewMetadata *IssueComment_ReviewMetadata `protobuf:"bytes,17,opt,name=review_metadata,json=reviewMetadata,proto3" json:"review_metadata,omitempty"`
	// The event associated with this comment.
	//
	// Types that are valid to be assigned to Event:
	//
	//	*IssueComment_Approval_
	//	*IssueComment_IssueUpdate_
	//	*IssueComment_PlanUpdate_
	//	*IssueComment_ReviewSubmission_
	//	*IssueComment_ReviewRunCompletion_
	Event         isIssueComment_Event `protobuf_oneof:"event"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *IssueComment) Reset() {
	*x = IssueComment{}
	mi := &file_v1_issue_service_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IssueComment) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IssueComment) ProtoMessage() {}

func (x *IssueComment) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[21]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use IssueComment.ProtoReflect.Descriptor instead.
func (*IssueComment) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21}
}

func (x *IssueComment) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *IssueComment) GetComment() string {
	if x != nil {
		return x.Comment
	}
	return ""
}

func (x *IssueComment) GetPayload() string {
	if x != nil {
		return x.Payload
	}
	return ""
}

func (x *IssueComment) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *IssueComment) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

func (x *IssueComment) GetCreator() string {
	if x != nil {
		return x.Creator
	}
	return ""
}

func (x *IssueComment) GetRoot() string {
	if x != nil && x.Root != nil {
		return *x.Root
	}
	return ""
}

func (x *IssueComment) GetThreadState() IssueComment_ThreadState {
	if x != nil && x.ThreadState != nil {
		return *x.ThreadState
	}
	return IssueComment_THREAD_STATE_UNSPECIFIED
}

func (x *IssueComment) GetStatementAnchor() *StatementAnchor {
	if x != nil {
		return x.StatementAnchor
	}
	return nil
}

func (x *IssueComment) GetReviewMetadata() *IssueComment_ReviewMetadata {
	if x != nil {
		return x.ReviewMetadata
	}
	return nil
}

func (x *IssueComment) GetEvent() isIssueComment_Event {
	if x != nil {
		return x.Event
	}
	return nil
}

func (x *IssueComment) GetApproval() *IssueComment_Approval {
	if x != nil {
		if x, ok := x.Event.(*IssueComment_Approval_); ok {
			return x.Approval
		}
	}
	return nil
}

func (x *IssueComment) GetIssueUpdate() *IssueComment_IssueUpdate {
	if x != nil {
		if x, ok := x.Event.(*IssueComment_IssueUpdate_); ok {
			return x.IssueUpdate
		}
	}
	return nil
}

func (x *IssueComment) GetPlanUpdate() *IssueComment_PlanUpdate {
	if x != nil {
		if x, ok := x.Event.(*IssueComment_PlanUpdate_); ok {
			return x.PlanUpdate
		}
	}
	return nil
}

func (x *IssueComment) GetReviewSubmission() *IssueComment_ReviewSubmission {
	if x != nil {
		if x, ok := x.Event.(*IssueComment_ReviewSubmission_); ok {
			return x.ReviewSubmission
		}
	}
	return nil
}

func (x *IssueComment) GetReviewRunCompletion() *IssueComment_ReviewRunCompletion {
	if x != nil {
		if x, ok := x.Event.(*IssueComment_ReviewRunCompletion_); ok {
			return x.ReviewRunCompletion
		}
	}
	return nil
}

type isIssueComment_Event interface {
	isIssueComment_Event()
}

type IssueComment_Approval_ struct {
	// Approval event.
	Approval *IssueComment_Approval `protobuf:"bytes,7,opt,name=approval,proto3,oneof"`
}

type IssueComment_IssueUpdate_ struct {
	// Issue update event.
	IssueUpdate *IssueComment_IssueUpdate `protobuf:"bytes,8,opt,name=issue_update,json=issueUpdate,proto3,oneof"`
}

type IssueComment_PlanUpdate_ struct {
	// Plan update event.
	PlanUpdate *IssueComment_PlanUpdate `protobuf:"bytes,12,opt,name=plan_update,json=planUpdate,proto3,oneof"`
}

type IssueComment_ReviewSubmission_ struct {
	// Review submission event.
	ReviewSubmission *IssueComment_ReviewSubmission `protobuf:"bytes,13,opt,name=review_submission,json=reviewSubmission,proto3,oneof"`
}

type IssueComment_ReviewRunCompletion_ struct {
	// Review run completion event.
	ReviewRunCompletion *IssueComment_ReviewRunCompletion `protobuf:"bytes,18,opt,name=review_run_completion,json=reviewRunCompletion,proto3,oneof"`
}

func (*IssueComment_Approval_) isIssueComment_Event() {}

func (*IssueComment_IssueUpdate_) isIssueComment_Event() {}

func (*IssueComment_PlanUpdate_) isIssueComment_Event() {}

func (*IssueComment_ReviewSubmission_) isIssueComment_Event() {}

func (*IssueComment_ReviewRunCompletion_) isIssueComment_Event() {}

// The saved statement revision and range referenced by a comment.
// Source currency is derived by comparing the spec and hash with the current plan.
// Historical SQL is available through SheetService.GetSheet with this hash.
type StatementAnchor struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Plan.Spec.id in the issue's plan; may no longer resolve after deletion.
	Spec string `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	// SHA256 of the saved sheet, as 64 lowercase hexadecimal characters.
	SheetSha256 string `protobuf:"bytes,2,opt,name=sheet_sha256,json=sheetSha256,proto3" json:"sheet_sha256,omitempty"`
	// One-based lines and Unicode code-point columns. When both columns are zero,
	// the range covers whole lines, including the end line. Otherwise both columns
	// must be positive, start_position is inclusive, and end_position is exclusive.
	StartPosition *Position `protobuf:"bytes,3,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
	EndPosition   *Position `protobuf:"bytes,4,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *StatementAnchor) Reset() {
	*x = StatementAnchor{}
	mi := &file_v1_issue_service_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *StatementAnchor) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StatementAnchor) ProtoMessage() {}

func (x *StatementAnchor) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[22]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StatementAnchor.ProtoReflect.Descriptor instead.
func (*StatementAnchor) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{22}
}

func (x *StatementAnchor) GetSpec() string {
	if x != nil {
		return x.Spec
	}
	return ""
}

func (x *StatementAnchor) GetSheetSha256() string {
	if x != nil {
		return x.SheetSha256
	}
	return ""
}

func (x *StatementAnchor) GetStartPosition() *Position {
	if x != nil {
		return x.StartPosition
	}
	return nil
}

func (x *StatementAnchor) GetEndPosition() *Position {
	if x != nil {
		return x.EndPosition
	}
	return nil
}

type ReviewRun struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Format: projects/{project}/issues/{issue}/reviewRuns/{reviewRun}
	// The {reviewRun} id is the reviewer: "rule" or "ai". The name
	// addresses a slot, not an execution.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Derived from the name.
	Type   ReviewRun_Type   `protobuf:"varint,2,opt,name=type,proto3,enum=bytebase.v1.ReviewRun_Type" json:"type,omitempty"`
	Status ReviewRun_Status `protobuf:"varint,3,opt,name=status,proto3,enum=bytebase.v1.ReviewRun_Status" json:"status,omitempty"`
	// When the current run was triggered. Reset on every re-run.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// When the run reached a terminal status. Unset while AVAILABLE or
	// RUNNING.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Fatal execution error, set if and only if status is FAILED: the review
	// failed to execute (a platform problem, never the SQL — SQL problems are
	// review results on a DONE run).
	Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// Whether the plan's SQL changed after this run started, so the run
	// reviews an earlier version of it. The server starts a new run before it
	// creates the rollout automatically.
	Outdated      bool `protobuf:"varint,7,opt,name=outdated,proto3" json:"outdated,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ReviewRun) Reset() {
	*x = ReviewRun{}
	mi := &file_v1_issue_service_proto_msgTypes[23]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ReviewRun) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ReviewRun) ProtoMessage() {}

func (x *ReviewRun) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[23]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ReviewRun.ProtoReflect.Descriptor instead.
func (*ReviewRun) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{23}
}

func (x *ReviewRun) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ReviewRun) GetType() ReviewRun_Type {
	if x != nil {
		return x.Type
	}
	return ReviewRun_TYPE_UNSPECIFIED
}

func (x *ReviewRun) GetStatus() ReviewRun_Status {
	if x != nil {
		return x.Status
	}
	return ReviewRun_STATUS_UNSPECIFIED
}

func (x *ReviewRun) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *ReviewRun) GetEndTime() *timestamppb.Timestamp {
	if x != nil {
		return x.EndTime
	}
	return nil
}

func (x *ReviewRun) GetError() string {
	if x != nil {
		return x.Error
	}
	return ""
}

func (x *ReviewRun) GetOutdated() bool {
	if x != nil {
		return x.Outdated
	}
	return false
}

type GetReviewRunRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the review run to retrieve.
	// Format: projects/{project}/issues/{issue}/reviewRuns/{reviewRun}
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetReviewRunRequest) Reset() {
	*x = GetReviewRunRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[24]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetReviewRunRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetReviewRunRequest) ProtoMessage() {}

func (x *GetReviewRunRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[24]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetReviewRunRequest.ProtoReflect.Descriptor instead.
func (*GetReviewRunRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{24}
}

func (x *GetReviewRunRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

type RunReviewRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Format: projects/{project}/issues/{issue}/reviewRuns/{reviewRun}
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RunReviewRequest) Reset() {
	*x = RunReviewRequest{}
	mi := &file_v1_issue_service_proto_msgTypes[25]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RunReviewRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RunReviewRequest) ProtoMessage() {}

func (x *RunReviewRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[25]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RunReviewRequest.ProtoReflect.Descriptor instead.
func (*RunReviewRequest) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{25}
}

func (x *RunReviewRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// Approvers and their approval status for the issue.
type Issue_Approver struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The new status.
	Status Issue_Approver_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.v1.Issue_Approver_Status" json:"status,omitempty"`
	// Format: users/[email protected]
	Principal     string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Issue_Approver) Reset() {
	*x = Issue_Approver{}
	mi := &file_v1_issue_service_proto_msgTypes[26]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Issue_Approver) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Issue_Approver) ProtoMessage() {}

func (x *Issue_Approver) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[26]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Issue_Approver.ProtoReflect.Descriptor instead.
func (*Issue_Approver) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{13, 0}
}

func (x *Issue_Approver) GetStatus() Issue_Approver_Status {
	if x != nil {
		return x.Status
	}
	return Issue_Approver_STATUS_UNSPECIFIED
}

func (x *Issue_Approver) GetPrincipal() string {
	if x != nil {
		return x.Principal
	}
	return ""
}

// What a review result carries beyond its text.
type IssueComment_ReviewMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The reviewer that posted the result.
	RunType ReviewRun_Type `protobuf:"varint,1,opt,name=run_type,json=runType,proto3,enum=bytebase.v1.ReviewRun_Type" json:"run_type,omitempty"`
	// The rule judged against. Set if and only if run_type is RULE.
	RuleType ReviewRuleType                       `protobuf:"varint,2,opt,name=rule_type,json=ruleType,proto3,enum=bytebase.v1.ReviewRuleType" json:"rule_type,omitempty"`
	Priority IssueComment_ReviewMetadata_Priority `protobuf:"varint,3,opt,name=priority,proto3,enum=bytebase.v1.IssueComment_ReviewMetadata_Priority" json:"priority,omitempty"`
	// Every database the result applies to, sorted.
	// Format: instances/{instance}/databases/{database}
	Targets []string `protobuf:"bytes,4,rep,name=targets,proto3" json:"targets,omitempty"`
	// A later run of the same reviewer has completed without reporting the
	// result again, whatever its thread state.
	Superseded bool `protobuf:"varint,5,opt,name=superseded,proto3" json:"superseded,omitempty"`
	// The ReviewRunCompletion.attempt of the run that posted the result. A
	// result a later run reports again keeps its thread and its attempt.
	Attempt int64 `protobuf:"varint,6,opt,name=attempt,proto3" json:"attempt,omitempty"`
	// The conditions a RULE result reports, as finding codes such as
	// "WT101", one per reason. A code names the same condition on every
	// engine. Empty for other reviewers.
	Codes         []string `protobuf:"bytes,7,rep,name=codes,proto3" json:"codes,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *IssueComment_ReviewMetadata) Reset() {
	*x = IssueComment_ReviewMetadata{}
	mi := &file_v1_issue_service_proto_msgTypes[27]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IssueComment_ReviewMetadata) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IssueComment_ReviewMetadata) ProtoMessage() {}

func (x *IssueComment_ReviewMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[27]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use IssueComment_ReviewMetadata.ProtoReflect.Descriptor instead.
func (*IssueComment_ReviewMetadata) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 0}
}

func (x *IssueComment_ReviewMetadata) GetRunType() ReviewRun_Type {
	if x != nil {
		return x.RunType
	}
	return ReviewRun_TYPE_UNSPECIFIED
}

func (x *IssueComment_ReviewMetadata) GetRuleType() ReviewRuleType {
	if x != nil {
		return x.RuleType
	}
	return ReviewRuleType_REVIEW_RULE_TYPE_UNSPECIFIED
}

func (x *IssueComment_ReviewMetadata) GetPriority() IssueComment_ReviewMetadata_Priority {
	if x != nil {
		return x.Priority
	}
	return IssueComment_ReviewMetadata_PRIORITY_UNSPECIFIED
}

func (x *IssueComment_ReviewMetadata) GetTargets() []string {
	if x != nil {
		return x.Targets
	}
	return nil
}

func (x *IssueComment_ReviewMetadata) GetSuperseded() bool {
	if x != nil {
		return x.Superseded
	}
	return false
}

func (x *IssueComment_ReviewMetadata) GetAttempt() int64 {
	if x != nil {
		return x.Attempt
	}
	return 0
}

func (x *IssueComment_ReviewMetadata) GetCodes() []string {
	if x != nil {
		return x.Codes
	}
	return nil
}

// Approval event information.
type IssueComment_Approval struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The approval status.
	Status        IssueComment_Approval_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.v1.IssueComment_Approval_Status" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *IssueComment_Approval) Reset() {
	*x = IssueComment_Approval{}
	mi := &file_v1_issue_service_proto_msgTypes[28]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IssueComment_Approval) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IssueComment_Approval) ProtoMessage() {}

func (x *IssueComment_Approval) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[28]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use IssueComment_Approval.ProtoReflect.Descriptor instead.
func (*IssueComment_Approval) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 1}
}

func (x *IssueComment_Approval) GetStatus() IssueComment_Approval_Status {
	if x != nil {
		return x.Status
	}
	return IssueComment_Approval_STATUS_UNSPECIFIED
}

// Issue update event information.
type IssueComment_IssueUpdate struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	FromTitle       *string                `protobuf:"bytes,1,opt,name=from_title,json=fromTitle,proto3,oneof" json:"from_title,omitempty"`
	ToTitle         *string                `protobuf:"bytes,2,opt,name=to_title,json=toTitle,proto3,oneof" json:"to_title,omitempty"`
	FromDescription *string                `protobuf:"bytes,3,opt,name=from_description,json=fromDescription,proto3,oneof" json:"from_description,omitempty"`
	ToDescription   *string                `protobuf:"bytes,4,opt,name=to_description,json=toDescription,proto3,oneof" json:"to_description,omitempty"`
	FromStatus      *IssueStatus           `protobuf:"varint,5,opt,name=from_status,json=fromStatus,proto3,enum=bytebase.v1.IssueStatus,oneof" json:"from_status,omitempty"`
	ToStatus        *IssueStatus           `protobuf:"varint,6,opt,name=to_status,json=toStatus,proto3,enum=bytebase.v1.IssueStatus,oneof" json:"to_status,omitempty"`
	FromLabels      []string               `protobuf:"bytes,7,rep,name=from_labels,json=fromLabels,proto3" json:"from_labels,omitempty"`
	ToLabels        []string               `protobuf:"bytes,8,rep,name=to_labels,json=toLabels,proto3" json:"to_labels,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *IssueComment_IssueUpdate) Reset() {
	*x = IssueComment_IssueUpdate{}
	mi := &file_v1_issue_service_proto_msgTypes[29]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IssueComment_IssueUpdate) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IssueComment_IssueUpdate) ProtoMessage() {}

func (x *IssueComment_IssueUpdate) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[29]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use IssueComment_IssueUpdate.ProtoReflect.Descriptor instead.
func (*IssueComment_IssueUpdate) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 2}
}

func (x *IssueComment_IssueUpdate) GetFromTitle() string {
	if x != nil && x.FromTitle != nil {
		return *x.FromTitle
	}
	return ""
}

func (x *IssueComment_IssueUpdate) GetToTitle() string {
	if x != nil && x.ToTitle != nil {
		return *x.ToTitle
	}
	return ""
}

func (x *IssueComment_IssueUpdate) GetFromDescription() string {
	if x != nil && x.FromDescription != nil {
		return *x.FromDescription
	}
	return ""
}

func (x *IssueComment_IssueUpdate) GetToDescription() string {
	if x != nil && x.ToDescription != nil {
		return *x.ToDescription
	}
	return ""
}

func (x *IssueComment_IssueUpdate) GetFromStatus() IssueStatus {
	if x != nil && x.FromStatus != nil {
		return *x.FromStatus
	}
	return IssueStatus_ISSUE_STATUS_UNSPECIFIED
}

func (x *IssueComment_IssueUpdate) GetToStatus() IssueStatus {
	if x != nil && x.ToStatus != nil {
		return *x.ToStatus
	}
	return IssueStatus_ISSUE_STATUS_UNSPECIFIED
}

func (x *IssueComment_IssueUpdate) GetFromLabels() []string {
	if x != nil {
		return x.FromLabels
	}
	return nil
}

func (x *IssueComment_IssueUpdate) GetToLabels() []string {
	if x != nil {
		return x.ToLabels
	}
	return nil
}

// Review submission event information.
type IssueComment_ReviewSubmission struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *IssueComment_ReviewSubmission) Reset() {
	*x = IssueComment_ReviewSubmission{}
	mi := &file_v1_issue_service_proto_msgTypes[30]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IssueComment_ReviewSubmission) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IssueComment_ReviewSubmission) ProtoMessage() {}

func (x *IssueComment_ReviewSubmission) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[30]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use IssueComment_ReviewSubmission.ProtoReflect.Descriptor instead.
func (*IssueComment_ReviewSubmission) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 3}
}

// A review run completed, and what it did to the results of its reviewer.
// Posted by the reviewer, with no creator.
type IssueComment_ReviewRunCompletion struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The reviewer that ran.
	RunType ReviewRun_Type `protobuf:"varint,1,opt,name=run_type,json=runType,proto3,enum=bytebase.v1.ReviewRun_Type" json:"run_type,omitempty"`
	// Identifies the run among its reviewer's runs on the issue. The results
	// it posted carry the same ReviewMetadata.attempt.
	Attempt int64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"`
	// Results the run posted as new threads.
	PostedCount int32 `protobuf:"varint,3,opt,name=posted_count,json=postedCount,proto3" json:"posted_count,omitempty"`
	// Earlier results the run reported again, which kept their threads.
	KeptCount int32 `protobuf:"varint,4,opt,name=kept_count,json=keptCount,proto3" json:"kept_count,omitempty"`
	// Earlier results the run no longer reports, now superseded.
	SupersededCount int32 `protobuf:"varint,5,opt,name=superseded_count,json=supersededCount,proto3" json:"superseded_count,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *IssueComment_ReviewRunCompletion) Reset() {
	*x = IssueComment_ReviewRunCompletion{}
	mi := &file_v1_issue_service_proto_msgTypes[31]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IssueComment_ReviewRunCompletion) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IssueComment_ReviewRunCompletion) ProtoMessage() {}

func (x *IssueComment_ReviewRunCompletion) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[31]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use IssueComment_ReviewRunCompletion.ProtoReflect.Descriptor instead.
func (*IssueComment_ReviewRunCompletion) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 4}
}

func (x *IssueComment_ReviewRunCompletion) GetRunType() ReviewRun_Type {
	if x != nil {
		return x.RunType
	}
	return ReviewRun_TYPE_UNSPECIFIED
}

func (x *IssueComment_ReviewRunCompletion) GetAttempt() int64 {
	if x != nil {
		return x.Attempt
	}
	return 0
}

func (x *IssueComment_ReviewRunCompletion) GetPostedCount() int32 {
	if x != nil {
		return x.PostedCount
	}
	return 0
}

func (x *IssueComment_ReviewRunCompletion) GetKeptCount() int32 {
	if x != nil {
		return x.KeptCount
	}
	return 0
}

func (x *IssueComment_ReviewRunCompletion) GetSupersededCount() int32 {
	if x != nil {
		return x.SupersededCount
	}
	return 0
}

// Plan update event information (snapshot of plan.config.specs before
// and after a PlanService.UpdatePlan call that mutated specs).
type IssueComment_PlanUpdate struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	FromSpecs     []*Plan_Spec           `protobuf:"bytes,1,rep,name=from_specs,json=fromSpecs,proto3" json:"from_specs,omitempty"`
	ToSpecs       []*Plan_Spec           `protobuf:"bytes,2,rep,name=to_specs,json=toSpecs,proto3" json:"to_specs,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *IssueComment_PlanUpdate) Reset() {
	*x = IssueComment_PlanUpdate{}
	mi := &file_v1_issue_service_proto_msgTypes[32]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IssueComment_PlanUpdate) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IssueComment_PlanUpdate) ProtoMessage() {}

func (x *IssueComment_PlanUpdate) ProtoReflect() protoreflect.Message {
	mi := &file_v1_issue_service_proto_msgTypes[32]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use IssueComment_PlanUpdate.ProtoReflect.Descriptor instead.
func (*IssueComment_PlanUpdate) Descriptor() ([]byte, []int) {
	return file_v1_issue_service_proto_rawDescGZIP(), []int{21, 5}
}

func (x *IssueComment_PlanUpdate) GetFromSpecs() []*Plan_Spec {
	if x != nil {
		return x.FromSpecs
	}
	return nil
}

func (x *IssueComment_PlanUpdate) GetToSpecs() []*Plan_Spec {
	if x != nil {
		return x.ToSpecs
	}
	return nil
}

var File_v1_issue_service_proto protoreflect.FileDescriptor

const file_v1_issue_service_proto_rawDesc = "" +
	"\n" +
	"\x16v1/issue_service.proto\x12\vbytebase.v1\x1a\x1bbuf/validate/validate.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/expr.proto\x1a\x13v1/annotation.proto\x1a\x0fv1/common.proto\x1a\x15v1/plan_service.proto\x1a\x14v1/review_rule.proto\"W\n" +
	"\x0fGetIssueRequest\x12.\n" +
	"\x04name\x18\x01 \x01(\tB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x04name\x12\x14\n" +
	"\x05force\x18\x02 \x01(\bR\x05force\"y\n" +
	"\x12CreateIssueRequest\x124\n" +
	"\x06parent\x18\x01 \x01(\tB\x1c\xe0A\x02\xfaA\x16\n" +
	"\x14bytebase.com/ProjectR\x06parent\x12-\n" +
	"\x05issue\x18\x02 \x01(\v2\x12.bytebase.v1.IssueB\x03\xe0A\x02R\x05issue\"\xce\x01\n" +
	"\x11ListIssuesRequest\x124\n" +
	"\x06parent\x18\x01 \x01(\tB\x1c\xe0A\x02\xfaA\x16\n" +
	"\x14bytebase.com/ProjectR\x06parent\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\x12\x16\n" +
	"\x06filter\x18\x04 \x01(\tR\x06filter\x12\x14\n" +
	"\x05query\x18\x05 \x01(\tR\x05query\x12\x19\n" +
	"\border_by\x18\x06 \x01(\tR\aorderBy\"h\n" +
	"\x12ListIssuesResponse\x12*\n" +
	"\x06issues\x18\x01 \x03(\v2\x12.bytebase.v1.IssueR\x06issues\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xb7\x01\n" +
	"\x13SearchIssuesRequest\x12\x1b\n" +
	"\x06parent\x18\x01 \x01(\tB\x03\xe0A\x02R\x06parent\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\x12\x16\n" +
	"\x06filter\x18\x04 \x01(\tR\x06filter\x12\x14\n" +
	"\x05query\x18\x05 \x01(\tR\x05query\x12\x19\n" +
	"\border_by\x18\x06 \x01(\tR\aorderBy\"j\n" +
	"\x14SearchIssuesResponse\x12*\n" +
	"\x06issues\x18\x01 \x03(\v2\x12.bytebase.v1.IssueR\x06issues\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xc1\x01\n" +
	"\x12UpdateIssueRequest\x12D\n" +
	"\x05issue\x18\x01 \x01(\v2\x12.bytebase.v1.IssueB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x05issue\x12@\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x02R\n" +
	"updateMask\x12#\n" +
	"\rallow_missing\x18\x03 \x01(\bR\fallowMissing\"\xb8\x01\n" +
	"\x1eBatchUpdateIssuesStatusRequest\x124\n" +
	"\x06parent\x18\x01 \x01(\tB\x1c\xe0A\x02\xfaA\x16\n" +
	"\x14bytebase.com/ProjectR\x06parent\x12\x16\n" +
	"\x06issues\x18\x02 \x03(\tR\x06issues\x120\n" +
	"\x06status\x18\x03 \x01(\x0e2\x18.bytebase.v1.IssueStatusR\x06status\x12\x16\n" +
	"\x06reason\x18\x04 \x01(\tR\x06reason\"!\n" +
	"\x1fBatchUpdateIssuesStatusResponse\"_\n" +
	"\x13ApproveIssueRequest\x12.\n" +
	"\x04name\x18\x01 \x01(\tB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x04name\x12\x18\n" +
	"\acomment\x18\x02 \x01(\tR\acomment\"^\n" +
	"\x12RejectIssueRequest\x12.\n" +
	"\x04name\x18\x01 \x01(\tB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x04name\x12\x18\n" +
	"\acomment\x18\x02 \x01(\tR\acomment\"_\n" +
	"\x13RequestIssueRequest\x12.\n" +
	"\x04name\x18\x01 \x01(\tB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x04name\x12\x18\n" +
	"\acomment\x18\x02 \x01(\tR\acomment\"K\n" +
	"\x19RetryIssueApprovalRequest\x12.\n" +
	"\x04name\x18\x01 \x01(\tB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x04name\"\x90\t\n" +
	"\x05Issue\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x1e\n" +
	"\x05title\x18\x02 \x01(\tB\b\xbaH\x05r\x03\x18\xc8\x01R\x05title\x12*\n" +
	"\vdescription\x18\x03 \x01(\tB\b\xbaH\x05r\x03\x18\x90NR\vdescription\x12+\n" +
	"\x04type\x18\x04 \x01(\x0e2\x17.bytebase.v1.Issue.TypeR\x04type\x120\n" +
	"\x06status\x18\x05 \x01(\x0e2\x18.bytebase.v1.IssueStatusR\x06status\x129\n" +
	"\tapprovers\x18\x06 \x03(\v2\x1b.bytebase.v1.Issue.ApproverR\tapprovers\x12J\n" +
	"\x11approval_template\x18\a \x01(\v2\x1d.bytebase.v1.ApprovalTemplateR\x10approvalTemplate\x12\x1d\n" +
	"\acreator\x18\b \x01(\tB\x03\xe0A\x03R\acreator\x12@\n" +
	"\vcreate_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12@\n" +
	"\vupdate_time\x18\n" +
	" \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12\x12\n" +
	"\x04plan\x18\v \x01(\tR\x04plan\x125\n" +
	"\n" +
	"role_grant\x18\r \x01(\v2\x16.bytebase.v1.RoleGrantR\troleGrant\x125\n" +
	"\n" +
	"risk_level\x18\x0f \x01(\x0e2\x16.bytebase.v1.RiskLevelR\triskLevel\x12\x16\n" +
	"\x06labels\x18\x11 \x03(\tR\x06labels\x12I\n" +
	"\x0fapproval_status\x18\x12 \x01(\x0e2\x1b.bytebase.v1.ApprovalStatusB\x03\xe0A\x03R\x0eapprovalStatus\x12C\n" +
	"\faccess_grant\x18\x13 \x01(\tB \xe0A\x03\xfaA\x1a\n" +
	"\x18bytebase.com/AccessGrantR\vaccessGrant\x12\x19\n" +
	"\x05draft\x18\x14 \x01(\bB\x03\xe0A\x01R\x05draft\x1a\xaf\x01\n" +
	"\bApprover\x12:\n" +
	"\x06status\x18\x01 \x01(\x0e2\".bytebase.v1.Issue.Approver.StatusR\x06status\x12\x1c\n" +
	"\tprincipal\x18\x02 \x01(\tR\tprincipal\"I\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aPENDING\x10\x01\x12\f\n" +
	"\bAPPROVED\x10\x02\x12\f\n" +
	"\bREJECTED\x10\x03\"Y\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fDATABASE_CHANGE\x10\x01\x12\x0e\n" +
	"\n" +
	"ROLE_GRANT\x10\x02\x12\x10\n" +
	"\fACCESS_GRANT\x10\x04\"\x04\b\x03\x10\x03::\xeaA7\n" +
	"\x12bytebase.com/Issue\x12!projects/{project}/issues/{issue}J\x04\b\f\x10\rJ\x04\b\x0e\x10\x0fJ\x04\b\x10\x10\x11\"\x9f\x01\n" +
	"\tRoleGrant\x12\x12\n" +
	"\x04role\x18\x01 \x01(\tR\x04role\x12\x12\n" +
	"\x04user\x18\x02 \x01(\tR\x04user\x12/\n" +
	"\tcondition\x18\x03 \x01(\v2\x11.google.type.ExprR\tcondition\x129\n" +
	"\n" +
	"expiration\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\n" +
	"expiration\"y\n" +
	"\x10ApprovalTemplate\x12-\n" +
	"\x04flow\x18\x01 \x01(\v2\x19.bytebase.v1.ApprovalFlowR\x04flow\x12\x14\n" +
	"\x05title\x18\x02 \x01(\tR\x05title\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\"$\n" +
	"\fApprovalFlow\x12\x14\n" +
	"\x05roles\x18\x01 \x03(\tR\x05roles\"\xa2\x01\n" +
	"\x18ListIssueCommentsRequest\x122\n" +
	"\x06parent\x18\x01 \x01(\tB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x06parent\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\x12\x16\n" +
	"\x06filter\x18\x04 \x01(\tR\x06filter\"\x85\x01\n" +
	"\x19ListIssueCommentsResponse\x12@\n" +
	"\x0eissue_comments\x18\x01 \x03(\v2\x19.bytebase.v1.IssueCommentR\rissueComments\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\x8f\x01\n" +
	"\x19CreateIssueCommentRequest\x122\n" +
	"\x06parent\x18\x01 \x01(\tB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x06parent\x12>\n" +
	"\rissue_comment\x18\x02 \x01(\v2\x19.bytebase.v1.IssueCommentR\fissueComment\"\xf6\x01\n" +
	"\x19UpdateIssueCommentRequest\x122\n" +
	"\x06parent\x18\x01 \x01(\tB\x1a\xe0A\x02\xfaA\x14\n" +
	"\x12bytebase.com/IssueR\x06parent\x12>\n" +
	"\rissue_comment\x18\x02 \x01(\v2\x19.bytebase.v1.IssueCommentR\fissueComment\x12@\n" +
	"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x02R\n" +
	"updateMask\x12#\n" +
	"\rallow_missing\x18\x04 \x01(\bR\fallowMissing\"\xe2\x12\n" +
	"\fIssueComment\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12#\n" +
	"\acomment\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x18\x80\x80\x04R\acomment\x12\x18\n" +
	"\apayload\x18\x03 \x01(\tR\apayload\x12@\n" +
	"\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12@\n" +
	"\vupdate_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12\x1d\n" +
	"\acreator\x18\x06 \x01(\tB\x03\xe0A\x03R\acreator\x12\x1c\n" +
	"\x04root\x18\x0e \x01(\tB\x03\xe0A\x05H\x01R\x04root\x88\x01\x01\x12M\n" +
	"\fthread_state\x18\x0f \x01(\x0e2%.bytebase.v1.IssueComment.ThreadStateH\x02R\vthreadState\x88\x01\x01\x12L\n" +
	"\x10statement_anchor\x18\x10 \x01(\v2\x1c.bytebase.v1.StatementAnchorB\x03\xe0A\x05R\x0fstatementAnchor\x12V\n" +
	"\x0freview_metadata\x18\x11 \x01(\v2(.bytebase.v1.IssueComment.ReviewMetadataB\x03\xe0A\x03R\x0ereviewMetadata\x12@\n" +
	"\bapproval\x18\a \x01(\v2\".bytebase.v1.IssueComment.ApprovalH\x00R\bapproval\x12J\n" +
	"\fissue_update\x18\b \x01(\v2%.bytebase.v1.IssueComment.IssueUpdateH\x00R\vissueUpdate\x12G\n" +
	"\vplan_update\x18\f \x01(\v2$.bytebase.v1.IssueComment.PlanUpdateH\x00R\n" +
	"planUpdate\x12Y\n" +
	"\x11review_submission\x18\r \x01(\v2*.bytebase.v1.IssueComment.ReviewSubmissionH\x00R\x10reviewSubmission\x12c\n" +
	"\x15review_run_completion\x18\x12 \x01(\v2-.bytebase.v1.IssueComment.ReviewRunCompletionH\x00R\x13reviewRunCompletion\x1a\xf9\x02\n" +
	"\x0eReviewMetadata\x126\n" +
	"\brun_type\x18\x01 \x01(\x0e2\x1b.bytebase.v1.ReviewRun.TypeR\arunType\x128\n" +
	"\trule_type\x18\x02 \x01(\x0e2\x1b.bytebase.v1.ReviewRuleTypeR\bruleType\x12M\n" +
	"\bpriority\x18\x03 \x01(\x0e21.bytebase.v1.IssueComment.ReviewMetadata.PriorityR\bpriority\x12\x18\n" +
	"\atargets\x18\x04 \x03(\tR\atargets\x12\x1e\n" +
	"\n" +
	"superseded\x18\x05 \x01(\bR\n" +
	"superseded\x12\x18\n" +
	"\aattempt\x18\x06 \x01(\x03R\aattempt\x12\x14\n" +
	"\x05codes\x18\a \x03(\tR\x05codes\"<\n" +
	"\bPriority\x12\x18\n" +
	"\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x06\n" +
	"\x02P0\x10\x01\x12\x06\n" +
	"\x02P1\x10\x02\x12\x06\n" +
	"\x02P2\x10\x03\x1a\x98\x01\n" +
	"\bApproval\x12A\n" +
	"\x06status\x18\x01 \x01(\x0e2).bytebase.v1.IssueComment.Approval.StatusR\x06status\"I\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aPENDING\x10\x01\x12\f\n" +
	"\bAPPROVED\x10\x02\x12\f\n" +
	"\bREJECTED\x10\x03\x1a\xc9\x03\n" +
	"\vIssueUpdate\x12\"\n" +
	"\n" +
	"from_title\x18\x01 \x01(\tH\x00R\tfromTitle\x88\x01\x01\x12\x1e\n" +
	"\bto_title\x18\x02 \x01(\tH\x01R\atoTitle\x88\x01\x01\x12.\n" +
	"\x10from_description\x18\x03 \x01(\tH\x02R\x0ffromDescription\x88\x01\x01\x12*\n" +
	"\x0eto_description\x18\x04 \x01(\tH\x03R\rtoDescription\x88\x01\x01\x12>\n" +
	"\vfrom_status\x18\x05 \x01(\x0e2\x18.bytebase.v1.IssueStatusH\x04R\n" +
	"fromStatus\x88\x01\x01\x12:\n" +
	"\tto_status\x18\x06 \x01(\x0e2\x18.bytebase.v1.IssueStatusH\x05R\btoStatus\x88\x01\x01\x12\x1f\n" +
	"\vfrom_labels\x18\a \x03(\tR\n" +
	"fromLabels\x12\x1b\n" +
	"\tto_labels\x18\b \x03(\tR\btoLabelsB\r\n" +
	"\v_from_titleB\v\n" +
	"\t_to_titleB\x13\n" +
	"\x11_from_descriptionB\x11\n" +
	"\x0f_to_descriptionB\x0e\n" +
	"\f_from_statusB\f\n" +
	"\n" +
	"_to_status\x1a\x12\n" +
	"\x10ReviewSubmission\x1a\xd4\x01\n" +
	"\x13ReviewRunCompletion\x126\n" +
	"\brun_type\x18\x01 \x01(\x0e2\x1b.bytebase.v1.ReviewRun.TypeR\arunType\x12\x18\n" +
	"\aattempt\x18\x02 \x01(\x03R\aattempt\x12!\n" +
	"\fposted_count\x18\x03 \x01(\x05R\vpostedCount\x12\x1d\n" +
	"\n" +
	"kept_count\x18\x04 \x01(\x05R\tkeptCount\x12)\n" +
	"\x10superseded_count\x18\x05 \x01(\x05R\x0fsupersededCount\x1av\n" +
	"\n" +
	"PlanUpdate\x125\n" +
	"\n" +
	"from_specs\x18\x01 \x03(\v2\x16.bytebase.v1.Plan.SpecR\tfromSpecs\x121\n" +
	"\bto_specs\x18\x02 \x03(\v2\x16.bytebase.v1.Plan.SpecR\atoSpecs\"C\n" +
	"\vThreadState\x12\x1c\n" +
	"\x18THREAD_STATE_UNSPECIFIED\x10\x00\x12\b\n" +
	"\x04OPEN\x10\x01\x12\f\n" +
	"\bRESOLVED\x10\x02B\a\n" +
	"\x05eventB\a\n" +
	"\x05_rootB\x0f\n" +
	"\r_thread_stateJ\x04\b\t\x10\f\"\xc0\x01\n" +
	"\x0fStatementAnchor\x12\x12\n" +
	"\x04spec\x18\x01 \x01(\tR\x04spec\x12!\n" +
	"\fsheet_sha256\x18\x02 \x01(\tR\vsheetSha256\x12<\n" +
	"\x0estart_position\x18\x03 \x01(\v2\x15.bytebase.v1.PositionR\rstartPosition\x128\n" +
	"\fend_position\x18\x04 \x01(\v2\x15.bytebase.v1.PositionR\vendPosition\"\xa6\x04\n" +
	"\tReviewRun\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x124\n" +
	"\x04type\x18\x02 \x01(\x0e2\x1b.bytebase.v1.ReviewRun.TypeB\x03\xe0A\x03R\x04type\x12:\n" +
	"\x06status\x18\x03 \x01(\x0e2\x1d.bytebase.v1.ReviewRun.StatusB\x03\xe0A\x03R\x06status\x12@\n" +
	"\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12:\n" +
	"\bend_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\aendTime\x12\x19\n" +
	"\x05error\x18\x06 \x01(\tB\x03\xe0A\x03R\x05error\x12\x1f\n" +
	"\boutdated\x18\a \x01(\bB\x03\xe0A\x03R\boutdated\".\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\b\n" +
	"\x04RULE\x10\x01\x12\x06\n" +
	"\x02AI\x10\x02\"R\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\r\n" +
	"\tAVAILABLE\x10\x01\x12\v\n" +
	"\aRUNNING\x10\x02\x12\b\n" +
	"\x04DONE\x10\x03\x12\n" +
	"\n" +
	"\x06FAILED\x10\x04:U\xeaAR\n" +
	"\x16bytebase.com/ReviewRun\x128projects/{project}/issues/{issue}/reviewRuns/{reviewRun}\"I\n" +
	"\x13GetReviewRunRequest\x122\n" +
	"\x04name\x18\x01 \x01(\tB\x1e\xe0A\x02\xfaA\x18\n" +
	"\x16bytebase.com/ReviewRunR\x04name\"F\n" +
	"\x10RunReviewRequest\x122\n" +
	"\x04name\x18\x01 \x01(\tB\x1e\xe0A\x02\xfaA\x18\n" +
	"\x16bytebase.com/ReviewRunR\x04name2\xf4\x13\n" +
	"\fIssueService\x12\x84\x01\n" +
	"\bGetIssue\x12\x1c.bytebase.v1.GetIssueRequest\x1a\x12.bytebase.v1.Issue\"F\xdaA\x04name\x8a\xea0\rbb.issues.get\x90\xea0\x01\xa0\xea0\x01\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=projects/*/issues/*}\x12\xa0\x01\n" +
	"\vCreateIssue\x12\x1f.bytebase.v1.CreateIssueRequest\x1a\x12.bytebase.v1.Issue\"\\\xdaA\fparent,issue\x8a\xea0\x10bb.issues.create\x90\xea0\x01\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x02':\x05issue\"\x1e/v1/{parent=projects/*}/issues\x12\x98\x01\n" +
	"\n" +
	"ListIssues\x12\x1e.bytebase.v1.ListIssuesRequest\x1a\x1f.bytebase.v1.ListIssuesResponse\"I\xdaA\x06parent\x8a\xea0\x0ebb.issues.list\x90\xea0\x01\xa0\xea0\x01\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=projects/*}/issues\x12\x9e\x01\n" +
	"\fSearchIssues\x12 .bytebase.v1.SearchIssuesRequest\x1a!.bytebase.v1.SearchIssuesResponse\"I\x8a\xea0\rbb.issues.get\x90\xea0\x02\xa0\xea0\x01\x82\xd3\xe4\x93\x02*:\x01*\"%/v1/{parent=projects/*}/issues:search\x12\xab\x01\n" +
	"\vUpdateIssue\x12\x1f.bytebase.v1.UpdateIssueRequest\x1a\x12.bytebase.v1.Issue\"g\xdaA\x11issue,update_mask\x8a\xea0\x10bb.issues.update\x90\xea0\x01\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x02-:\x05issue2$/v1/{issue.name=projects/*/issues/*}\x12\xc4\x01\n" +
	"\x11ListIssueComments\x12%.bytebase.v1.ListIssueCommentsRequest\x1a&.bytebase.v1.ListIssueCommentsResponse\"`\xdaA\x06parent\x8a\xea0\x15bb.issueComments.list\x90\xea0\x01\xa0\xea0\x01\x82\xd3\xe4\x93\x020\x12./v1/{parent=projects/*/issues/*}/issueComments\x12\xd6\x01\n" +
	"\x12CreateIssueComment\x12&.bytebase.v1.CreateIssueCommentRequest\x1a\x19.bytebase.v1.IssueComment\"}\xdaA\x14parent,issue_comment\x8a\xea0\x17bb.issueComments.create\x90\xea0\x01\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x029:\rissue_comment\"(/v1/{parent=projects/*/issues/*}:comment\x12\xe3\x01\n" +
	"\x12UpdateIssueComment\x12&.bytebase.v1.UpdateIssueCommentRequest\x1a\x19.bytebase.v1.IssueComment\"\x89\x01\xdaA parent,issue_comment,update_mask\x8a\xea0\x17bb.issueComments.update\x90\xea0\x01\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x029:\rissue_comment2(/v1/{parent=projects/*/issues/*}:comment\x12\xd1\x01\n" +
	"\x17BatchUpdateIssuesStatus\x12+.bytebase.v1.BatchUpdateIssuesStatusRequest\x1a,.bytebase.v1.BatchUpdateIssuesStatusResponse\"[\x8a\xea0\x10bb.issues.update\x90\xea0\x01\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x025:\x01*\"0/v1/{parent=projects/*}/issues:batchUpdateStatus\x12\x83\x01\n" +
	"\fApproveIssue\x12 .bytebase.v1.ApproveIssueRequest\x1a\x12.bytebase.v1.Issue\"=\x90\xea0\x02\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x02+:\x01*\"&/v1/{name=projects/*/issues/*}:approve\x12\x80\x01\n" +
	"\vRejectIssue\x12\x1f.bytebase.v1.RejectIssueRequest\x1a\x12.bytebase.v1.Issue\"<\x90\xea0\x02\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x02*:\x01*\"%/v1/{name=projects/*/issues/*}:reject\x12\x83\x01\n" +
	"\fRequestIssue\x12 .bytebase.v1.RequestIssueRequest\x1a\x12.bytebase.v1.Issue\"=\x90\xea0\x02\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x02+:\x01*\"&/v1/{name=projects/*/issues/*}:request\x12\x99\x01\n" +
	"\x12RetryIssueApproval\x12&.bytebase.v1.RetryIssueApprovalRequest\x1a\x12.bytebase.v1.Issue\"G\x90\xea0\x02\x98\xea0\x01\xa0\xea0\x03\xa8\xea0\b\x82\xd3\xe4\x93\x021:\x01*\",/v1/{name=projects/*/issues/*}:retryApproval\x12\xa1\x01\n" +
	"\fGetReviewRun\x12 .bytebase.v1.GetReviewRunRequest\x1a\x16.bytebase.v1.ReviewRun\"W\xdaA\x04name\x8a\xea0\x11bb.reviewRuns.get\x90\xea0\x01\xa0\xea0\x01\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/issues/*/reviewRuns/*}\x12\xa6\x01\n" +
	"\tRunReview\x12\x1d.bytebase.v1.RunReviewRequest\x1a\x16.bytebase.v1.ReviewRun\"b\xdaA\x04name\x8a\xea0\x11bb.reviewRuns.run\x90\xea0\x01\x98\xea0\x01\xa0\xea0\x02\x82\xd3\xe4\x93\x024:\x01*\"//v1/{name=projects/*/issues/*/reviewRuns/*}:runB\xa7\x01\n" +
	"\x0fcom.bytebase.v1B\x11IssueServiceProtoP\x01Z4github.com/bytebase/bytebase/backend/generated-go/v1\xa2\x02\x03BXX\xaa\x02\vBytebase.V1\xca\x02\vBytebase\\V1\xe2\x02\x17Bytebase\\V1\\GPBMetadata\xea\x02\fBytebase::V1b\x06proto3"

var (
	file_v1_issue_service_proto_rawDescOnce sync.Once
	file_v1_issue_service_proto_rawDescData []byte
)

func file_v1_issue_service_proto_rawDescGZIP() []byte {
	file_v1_issue_service_proto_rawDescOnce.Do(func() {
		file_v1_issue_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_v1_issue_service_proto_rawDesc), len(file_v1_issue_service_proto_rawDesc)))
	})
	return file_v1_issue_service_proto_rawDescData
}

var file_v1_issue_service_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
var file_v1_issue_service_proto_msgTypes = make([]protoimpl.MessageInfo, 33)
var file_v1_issue_service_proto_goTypes = []any{
	(Issue_Type)(0),                           // 0: bytebase.v1.Issue.Type
	(Issue_Approver_Status)(0),                // 1: bytebase.v1.Issue.Approver.Status
	(IssueComment_ThreadState)(0),             // 2: bytebase.v1.IssueComment.ThreadState
	(IssueComment_ReviewMetadata_Priority)(0), // 3: bytebase.v1.IssueComment.ReviewMetadata.Priority
	(IssueComment_Approval_Status)(0),         // 4: bytebase.v1.IssueComment.Approval.Status
	(ReviewRun_Type)(0),                       // 5: bytebase.v1.ReviewRun.Type
	(ReviewRun_Status)(0),                     // 6: bytebase.v1.ReviewRun.Status
	(*GetIssueRequest)(nil),                   // 7: bytebase.v1.GetIssueRequest
	(*CreateIssueRequest)(nil),                // 8: bytebase.v1.CreateIssueRequest
	(*ListIssuesRequest)(nil),                 // 9: bytebase.v1.ListIssuesRequest
	(*ListIssuesResponse)(nil),                // 10: bytebase.v1.ListIssuesResponse
	(*SearchIssuesRequest)(nil),               // 11: bytebase.v1.SearchIssuesRequest
	(*SearchIssuesResponse)(nil),              // 12: bytebase.v1.SearchIssuesResponse
	(*UpdateIssueRequest)(nil),                // 13: bytebase.v1.UpdateIssueRequest
	(*BatchUpdateIssuesStatusRequest)(nil),    // 14: bytebase.v1.BatchUpdateIssuesStatusRequest
	(*BatchUpdateIssuesStatusResponse)(nil),   // 15: bytebase.v1.BatchUpdateIssuesStatusResponse
	(*ApproveIssueRequest)(nil),               // 16: bytebase.v1.ApproveIssueRequest
	(*RejectIssueRequest)(nil),                // 17: bytebase.v1.RejectIssueRequest
	(*RequestIssueRequest)(nil),               // 18: bytebase.v1.RequestIssueRequest
	(*RetryIssueApprovalRequest)(nil),         // 19: bytebase.v1.RetryIssueApprovalRequest
	(*Issue)(nil),                             // 20: bytebase.v1.Issue
	(*RoleGrant)(nil),                         // 21: bytebase.v1.RoleGrant
	(*ApprovalTemplate)(nil),                  // 22: bytebase.v1.ApprovalTemplate
	(*ApprovalFlow)(nil),                      // 23: bytebase.v1.ApprovalFlow
	(*ListIssueCommentsRequest)(nil),          // 24: bytebase.v1.ListIssueCommentsRequest
	(*ListIssueCommentsResponse)(nil),         // 25: bytebase.v1.ListIssueCommentsResponse
	(*CreateIssueCommentRequest)(nil),         // 26: bytebase.v1.CreateIssueCommentRequest
	(*UpdateIssueCommentRequest)(nil),         // 27: bytebase.v1.UpdateIssueCommentRequest
	(*IssueComment)(nil),                      // 28: bytebase.v1.IssueComment
	(*StatementAnchor)(nil),                   // 29: bytebase.v1.StatementAnchor
	(*ReviewRun)(nil),                         // 30: bytebase.v1.ReviewRun
	(*GetReviewRunRequest)(nil),               // 31: bytebase.v1.GetReviewRunRequest
	(*RunReviewRequest)(nil),                  // 32: bytebase.v1.RunReviewRequest
	(*Issue_Approver)(nil),                    // 33: bytebase.v1.Issue.Approver
	(*IssueComment_ReviewMetadata)(nil),       // 34: bytebase.v1.IssueComment.ReviewMetadata
	(*IssueComment_Approval)(nil),             // 35: bytebase.v1.IssueComment.Approval
	(*IssueComment_IssueUpdate)(nil),          // 36: bytebase.v1.IssueComment.IssueUpdate
	(*IssueComment_ReviewSubmission)(nil),     // 37: bytebase.v1.IssueComment.ReviewSubmission
	(*IssueComment_ReviewRunCompletion)(nil),  // 38: bytebase.v1.IssueComment.ReviewRunCompletion
	(*IssueComment_PlanUpdate)(nil),           // 39: bytebase.v1.IssueComment.PlanUpdate
	(*fieldmaskpb.FieldMask)(nil),             // 40: google.protobuf.FieldMask
	(IssueStatus)(0),                          // 41: bytebase.v1.IssueStatus
	(*timestamppb.Timestamp)(nil),             // 42: google.protobuf.Timestamp
	(RiskLevel)(0),                            // 43: bytebase.v1.RiskLevel
	(ApprovalStatus)(0),                       // 44: bytebase.v1.ApprovalStatus
	(*expr.Expr)(nil),                         // 45: google.type.Expr
	(*durationpb.Duration)(nil),               // 46: google.protobuf.Duration
	(*Position)(nil),                          // 47: bytebase.v1.Position
	(ReviewRuleType)(0),                       // 48: bytebase.v1.ReviewRuleType
	(*Plan_Spec)(nil),                         // 49: bytebase.v1.Plan.Spec
}
var file_v1_issue_service_proto_depIdxs = []int32{
	20, // 0: bytebase.v1.CreateIssueRequest.issue:type_name -> bytebase.v1.Issue
	20, // 1: bytebase.v1.ListIssuesResponse.issues:type_name -> bytebase.v1.Issue
	20, // 2: bytebase.v1.SearchIssuesResponse.issues:type_name -> bytebase.v1.Issue
	20, // 3: bytebase.v1.UpdateIssueRequest.issue:type_name -> bytebase.v1.Issue
	40, // 4: bytebase.v1.UpdateIssueRequest.update_mask:type_name -> google.protobuf.FieldMask
	41, // 5: bytebase.v1.BatchUpdateIssuesStatusRequest.status:type_name -> bytebase.v1.IssueStatus
	0,  // 6: bytebase.v1.Issue.type:type_name -> bytebase.v1.Issue.Type
	41, // 7: bytebase.v1.Issue.status:type_name -> bytebase.v1.IssueStatus
	33, // 8: bytebase.v1.Issue.approvers:type_name -> bytebase.v1.Issue.Approver
	22, // 9: bytebase.v1.Issue.approval_template:type_name -> bytebase.v1.ApprovalTemplate
	42, // 10: bytebase.v1.Issue.create_time:type_name -> google.protobuf.Timestamp
	42, // 11: bytebase.v1.Issue.update_time:type_name -> google.protobuf.Timestamp
	21, // 12: bytebase.v1.Issue.role_grant:type_name -> bytebase.v1.RoleGrant
	43, // 13: bytebase.v1.Issue.risk_level:type_name -> bytebase.v1.RiskLevel
	44, // 14: bytebase.v1.Issue.approval_status:type_name -> bytebase.v1.ApprovalStatus
	45, // 15: bytebase.v1.RoleGrant.condition:type_name -> google.type.Expr
	46, // 16: bytebase.v1.RoleGrant.expiration:type_name -> google.protobuf.Duration
	23, // 17: bytebase.v1.ApprovalTemplate.flow:type_name -> bytebase.v1.ApprovalFlow
	28, // 18: bytebase.v1.ListIssueCommentsResponse.issue_comments:type_name -> bytebase.v1.IssueComment
	28, // 19: bytebase.v1.CreateIssueCommentRequest.issue_comment:type_name -> bytebase.v1.IssueComment
	28, // 20: bytebase.v1.UpdateIssueCommentRequest.issue_comment:type_name -> bytebase.v1.IssueComment
	40, // 21: bytebase.v1.UpdateIssueCommentRequest.update_mask:type_name -> google.protobuf.FieldMask
	42, // 22: bytebase.v1.IssueComment.create_time:type_name -> google.protobuf.Timestamp
	42, // 23: bytebase.v1.IssueComment.update_time:type_name -> google.protobuf.Timestamp
	2,  // 24: bytebase.v1.IssueComment.thread_state:type_name -> bytebase.v1.IssueComment.ThreadState
	29, // 25: bytebase.v1.IssueComment.statement_anchor:type_name -> bytebase.v1.StatementAnchor
	34, // 26: bytebase.v1.IssueComment.review_metadata:type_name -> bytebase.v1.IssueComment.ReviewMetadata
	35, // 27: bytebase.v1.IssueComment.approval:type_name -> bytebase.v1.IssueComment.Approval
	36, // 28: bytebase.v1.IssueComment.issue_update:type_name -> bytebase.v1.IssueComment.IssueUpdate
	39, // 29: bytebase.v1.IssueComment.plan_update:type_name -> bytebase.v1.IssueComment.PlanUpdate
	37, // 30: bytebase.v1.IssueComment.review_submission:type_name -> bytebase.v1.IssueComment.ReviewSubmission
	38, // 31: bytebase.v1.IssueComment.review_run_completion:type_name -> bytebase.v1.IssueComment.ReviewRunCompletion
	47, // 32: bytebase.v1.StatementAnchor.start_position:type_name -> bytebase.v1.Position
	47, // 33: bytebase.v1.StatementAnchor.end_position:type_name -> bytebase.v1.Position
	5,  // 34: bytebase.v1.ReviewRun.type:type_name -> bytebase.v1.ReviewRun.Type
	6,  // 35: bytebase.v1.ReviewRun.status:type_name -> bytebase.v1.ReviewRun.Status
	42, // 36: bytebase.v1.ReviewRun.create_time:type_name -> google.protobuf.Timestamp
	42, // 37: bytebase.v1.ReviewRun.end_time:type_name -> google.protobuf.Timestamp
	1,  // 38: bytebase.v1.Issue.Approver.status:type_name -> bytebase.v1.Issue.Approver.Status
	5,  // 39: bytebase.v1.IssueComment.ReviewMetadata.run_type:type_name -> bytebase.v1.ReviewRun.Type
	48, // 40: bytebase.v1.IssueComment.ReviewMetadata.rule_type:type_name -> bytebase.v1.ReviewRuleType
	3,  // 41: bytebase.v1.IssueComment.ReviewMetadata.priority:type_name -> bytebase.v1.IssueComment.ReviewMetadata.Priority
	4,  // 42: bytebase.v1.IssueComment.Approval.status:type_name -> bytebase.v1.IssueComment.Approval.Status
	41, // 43: bytebase.v1.IssueComment.IssueUpdate.from_status:type_name -> bytebase.v1.IssueStatus
	41, // 44: bytebase.v1.IssueComment.IssueUpdate.to_status:type_name -> bytebase.v1.IssueStatus
	5,  // 45: bytebase.v1.IssueComment.ReviewRunCompletion.run_type:type_name -> bytebase.v1.ReviewRun.Type
	49, // 46: bytebase.v1.IssueComment.PlanUpdate.from_specs:type_name -> bytebase.v1.Plan.Spec
	49, // 47: bytebase.v1.IssueComment.PlanUpdate.to_specs:type_name -> bytebase.v1.Plan.Spec
	7,  // 48: bytebase.v1.IssueService.GetIssue:input_type -> bytebase.v1.GetIssueRequest
	8,  // 49: bytebase.v1.IssueService.CreateIssue:input_type -> bytebase.v1.CreateIssueRequest
	9,  // 50: bytebase.v1.IssueService.ListIssues:input_type -> bytebase.v1.ListIssuesRequest
	11, // 51: bytebase.v1.IssueService.SearchIssues:input_type -> bytebase.v1.SearchIssuesRequest
	13, // 52: bytebase.v1.IssueService.UpdateIssue:input_type -> bytebase.v1.UpdateIssueRequest
	24, // 53: bytebase.v1.IssueService.ListIssueComments:input_type -> bytebase.v1.ListIssueCommentsRequest
	26, // 54: bytebase.v1.IssueService.CreateIssueComment:input_type -> bytebase.v1.CreateIssueCommentRequest
	27, // 55: bytebase.v1.IssueService.UpdateIssueComment:input_type -> bytebase.v1.UpdateIssueCommentRequest
	14, // 56: bytebase.v1.IssueService.BatchUpdateIssuesStatus:input_type -> bytebase.v1.BatchUpdateIssuesStatusRequest
	16, // 57: bytebase.v1.IssueService.ApproveIssue:input_type -> bytebase.v1.ApproveIssueRequest
	17, // 58: bytebase.v1.IssueService.RejectIssue:input_type -> bytebase.v1.RejectIssueRequest
	18, // 59: bytebase.v1.IssueService.RequestIssue:input_type -> bytebase.v1.RequestIssueRequest
	19, // 60: bytebase.v1.IssueService.RetryIssueApproval:input_type -> bytebase.v1.RetryIssueApprovalRequest
	31, // 61: bytebase.v1.IssueService.GetReviewRun:input_type -> bytebase.v1.GetReviewRunRequest
	32, // 62: bytebase.v1.IssueService.RunReview:input_type -> bytebase.v1.RunReviewRequest
	20, // 63: bytebase.v1.IssueService.GetIssue:output_type -> bytebase.v1.Issue
	20, // 64: bytebase.v1.IssueService.CreateIssue:output_type -> bytebase.v1.Issue
	10, // 65: bytebase.v1.IssueService.ListIssues:output_type -> bytebase.v1.ListIssuesResponse
	12, // 66: bytebase.v1.IssueService.SearchIssues:output_type -> bytebase.v1.SearchIssuesResponse
	20, // 67: bytebase.v1.IssueService.UpdateIssue:output_type -> bytebase.v1.Issue
	25, // 68: bytebase.v1.IssueService.ListIssueComments:output_type -> bytebase.v1.ListIssueCommentsResponse
	28, // 69: bytebase.v1.IssueService.CreateIssueComment:output_type -> bytebase.v1.IssueComment
	28, // 70: bytebase.v1.IssueService.UpdateIssueComment:output_type -> bytebase.v1.IssueComment
	15, // 71: bytebase.v1.IssueService.BatchUpdateIssuesStatus:output_type -> bytebase.v1.BatchUpdateIssuesStatusResponse
	20, // 72: bytebase.v1.IssueService.ApproveIssue:output_type -> bytebase.v1.Issue
	20, // 73: bytebase.v1.IssueService.RejectIssue:output_type -> bytebase.v1.Issue
	20, // 74: bytebase.v1.IssueService.RequestIssue:output_type -> bytebase.v1.Issue
	20, // 75: bytebase.v1.IssueService.RetryIssueApproval:output_type -> bytebase.v1.Issue
	30, // 76: bytebase.v1.IssueService.GetReviewRun:output_type -> bytebase.v1.ReviewRun
	30, // 77: bytebase.v1.IssueService.RunReview:output_type -> bytebase.v1.ReviewRun
	63, // [63:78] is the sub-list for method output_type
	48, // [48:63] is the sub-list for method input_type
	48, // [48:48] is the sub-list for extension type_name
	48, // [48:48] is the sub-list for extension extendee
	0,  // [0:48] is the sub-list for field type_name
}

func init() { file_v1_issue_service_proto_init() }
func file_v1_issue_service_proto_init() {
	if File_v1_issue_service_proto != nil {
		return
	}
	file_v1_annotation_proto_init()
	file_v1_common_proto_init()
	file_v1_plan_service_proto_init()
	file_v1_review_rule_proto_init()
	file_v1_issue_service_proto_msgTypes[21].OneofWrappers = []any{
		(*IssueComment_Approval_)(nil),
		(*IssueComment_IssueUpdate_)(nil),
		(*IssueComment_PlanUpdate_)(nil),
		(*IssueComment_ReviewSubmission_)(nil),
		(*IssueComment_ReviewRunCompletion_)(nil),
	}
	file_v1_issue_service_proto_msgTypes[29].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_issue_service_proto_rawDesc), len(file_v1_issue_service_proto_rawDesc)),
			NumEnums:      7,
			NumMessages:   33,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_v1_issue_service_proto_goTypes,
		DependencyIndexes: file_v1_issue_service_proto_depIdxs,
		EnumInfos:         file_v1_issue_service_proto_enumTypes,
		MessageInfos:      file_v1_issue_service_proto_msgTypes,
	}.Build()
	File_v1_issue_service_proto = out.File
	file_v1_issue_service_proto_goTypes = nil
	file_v1_issue_service_proto_depIdxs = nil
}