// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.1
// 	protoc        (unknown)
// source: acl/service.proto

package acl

import (
	base "go.buf.build/protocolbuffers/go/linuxgit/tidbcloud/base"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

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

type OrgRole int32

const (
	OrgRole_ORG_ROLE_UNSPECIFIED     OrgRole = 0
	OrgRole_ORG_ROLE_OWNER           OrgRole = 1
	OrgRole_ORG_ROLE_AUDIT_ADMIN     OrgRole = 2
	OrgRole_ORG_ROLE_BILLING_ADMIN   OrgRole = 3
	OrgRole_ORG_ROLE_MEMBER          OrgRole = 4
	OrgRole_ORG_ROLE_IMPERSONATED    OrgRole = 5
	OrgRole_ORG_ROLE_BILLING_VIEWER  OrgRole = 6
	OrgRole_ORG_ROLE_CLUSTER_CREATOR OrgRole = 7
)

// Enum value maps for OrgRole.
var (
	OrgRole_name = map[int32]string{
		0: "ORG_ROLE_UNSPECIFIED",
		1: "ORG_ROLE_OWNER",
		2: "ORG_ROLE_AUDIT_ADMIN",
		3: "ORG_ROLE_BILLING_ADMIN",
		4: "ORG_ROLE_MEMBER",
		5: "ORG_ROLE_IMPERSONATED",
		6: "ORG_ROLE_BILLING_VIEWER",
		7: "ORG_ROLE_CLUSTER_CREATOR",
	}
	OrgRole_value = map[string]int32{
		"ORG_ROLE_UNSPECIFIED":     0,
		"ORG_ROLE_OWNER":           1,
		"ORG_ROLE_AUDIT_ADMIN":     2,
		"ORG_ROLE_BILLING_ADMIN":   3,
		"ORG_ROLE_MEMBER":          4,
		"ORG_ROLE_IMPERSONATED":    5,
		"ORG_ROLE_BILLING_VIEWER":  6,
		"ORG_ROLE_CLUSTER_CREATOR": 7,
	}
)

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

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

func (OrgRole) Descriptor() protoreflect.EnumDescriptor {
	return file_acl_service_proto_enumTypes[0].Descriptor()
}

func (OrgRole) Type() protoreflect.EnumType {
	return &file_acl_service_proto_enumTypes[0]
}

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

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

type ProjectRole int32

const (
	ProjectRole_PROJECT_ROLE_UNSPECIFIED ProjectRole = 0
	ProjectRole_PROJECT_ROLE_OWNER       ProjectRole = 1
)

// Enum value maps for ProjectRole.
var (
	ProjectRole_name = map[int32]string{
		0: "PROJECT_ROLE_UNSPECIFIED",
		1: "PROJECT_ROLE_OWNER",
	}
	ProjectRole_value = map[string]int32{
		"PROJECT_ROLE_UNSPECIFIED": 0,
		"PROJECT_ROLE_OWNER":       1,
	}
)

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

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

func (ProjectRole) Descriptor() protoreflect.EnumDescriptor {
	return file_acl_service_proto_enumTypes[1].Descriptor()
}

func (ProjectRole) Type() protoreflect.EnumType {
	return &file_acl_service_proto_enumTypes[1]
}

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

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

type OrgAccessResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id       uint64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Roles    []string  `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	OrgRoles []OrgRole `protobuf:"varint,3,rep,packed,name=org_roles,json=orgRoles,proto3,enum=acl.OrgRole" json:"org_roles,omitempty"`
}

func (x *OrgAccessResp) Reset() {
	*x = OrgAccessResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*OrgAccessResp) ProtoMessage() {}

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

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

func (x *OrgAccessResp) GetId() uint64 {
	if x != nil {
		return x.Id
	}
	return 0
}

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

func (x *OrgAccessResp) GetOrgRoles() []OrgRole {
	if x != nil {
		return x.OrgRoles
	}
	return nil
}

type ProjectAccessResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id           uint64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Roles        []string      `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	ProjectRoles []ProjectRole `protobuf:"varint,3,rep,packed,name=project_roles,json=projectRoles,proto3,enum=acl.ProjectRole" json:"project_roles,omitempty"`
}

func (x *ProjectAccessResp) Reset() {
	*x = ProjectAccessResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*ProjectAccessResp) ProtoMessage() {}

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

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

func (x *ProjectAccessResp) GetId() uint64 {
	if x != nil {
		return x.Id
	}
	return 0
}

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

func (x *ProjectAccessResp) GetProjectRoles() []ProjectRole {
	if x != nil {
		return x.ProjectRoles
	}
	return nil
}

type GetOpenAPIAccessReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (x *GetOpenAPIAccessReq) Reset() {
	*x = GetOpenAPIAccessReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetOpenAPIAccessReq) ProtoMessage() {}

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

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

func (x *GetOpenAPIAccessReq) GetPublicKey() string {
	if x != nil {
		return x.PublicKey
	}
	return ""
}

type GetOpenAPIAccessResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Org      *OrgAccessResp       `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	Projects []*ProjectAccessResp `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
}

func (x *GetOpenAPIAccessResp) Reset() {
	*x = GetOpenAPIAccessResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetOpenAPIAccessResp) ProtoMessage() {}

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

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

func (x *GetOpenAPIAccessResp) GetOrg() *OrgAccessResp {
	if x != nil {
		return x.Org
	}
	return nil
}

func (x *GetOpenAPIAccessResp) GetProjects() []*ProjectAccessResp {
	if x != nil {
		return x.Projects
	}
	return nil
}

type HasAdminAccessReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Uri    string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
}

func (x *HasAdminAccessReq) Reset() {
	*x = HasAdminAccessReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*HasAdminAccessReq) ProtoMessage() {}

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

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

func (x *HasAdminAccessReq) GetUserId() uint64 {
	if x != nil {
		return x.UserId
	}
	return 0
}

func (x *HasAdminAccessReq) GetUri() string {
	if x != nil {
		return x.Uri
	}
	return ""
}

func (x *HasAdminAccessReq) GetMethod() string {
	if x != nil {
		return x.Method
	}
	return ""
}

type HasAdminAccessResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	HasAccess bool `protobuf:"varint,1,opt,name=has_access,json=hasAccess,proto3" json:"has_access,omitempty"`
}

func (x *HasAdminAccessResp) Reset() {
	*x = HasAdminAccessResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*HasAdminAccessResp) ProtoMessage() {}

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

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

func (x *HasAdminAccessResp) GetHasAccess() bool {
	if x != nil {
		return x.HasAccess
	}
	return false
}

type GetJwtByTokenReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ClusterId  uint64 `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	Auth0Token string `protobuf:"bytes,2,opt,name=auth0_token,json=auth0Token,proto3" json:"auth0_token,omitempty"`
}

func (x *GetJwtByTokenReq) Reset() {
	*x = GetJwtByTokenReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetJwtByTokenReq) ProtoMessage() {}

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

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

func (x *GetJwtByTokenReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

func (x *GetJwtByTokenReq) GetAuth0Token() string {
	if x != nil {
		return x.Auth0Token
	}
	return ""
}

type GetJwtByTokenResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Jwt      string         `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
	DbUser   string         `protobuf:"bytes,2,opt,name=db_user,json=dbUser,proto3" json:"db_user,omitempty"`
	BaseResp *base.BaseResp `protobuf:"bytes,255,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"`
}

func (x *GetJwtByTokenResp) Reset() {
	*x = GetJwtByTokenResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetJwtByTokenResp) ProtoMessage() {}

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

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

func (x *GetJwtByTokenResp) GetJwt() string {
	if x != nil {
		return x.Jwt
	}
	return ""
}

func (x *GetJwtByTokenResp) GetDbUser() string {
	if x != nil {
		return x.DbUser
	}
	return ""
}

func (x *GetJwtByTokenResp) GetBaseResp() *base.BaseResp {
	if x != nil {
		return x.BaseResp
	}
	return nil
}

type GetJwtByUserReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ClusterId uint64 `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	UserId    uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email     string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
}

func (x *GetJwtByUserReq) Reset() {
	*x = GetJwtByUserReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetJwtByUserReq) ProtoMessage() {}

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

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

func (x *GetJwtByUserReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

func (x *GetJwtByUserReq) GetUserId() uint64 {
	if x != nil {
		return x.UserId
	}
	return 0
}

func (x *GetJwtByUserReq) GetEmail() string {
	if x != nil {
		return x.Email
	}
	return ""
}

type GetJwtByUserResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Jwt      string         `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
	DbUser   string         `protobuf:"bytes,2,opt,name=db_user,json=dbUser,proto3" json:"db_user,omitempty"`
	BaseResp *base.BaseResp `protobuf:"bytes,255,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"`
}

func (x *GetJwtByUserResp) Reset() {
	*x = GetJwtByUserResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[9]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetJwtByUserResp) ProtoMessage() {}

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

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

func (x *GetJwtByUserResp) GetJwt() string {
	if x != nil {
		return x.Jwt
	}
	return ""
}

func (x *GetJwtByUserResp) GetDbUser() string {
	if x != nil {
		return x.DbUser
	}
	return ""
}

func (x *GetJwtByUserResp) GetBaseResp() *base.BaseResp {
	if x != nil {
		return x.BaseResp
	}
	return nil
}

type GetJwtByApiKeyReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ClusterId uint64 `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	ApiKeyId  uint64 `protobuf:"varint,3,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
}

func (x *GetJwtByApiKeyReq) Reset() {
	*x = GetJwtByApiKeyReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[10]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetJwtByApiKeyReq) ProtoMessage() {}

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

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

func (x *GetJwtByApiKeyReq) GetClusterId() uint64 {
	if x != nil {
		return x.ClusterId
	}
	return 0
}

func (x *GetJwtByApiKeyReq) GetAccessKey() string {
	if x != nil {
		return x.AccessKey
	}
	return ""
}

func (x *GetJwtByApiKeyReq) GetApiKeyId() uint64 {
	if x != nil {
		return x.ApiKeyId
	}
	return 0
}

type GetJwtByApiKeyResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Jwt      string         `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
	DbUser   string         `protobuf:"bytes,2,opt,name=db_user,json=dbUser,proto3" json:"db_user,omitempty"`
	BaseResp *base.BaseResp `protobuf:"bytes,255,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"`
}

func (x *GetJwtByApiKeyResp) Reset() {
	*x = GetJwtByApiKeyResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[11]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetJwtByApiKeyResp) ProtoMessage() {}

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

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

func (x *GetJwtByApiKeyResp) GetJwt() string {
	if x != nil {
		return x.Jwt
	}
	return ""
}

func (x *GetJwtByApiKeyResp) GetDbUser() string {
	if x != nil {
		return x.DbUser
	}
	return ""
}

func (x *GetJwtByApiKeyResp) GetBaseResp() *base.BaseResp {
	if x != nil {
		return x.BaseResp
	}
	return nil
}

type GetOpenAPIKeyByTokenReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (x *GetOpenAPIKeyByTokenReq) Reset() {
	*x = GetOpenAPIKeyByTokenReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[12]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetOpenAPIKeyByTokenReq) ProtoMessage() {}

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

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

func (x *GetOpenAPIKeyByTokenReq) GetPublicKey() string {
	if x != nil {
		return x.PublicKey
	}
	return ""
}

type GetOpenAPIKeyByTokenResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TenantId     uint64 `protobuf:"varint,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	PublicKey    string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	CreatorEmail string `protobuf:"bytes,4,opt,name=creator_email,json=creatorEmail,proto3" json:"creator_email,omitempty"`
}

func (x *GetOpenAPIKeyByTokenResp) Reset() {
	*x = GetOpenAPIKeyByTokenResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_acl_service_proto_msgTypes[13]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetOpenAPIKeyByTokenResp) ProtoMessage() {}

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

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

func (x *GetOpenAPIKeyByTokenResp) GetId() uint64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *GetOpenAPIKeyByTokenResp) GetTenantId() uint64 {
	if x != nil {
		return x.TenantId
	}
	return 0
}

func (x *GetOpenAPIKeyByTokenResp) GetPublicKey() string {
	if x != nil {
		return x.PublicKey
	}
	return ""
}

func (x *GetOpenAPIKeyByTokenResp) GetCreatorEmail() string {
	if x != nil {
		return x.CreatorEmail
	}
	return ""
}

var File_acl_service_proto protoreflect.FileDescriptor

var file_acl_service_proto_rawDesc = []byte{
	0x0a, 0x11, 0x61, 0x63, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x63, 0x6c, 0x1a, 0x0f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x62,
	0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0d, 0x4f, 0x72, 0x67,
	0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f,
	0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73,
	0x12, 0x29, 0x0a, 0x09, 0x6f, 0x72, 0x67, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20,
	0x03, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x4f, 0x72, 0x67, 0x52, 0x6f, 0x6c,
	0x65, 0x52, 0x08, 0x6f, 0x72, 0x67, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x70, 0x0a, 0x11, 0x50,
	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
	0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64,
	0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
	0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
	0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x10, 0x2e,
	0x61, 0x63, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52,
	0x0c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x34, 0x0a,
	0x13, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x41, 0x63, 0x63, 0x65, 0x73,
	0x73, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b,
	0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
	0x4b, 0x65, 0x79, 0x22, 0x70, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50,
	0x49, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x03, 0x6f,
	0x72, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x4f,
	0x72, 0x67, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x52, 0x03, 0x6f, 0x72,
	0x67, 0x12, 0x32, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x02, 0x20,
	0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
	0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x52, 0x08, 0x70, 0x72, 0x6f,
	0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x56, 0x0a, 0x11, 0x48, 0x61, 0x73, 0x41, 0x64, 0x6d, 0x69,
	0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73,
	0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x75, 0x73, 0x65,
	0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
	0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x33, 0x0a,
	0x12, 0x48, 0x61, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52,
	0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73,
	0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x68, 0x61, 0x73, 0x41, 0x63, 0x63, 0x65,
	0x73, 0x73, 0x22, 0x52, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x54, 0x6f,
	0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
	0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73,
	0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x30, 0x5f, 0x74,
	0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68,
	0x30, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74,
	0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6a,
	0x77, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6a, 0x77, 0x74, 0x12, 0x17, 0x0a,
	0x07, 0x64, 0x62, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
	0x64, 0x62, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72,
	0x65, 0x73, 0x70, 0x18, 0xff, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x61, 0x73,
	0x65, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65,
	0x52, 0x65, 0x73, 0x70, 0x22, 0x5f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79,
	0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74,
	0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x6c, 0x75,
	0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
	0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
	0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x6b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42,
	0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6a, 0x77, 0x74,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6a, 0x77, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64,
	0x62, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62,
	0x55, 0x73, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x73,
	0x70, 0x18, 0xff, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e,
	0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65,
	0x73, 0x70, 0x22, 0x6f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x41, 0x70,
	0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74,
	0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x6c, 0x75,
	0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
	0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65,
	0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79,
	0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x70, 0x69, 0x4b, 0x65,
	0x79, 0x49, 0x64, 0x22, 0x6d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x41,
	0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6a, 0x77, 0x74,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6a, 0x77, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64,
	0x62, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62,
	0x55, 0x73, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x73,
	0x70, 0x18, 0xff, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e,
	0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65,
	0x73, 0x70, 0x22, 0x38, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49,
	0x4b, 0x65, 0x79, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a,
	0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x8b, 0x01, 0x0a,
	0x18, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x42, 0x79,
	0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e,
	0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x74, 0x65,
	0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
	0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c,
	0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,
	0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x72,
	0x65, 0x61, 0x74, 0x6f, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x2a, 0xd8, 0x01, 0x0a, 0x07, 0x4f,
	0x72, 0x67, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, 0x47, 0x5f, 0x52, 0x4f,
	0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
	0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x52, 0x47, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e,
	0x45, 0x52, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, 0x47, 0x5f, 0x52, 0x4f, 0x4c, 0x45,
	0x5f, 0x41, 0x55, 0x44, 0x49, 0x54, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x1a,
	0x0a, 0x16, 0x4f, 0x52, 0x47, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x42, 0x49, 0x4c, 0x4c, 0x49,
	0x4e, 0x47, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x4f, 0x52,
	0x47, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x04, 0x12,
	0x19, 0x0a, 0x15, 0x4f, 0x52, 0x47, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x49, 0x4d, 0x50, 0x45,
	0x52, 0x53, 0x4f, 0x4e, 0x41, 0x54, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x4f, 0x52,
	0x47, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x56,
	0x49, 0x45, 0x57, 0x45, 0x52, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x4f, 0x52, 0x47, 0x5f, 0x52,
	0x4f, 0x4c, 0x45, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41,
	0x54, 0x4f, 0x52, 0x10, 0x07, 0x2a, 0x43, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
	0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f,
	0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
	0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f,
	0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x32, 0xb0, 0x03, 0x0a, 0x0d, 0x41,
	0x63, 0x63, 0x65, 0x73, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x10,
	0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
	0x12, 0x18, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50,
	0x49, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x61, 0x63, 0x6c,
	0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x41, 0x63, 0x63, 0x65, 0x73,
	0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x41, 0x0a, 0x0e, 0x48, 0x61, 0x73, 0x41, 0x64, 0x6d, 0x69,
	0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x48, 0x61,
	0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x1a,
	0x17, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x48, 0x61, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63,
	0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4a,
	0x77, 0x74, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x15, 0x2e, 0x61, 0x63, 0x6c, 0x2e,
	0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71,
	0x1a, 0x16, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x54,
	0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3b, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4a,
	0x77, 0x74, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x47,
	0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x15,
	0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x55, 0x73, 0x65,
	0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x53, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e,
	0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x2e,
	0x61, 0x63, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x4b, 0x65,
	0x79, 0x42, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x61, 0x63,
	0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x42,
	0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x41, 0x0a, 0x0e, 0x47, 0x65,
	0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x2e, 0x61,
	0x63, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x77, 0x74, 0x42, 0x79, 0x41, 0x70, 0x69, 0x4b, 0x65,
	0x79, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x61, 0x63, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x77,
	0x74, 0x42, 0x79, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x42, 0x36, 0x5a,
	0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x69, 0x64, 0x62,
	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x69, 0x64,
	0x6c, 0x2f, 0x70, 0x62, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x63,
	0x6c, 0x3b, 0x61, 0x63, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_acl_service_proto_rawDescOnce sync.Once
	file_acl_service_proto_rawDescData = file_acl_service_proto_rawDesc
)

func file_acl_service_proto_rawDescGZIP() []byte {
	file_acl_service_proto_rawDescOnce.Do(func() {
		file_acl_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_acl_service_proto_rawDescData)
	})
	return file_acl_service_proto_rawDescData
}

var file_acl_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_acl_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_acl_service_proto_goTypes = []interface{}{
	(OrgRole)(0),                     // 0: acl.OrgRole
	(ProjectRole)(0),                 // 1: acl.ProjectRole
	(*OrgAccessResp)(nil),            // 2: acl.OrgAccessResp
	(*ProjectAccessResp)(nil),        // 3: acl.ProjectAccessResp
	(*GetOpenAPIAccessReq)(nil),      // 4: acl.GetOpenAPIAccessReq
	(*GetOpenAPIAccessResp)(nil),     // 5: acl.GetOpenAPIAccessResp
	(*HasAdminAccessReq)(nil),        // 6: acl.HasAdminAccessReq
	(*HasAdminAccessResp)(nil),       // 7: acl.HasAdminAccessResp
	(*GetJwtByTokenReq)(nil),         // 8: acl.GetJwtByTokenReq
	(*GetJwtByTokenResp)(nil),        // 9: acl.GetJwtByTokenResp
	(*GetJwtByUserReq)(nil),          // 10: acl.GetJwtByUserReq
	(*GetJwtByUserResp)(nil),         // 11: acl.GetJwtByUserResp
	(*GetJwtByApiKeyReq)(nil),        // 12: acl.GetJwtByApiKeyReq
	(*GetJwtByApiKeyResp)(nil),       // 13: acl.GetJwtByApiKeyResp
	(*GetOpenAPIKeyByTokenReq)(nil),  // 14: acl.GetOpenAPIKeyByTokenReq
	(*GetOpenAPIKeyByTokenResp)(nil), // 15: acl.GetOpenAPIKeyByTokenResp
	(*base.BaseResp)(nil),            // 16: base.BaseResp
}
var file_acl_service_proto_depIdxs = []int32{
	0,  // 0: acl.OrgAccessResp.org_roles:type_name -> acl.OrgRole
	1,  // 1: acl.ProjectAccessResp.project_roles:type_name -> acl.ProjectRole
	2,  // 2: acl.GetOpenAPIAccessResp.org:type_name -> acl.OrgAccessResp
	3,  // 3: acl.GetOpenAPIAccessResp.projects:type_name -> acl.ProjectAccessResp
	16, // 4: acl.GetJwtByTokenResp.base_resp:type_name -> base.BaseResp
	16, // 5: acl.GetJwtByUserResp.base_resp:type_name -> base.BaseResp
	16, // 6: acl.GetJwtByApiKeyResp.base_resp:type_name -> base.BaseResp
	4,  // 7: acl.AccessService.GetOpenAPIAccess:input_type -> acl.GetOpenAPIAccessReq
	6,  // 8: acl.AccessService.HasAdminAccess:input_type -> acl.HasAdminAccessReq
	8,  // 9: acl.AccessService.GetJwtByToken:input_type -> acl.GetJwtByTokenReq
	10, // 10: acl.AccessService.GetJwtByUser:input_type -> acl.GetJwtByUserReq
	14, // 11: acl.AccessService.GetOpenAPIKeyByToken:input_type -> acl.GetOpenAPIKeyByTokenReq
	12, // 12: acl.AccessService.GetJwtByApiKey:input_type -> acl.GetJwtByApiKeyReq
	5,  // 13: acl.AccessService.GetOpenAPIAccess:output_type -> acl.GetOpenAPIAccessResp
	7,  // 14: acl.AccessService.HasAdminAccess:output_type -> acl.HasAdminAccessResp
	9,  // 15: acl.AccessService.GetJwtByToken:output_type -> acl.GetJwtByTokenResp
	11, // 16: acl.AccessService.GetJwtByUser:output_type -> acl.GetJwtByUserResp
	15, // 17: acl.AccessService.GetOpenAPIKeyByToken:output_type -> acl.GetOpenAPIKeyByTokenResp
	13, // 18: acl.AccessService.GetJwtByApiKey:output_type -> acl.GetJwtByApiKeyResp
	13, // [13:19] is the sub-list for method output_type
	7,  // [7:13] is the sub-list for method input_type
	7,  // [7:7] is the sub-list for extension type_name
	7,  // [7:7] is the sub-list for extension extendee
	0,  // [0:7] is the sub-list for field type_name
}

func init() { file_acl_service_proto_init() }
func file_acl_service_proto_init() {
	if File_acl_service_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_acl_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*OrgAccessResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ProjectAccessResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetOpenAPIAccessReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetOpenAPIAccessResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*HasAdminAccessReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*HasAdminAccessResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetJwtByTokenReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetJwtByTokenResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetJwtByUserReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetJwtByUserResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetJwtByApiKeyReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetJwtByApiKeyResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetOpenAPIKeyByTokenReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_acl_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetOpenAPIKeyByTokenResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_acl_service_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   14,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_acl_service_proto_goTypes,
		DependencyIndexes: file_acl_service_proto_depIdxs,
		EnumInfos:         file_acl_service_proto_enumTypes,
		MessageInfos:      file_acl_service_proto_msgTypes,
	}.Build()
	File_acl_service_proto = out.File
	file_acl_service_proto_rawDesc = nil
	file_acl_service_proto_goTypes = nil
	file_acl_service_proto_depIdxs = nil
}
