// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.7
// 	protoc        v6.32.0
// source: internal/gitlab/api/api.proto

package api

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	agentcfg "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/agentcfg"
	_ "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/constraint"
	entity "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/entity"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)

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 AuthorizeUserWorkspaceAccessStatus int32

const (
	AuthorizeUserWorkspaceAccessStatus_INVALID_HOST        AuthorizeUserWorkspaceAccessStatus = 0
	AuthorizeUserWorkspaceAccessStatus_NOT_AUTHORIZED      AuthorizeUserWorkspaceAccessStatus = 1
	AuthorizeUserWorkspaceAccessStatus_AUTHORIZED          AuthorizeUserWorkspaceAccessStatus = 2
	AuthorizeUserWorkspaceAccessStatus_WORKSPACE_NOT_FOUND AuthorizeUserWorkspaceAccessStatus = 3
	AuthorizeUserWorkspaceAccessStatus_PORT_NOT_FOUND      AuthorizeUserWorkspaceAccessStatus = 4
)

// Enum value maps for AuthorizeUserWorkspaceAccessStatus.
var (
	AuthorizeUserWorkspaceAccessStatus_name = map[int32]string{
		0: "INVALID_HOST",
		1: "NOT_AUTHORIZED",
		2: "AUTHORIZED",
		3: "WORKSPACE_NOT_FOUND",
		4: "PORT_NOT_FOUND",
	}
	AuthorizeUserWorkspaceAccessStatus_value = map[string]int32{
		"INVALID_HOST":        0,
		"NOT_AUTHORIZED":      1,
		"AUTHORIZED":          2,
		"WORKSPACE_NOT_FOUND": 3,
		"PORT_NOT_FOUND":      4,
	}
)

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

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

func (AuthorizeUserWorkspaceAccessStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_internal_gitlab_api_api_proto_enumTypes[0].Descriptor()
}

func (AuthorizeUserWorkspaceAccessStatus) Type() protoreflect.EnumType {
	return &file_internal_gitlab_api_api_proto_enumTypes[0]
}

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

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

type Configuration struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	DefaultNamespace string                 `protobuf:"bytes,1,opt,name=default_namespace,proto3" json:"default_namespace,omitempty"`
	AccessAs         *agentcfg.CiAccessAsCF `protobuf:"bytes,2,opt,name=access_as,proto3" json:"access_as,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*Configuration) ProtoMessage() {}

func (x *Configuration) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{0}
}

func (x *Configuration) GetDefaultNamespace() string {
	if x != nil {
		return x.DefaultNamespace
	}
	return ""
}

func (x *Configuration) GetAccessAs() *agentcfg.CiAccessAsCF {
	if x != nil {
		return x.AccessAs
	}
	return nil
}

type AllowedAgent struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ConfigProject *ConfigProject         `protobuf:"bytes,2,opt,name=config_project,proto3" json:"config_project,omitempty"`
	Configuration *Configuration         `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AllowedAgent) ProtoMessage() {}

func (x *AllowedAgent) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AllowedAgent.ProtoReflect.Descriptor instead.
func (*AllowedAgent) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{1}
}

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

func (x *AllowedAgent) GetConfigProject() *ConfigProject {
	if x != nil {
		return x.ConfigProject
	}
	return nil
}

func (x *AllowedAgent) GetConfiguration() *Configuration {
	if x != nil {
		return x.Configuration
	}
	return nil
}

type ConfigProject struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ConfigProject) ProtoMessage() {}

func (x *ConfigProject) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 ConfigProject.ProtoReflect.Descriptor instead.
func (*ConfigProject) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{2}
}

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

type Pipeline struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Pipeline) ProtoMessage() {}

func (x *Pipeline) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 Pipeline.ProtoReflect.Descriptor instead.
func (*Pipeline) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{3}
}

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

type Project struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Groups        []*Group               `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Project) ProtoMessage() {}

func (x *Project) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 Project.ProtoReflect.Descriptor instead.
func (*Project) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{4}
}

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

func (x *Project) GetGroups() []*Group {
	if x != nil {
		return x.Groups
	}
	return nil
}

type Group struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Group) ProtoMessage() {}

func (x *Group) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 Group.ProtoReflect.Descriptor instead.
func (*Group) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{5}
}

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

type Job struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Job) ProtoMessage() {}

func (x *Job) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 Job.ProtoReflect.Descriptor instead.
func (*Job) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{6}
}

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

type User struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Username      string                 `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*User) ProtoMessage() {}

func (x *User) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 User.ProtoReflect.Descriptor instead.
func (*User) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{7}
}

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

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

type Environment struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Slug          string                 `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	Tier          string                 `protobuf:"bytes,2,opt,name=tier,proto3" json:"tier,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Environment) ProtoMessage() {}

func (x *Environment) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 Environment.ProtoReflect.Descriptor instead.
func (*Environment) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{8}
}

func (x *Environment) GetSlug() string {
	if x != nil {
		return x.Slug
	}
	return ""
}

func (x *Environment) GetTier() string {
	if x != nil {
		return x.Tier
	}
	return ""
}

type GetAgentkInfoResponse struct {
	state            protoimpl.MessageState   `protogen:"open.v1"`
	ProjectId        int64                    `protobuf:"varint,1,opt,name=project_id,proto3" json:"project_id,omitempty"`
	AgentId          int64                    `protobuf:"varint,2,opt,name=agent_id,proto3" json:"agent_id,omitempty"`
	AgentName        string                   `protobuf:"bytes,3,opt,name=agent_name,proto3" json:"agent_name,omitempty"`
	GitalyInfo       *entity.GitalyInfo       `protobuf:"bytes,4,opt,name=gitaly_info,proto3" json:"gitaly_info,omitempty"`
	GitalyRepository *entity.GitalyRepository `protobuf:"bytes,5,opt,name=gitaly_repository,proto3" json:"gitaly_repository,omitempty"`
	DefaultBranch    string                   `protobuf:"bytes,6,opt,name=default_branch,proto3" json:"default_branch,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*GetAgentkInfoResponse) ProtoMessage() {}

func (x *GetAgentkInfoResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 GetAgentkInfoResponse.ProtoReflect.Descriptor instead.
func (*GetAgentkInfoResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{9}
}

func (x *GetAgentkInfoResponse) GetProjectId() int64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *GetAgentkInfoResponse) GetAgentId() int64 {
	if x != nil {
		return x.AgentId
	}
	return 0
}

func (x *GetAgentkInfoResponse) GetAgentName() string {
	if x != nil {
		return x.AgentName
	}
	return ""
}

func (x *GetAgentkInfoResponse) GetGitalyInfo() *entity.GitalyInfo {
	if x != nil {
		return x.GitalyInfo
	}
	return nil
}

func (x *GetAgentkInfoResponse) GetGitalyRepository() *entity.GitalyRepository {
	if x != nil {
		return x.GitalyRepository
	}
	return nil
}

func (x *GetAgentkInfoResponse) GetDefaultBranch() string {
	if x != nil {
		return x.DefaultBranch
	}
	return ""
}

type GetAgentwInfoResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AgentId       int64                  `protobuf:"varint,1,opt,name=agent_id,proto3" json:"agent_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetAgentwInfoResponse) ProtoMessage() {}

func (x *GetAgentwInfoResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 GetAgentwInfoResponse.ProtoReflect.Descriptor instead.
func (*GetAgentwInfoResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{10}
}

func (x *GetAgentwInfoResponse) GetAgentId() int64 {
	if x != nil {
		return x.AgentId
	}
	return 0
}

type GetRepositoryInfoResponse struct {
	state            protoimpl.MessageState   `protogen:"open.v1"`
	ProjectId        int64                    `protobuf:"varint,1,opt,name=project_id,proto3" json:"project_id,omitempty"`
	GitalyInfo       *entity.GitalyInfo       `protobuf:"bytes,2,opt,name=gitaly_info,proto3" json:"gitaly_info,omitempty"`
	GitalyRepository *entity.GitalyRepository `protobuf:"bytes,3,opt,name=gitaly_repository,proto3" json:"gitaly_repository,omitempty"`
	DefaultBranch    string                   `protobuf:"bytes,4,opt,name=default_branch,proto3" json:"default_branch,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*GetRepositoryInfoResponse) ProtoMessage() {}

func (x *GetRepositoryInfoResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 GetRepositoryInfoResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryInfoResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{11}
}

func (x *GetRepositoryInfoResponse) GetProjectId() int64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *GetRepositoryInfoResponse) GetGitalyInfo() *entity.GitalyInfo {
	if x != nil {
		return x.GitalyInfo
	}
	return nil
}

func (x *GetRepositoryInfoResponse) GetGitalyRepository() *entity.GitalyRepository {
	if x != nil {
		return x.GitalyRepository
	}
	return nil
}

func (x *GetRepositoryInfoResponse) GetDefaultBranch() string {
	if x != nil {
		return x.DefaultBranch
	}
	return ""
}

type AllowedAgentsForJobAPIResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AllowedAgents []*AllowedAgent        `protobuf:"bytes,1,rep,name=allowed_agents,proto3" json:"allowed_agents,omitempty"`
	Job           *Job                   `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
	Pipeline      *Pipeline              `protobuf:"bytes,3,opt,name=pipeline,proto3" json:"pipeline,omitempty"`
	Project       *Project               `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	User          *User                  `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	Environment   *Environment           `protobuf:"bytes,6,opt,name=environment,proto3" json:"environment,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AllowedAgentsForJobAPIResponse) ProtoMessage() {}

func (x *AllowedAgentsForJobAPIResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AllowedAgentsForJobAPIResponse.ProtoReflect.Descriptor instead.
func (*AllowedAgentsForJobAPIResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{12}
}

func (x *AllowedAgentsForJobAPIResponse) GetAllowedAgents() []*AllowedAgent {
	if x != nil {
		return x.AllowedAgents
	}
	return nil
}

func (x *AllowedAgentsForJobAPIResponse) GetJob() *Job {
	if x != nil {
		return x.Job
	}
	return nil
}

func (x *AllowedAgentsForJobAPIResponse) GetPipeline() *Pipeline {
	if x != nil {
		return x.Pipeline
	}
	return nil
}

func (x *AllowedAgentsForJobAPIResponse) GetProject() *Project {
	if x != nil {
		return x.Project
	}
	return nil
}

func (x *AllowedAgentsForJobAPIResponse) GetUser() *User {
	if x != nil {
		return x.User
	}
	return nil
}

func (x *AllowedAgentsForJobAPIResponse) GetEnvironment() *Environment {
	if x != nil {
		return x.Environment
	}
	return nil
}

type AuthorizeProxyUserAPIRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AgentId       int64                  `protobuf:"varint,1,opt,name=agent_id,proto3" json:"agent_id,omitempty"`
	AccessType    string                 `protobuf:"bytes,2,opt,name=access_type,proto3" json:"access_type,omitempty"`
	AccessKey     string                 `protobuf:"bytes,3,opt,name=access_key,proto3" json:"access_key,omitempty"`
	CsrfToken     string                 `protobuf:"bytes,4,opt,name=csrf_token,proto3" json:"csrf_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AuthorizeProxyUserAPIRequest) ProtoMessage() {}

func (x *AuthorizeProxyUserAPIRequest) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AuthorizeProxyUserAPIRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeProxyUserAPIRequest) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{13}
}

func (x *AuthorizeProxyUserAPIRequest) GetAgentId() int64 {
	if x != nil {
		return x.AgentId
	}
	return 0
}

func (x *AuthorizeProxyUserAPIRequest) GetAccessType() string {
	if x != nil {
		return x.AccessType
	}
	return ""
}

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

func (x *AuthorizeProxyUserAPIRequest) GetCsrfToken() string {
	if x != nil {
		return x.CsrfToken
	}
	return ""
}

type AuthorizeProxyUserAPIResponse struct {
	state         protoimpl.MessageState      `protogen:"open.v1"`
	Agent         *AuthorizedAgentForUser     `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
	User          *User                       `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	AccessAs      *AccessAsProxyAuthorization `protobuf:"bytes,3,opt,name=access_as,proto3" json:"access_as,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AuthorizeProxyUserAPIResponse) ProtoMessage() {}

func (x *AuthorizeProxyUserAPIResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AuthorizeProxyUserAPIResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeProxyUserAPIResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{14}
}

func (x *AuthorizeProxyUserAPIResponse) GetAgent() *AuthorizedAgentForUser {
	if x != nil {
		return x.Agent
	}
	return nil
}

func (x *AuthorizeProxyUserAPIResponse) GetUser() *User {
	if x != nil {
		return x.User
	}
	return nil
}

func (x *AuthorizeProxyUserAPIResponse) GetAccessAs() *AccessAsProxyAuthorization {
	if x != nil {
		return x.AccessAs
	}
	return nil
}

type AuthorizedAgentForUser struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ConfigProject *ConfigProject         `protobuf:"bytes,2,opt,name=config_project,proto3" json:"config_project,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AuthorizedAgentForUser) ProtoMessage() {}

func (x *AuthorizedAgentForUser) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AuthorizedAgentForUser.ProtoReflect.Descriptor instead.
func (*AuthorizedAgentForUser) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{15}
}

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

func (x *AuthorizedAgentForUser) GetConfigProject() *ConfigProject {
	if x != nil {
		return x.ConfigProject
	}
	return nil
}

type AccessAsProxyAuthorization struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to AccessAs:
	//
	//	*AccessAsProxyAuthorization_Agent
	//	*AccessAsProxyAuthorization_User
	AccessAs      isAccessAsProxyAuthorization_AccessAs `protobuf_oneof:"access_as"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AccessAsProxyAuthorization) ProtoMessage() {}

func (x *AccessAsProxyAuthorization) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AccessAsProxyAuthorization.ProtoReflect.Descriptor instead.
func (*AccessAsProxyAuthorization) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{16}
}

func (x *AccessAsProxyAuthorization) GetAccessAs() isAccessAsProxyAuthorization_AccessAs {
	if x != nil {
		return x.AccessAs
	}
	return nil
}

func (x *AccessAsProxyAuthorization) GetAgent() *AccessAsAgentAuthorization {
	if x != nil {
		if x, ok := x.AccessAs.(*AccessAsProxyAuthorization_Agent); ok {
			return x.Agent
		}
	}
	return nil
}

func (x *AccessAsProxyAuthorization) GetUser() *AccessAsUserAuthorization {
	if x != nil {
		if x, ok := x.AccessAs.(*AccessAsProxyAuthorization_User); ok {
			return x.User
		}
	}
	return nil
}

type isAccessAsProxyAuthorization_AccessAs interface {
	isAccessAsProxyAuthorization_AccessAs()
}

type AccessAsProxyAuthorization_Agent struct {
	Agent *AccessAsAgentAuthorization `protobuf:"bytes,1,opt,name=agent,proto3,oneof"`
}

type AccessAsProxyAuthorization_User struct {
	User *AccessAsUserAuthorization `protobuf:"bytes,2,opt,name=user,proto3,oneof"`
}

func (*AccessAsProxyAuthorization_Agent) isAccessAsProxyAuthorization_AccessAs() {}

func (*AccessAsProxyAuthorization_User) isAccessAsProxyAuthorization_AccessAs() {}

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

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

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

func (*AccessAsAgentAuthorization) ProtoMessage() {}

func (x *AccessAsAgentAuthorization) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AccessAsAgentAuthorization.ProtoReflect.Descriptor instead.
func (*AccessAsAgentAuthorization) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{17}
}

type AccessAsUserAuthorization struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Projects      []*ProjectAccessCF     `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	Groups        []*GroupAccessCF       `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AccessAsUserAuthorization) ProtoMessage() {}

func (x *AccessAsUserAuthorization) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AccessAsUserAuthorization.ProtoReflect.Descriptor instead.
func (*AccessAsUserAuthorization) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{18}
}

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

func (x *AccessAsUserAuthorization) GetGroups() []*GroupAccessCF {
	if x != nil {
		return x.Groups
	}
	return nil
}

type ProjectAccessCF struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Roles         []string               `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ProjectAccessCF) ProtoMessage() {}

func (x *ProjectAccessCF) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 ProjectAccessCF.ProtoReflect.Descriptor instead.
func (*ProjectAccessCF) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{19}
}

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

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

type GroupAccessCF struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Roles         []string               `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GroupAccessCF) ProtoMessage() {}

func (x *GroupAccessCF) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 GroupAccessCF.ProtoReflect.Descriptor instead.
func (*GroupAccessCF) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{20}
}

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

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

type AgentConfigurationRequest struct {
	state               protoimpl.MessageState      `protogen:"open.v1"`
	AgentId             int64                       `protobuf:"varint,1,opt,name=agent_id,proto3" json:"agent_id,omitempty"`
	AgentConfig         *agentcfg.ConfigurationFile `protobuf:"bytes,2,opt,name=agent_config,proto3" json:"agent_config,omitempty"`
	AgentConfigCommitId string                      `protobuf:"bytes,3,opt,name=agent_config_commit_id,proto3" json:"agent_config_commit_id,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

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

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

func (*AgentConfigurationRequest) ProtoMessage() {}

func (x *AgentConfigurationRequest) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AgentConfigurationRequest.ProtoReflect.Descriptor instead.
func (*AgentConfigurationRequest) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{21}
}

func (x *AgentConfigurationRequest) GetAgentId() int64 {
	if x != nil {
		return x.AgentId
	}
	return 0
}

func (x *AgentConfigurationRequest) GetAgentConfig() *agentcfg.ConfigurationFile {
	if x != nil {
		return x.AgentConfig
	}
	return nil
}

func (x *AgentConfigurationRequest) GetAgentConfigCommitId() string {
	if x != nil {
		return x.AgentConfigCommitId
	}
	return ""
}

type ReceptiveAgent struct {
	state   protoimpl.MessageState `protogen:"open.v1"`
	Id      int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Url     string                 `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	CaCert  string                 `protobuf:"bytes,3,opt,name=ca_cert,proto3" json:"ca_cert,omitempty"`
	TlsHost string                 `protobuf:"bytes,4,opt,name=tls_host,proto3" json:"tls_host,omitempty"`
	// Types that are valid to be assigned to AuthConfig:
	//
	//	*ReceptiveAgent_Jwt
	//	*ReceptiveAgent_Mtls
	AuthConfig    isReceptiveAgent_AuthConfig `protobuf_oneof:"auth_config"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReceptiveAgent) ProtoMessage() {}

func (x *ReceptiveAgent) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 ReceptiveAgent.ProtoReflect.Descriptor instead.
func (*ReceptiveAgent) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{22}
}

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

func (x *ReceptiveAgent) GetUrl() string {
	if x != nil {
		return x.Url
	}
	return ""
}

func (x *ReceptiveAgent) GetCaCert() string {
	if x != nil {
		return x.CaCert
	}
	return ""
}

func (x *ReceptiveAgent) GetTlsHost() string {
	if x != nil {
		return x.TlsHost
	}
	return ""
}

func (x *ReceptiveAgent) GetAuthConfig() isReceptiveAgent_AuthConfig {
	if x != nil {
		return x.AuthConfig
	}
	return nil
}

func (x *ReceptiveAgent) GetJwt() *ReceptiveAgentJWTAuth {
	if x != nil {
		if x, ok := x.AuthConfig.(*ReceptiveAgent_Jwt); ok {
			return x.Jwt
		}
	}
	return nil
}

func (x *ReceptiveAgent) GetMtls() *ReceptiveAgentMutualTLSAuth {
	if x != nil {
		if x, ok := x.AuthConfig.(*ReceptiveAgent_Mtls); ok {
			return x.Mtls
		}
	}
	return nil
}

type isReceptiveAgent_AuthConfig interface {
	isReceptiveAgent_AuthConfig()
}

type ReceptiveAgent_Jwt struct {
	Jwt *ReceptiveAgentJWTAuth `protobuf:"bytes,5,opt,name=jwt,proto3,oneof"`
}

type ReceptiveAgent_Mtls struct {
	Mtls *ReceptiveAgentMutualTLSAuth `protobuf:"bytes,6,opt,name=mtls,proto3,oneof"`
}

func (*ReceptiveAgent_Jwt) isReceptiveAgent_AuthConfig() {}

func (*ReceptiveAgent_Mtls) isReceptiveAgent_AuthConfig() {}

type ReceptiveAgentJWTAuth struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	PrivateKey    string                 `protobuf:"bytes,1,opt,name=private_key,proto3" json:"private_key,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReceptiveAgentJWTAuth) ProtoMessage() {}

func (x *ReceptiveAgentJWTAuth) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 ReceptiveAgentJWTAuth.ProtoReflect.Descriptor instead.
func (*ReceptiveAgentJWTAuth) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{23}
}

func (x *ReceptiveAgentJWTAuth) GetPrivateKey() string {
	if x != nil {
		return x.PrivateKey
	}
	return ""
}

type ReceptiveAgentMutualTLSAuth struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ClientCert    string                 `protobuf:"bytes,1,opt,name=client_cert,proto3" json:"client_cert,omitempty"`
	ClientKey     string                 `protobuf:"bytes,2,opt,name=client_key,proto3" json:"client_key,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReceptiveAgentMutualTLSAuth) ProtoMessage() {}

func (x *ReceptiveAgentMutualTLSAuth) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 ReceptiveAgentMutualTLSAuth.ProtoReflect.Descriptor instead.
func (*ReceptiveAgentMutualTLSAuth) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{24}
}

func (x *ReceptiveAgentMutualTLSAuth) GetClientCert() string {
	if x != nil {
		return x.ClientCert
	}
	return ""
}

func (x *ReceptiveAgentMutualTLSAuth) GetClientKey() string {
	if x != nil {
		return x.ClientKey
	}
	return ""
}

type GetReceptiveAgentsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Agents        []*ReceptiveAgent      `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetReceptiveAgentsResponse) ProtoMessage() {}

func (x *GetReceptiveAgentsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 GetReceptiveAgentsResponse.ProtoReflect.Descriptor instead.
func (*GetReceptiveAgentsResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{25}
}

func (x *GetReceptiveAgentsResponse) GetAgents() []*ReceptiveAgent {
	if x != nil {
		return x.Agents
	}
	return nil
}

type GetWorkspacesServerConfigResponse struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	OauthClientId    string                 `protobuf:"bytes,1,opt,name=oauth_client_id,proto3" json:"oauth_client_id,omitempty"`
	OauthRedirectUrl string                 `protobuf:"bytes,2,opt,name=oauth_redirect_url,proto3" json:"oauth_redirect_url,omitempty"`
	ApiExternalUrl   string                 `protobuf:"bytes,3,opt,name=api_external_url,proto3" json:"api_external_url,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*GetWorkspacesServerConfigResponse) ProtoMessage() {}

func (x *GetWorkspacesServerConfigResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 GetWorkspacesServerConfigResponse.ProtoReflect.Descriptor instead.
func (*GetWorkspacesServerConfigResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{26}
}

func (x *GetWorkspacesServerConfigResponse) GetOauthClientId() string {
	if x != nil {
		return x.OauthClientId
	}
	return ""
}

func (x *GetWorkspacesServerConfigResponse) GetOauthRedirectUrl() string {
	if x != nil {
		return x.OauthRedirectUrl
	}
	return ""
}

func (x *GetWorkspacesServerConfigResponse) GetApiExternalUrl() string {
	if x != nil {
		return x.ApiExternalUrl
	}
	return ""
}

type GetOpenIDConfigurationResponse struct {
	state                            protoimpl.MessageState `protogen:"open.v1"`
	Issuer                           string                 `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	AuthorizationEndpoint            string                 `protobuf:"bytes,2,opt,name=authorization_endpoint,proto3" json:"authorization_endpoint,omitempty"`
	TokenEndpoint                    string                 `protobuf:"bytes,3,opt,name=token_endpoint,proto3" json:"token_endpoint,omitempty"`
	DeviceAuthorizationEndpoint      string                 `protobuf:"bytes,4,opt,name=device_authorization_endpoint,proto3" json:"device_authorization_endpoint,omitempty"`
	UserinfoEndpoint                 string                 `protobuf:"bytes,5,opt,name=userinfo_endpoint,proto3" json:"userinfo_endpoint,omitempty"`
	JwksUri                          string                 `protobuf:"bytes,6,opt,name=jwks_uri,proto3" json:"jwks_uri,omitempty"`
	IdTokenSigningAlgValuesSupported []string               `protobuf:"bytes,7,rep,name=id_token_signing_alg_values_supported,proto3" json:"id_token_signing_alg_values_supported,omitempty"`
	unknownFields                    protoimpl.UnknownFields
	sizeCache                        protoimpl.SizeCache
}

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

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

func (*GetOpenIDConfigurationResponse) ProtoMessage() {}

func (x *GetOpenIDConfigurationResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 GetOpenIDConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetOpenIDConfigurationResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{27}
}

func (x *GetOpenIDConfigurationResponse) GetIssuer() string {
	if x != nil {
		return x.Issuer
	}
	return ""
}

func (x *GetOpenIDConfigurationResponse) GetAuthorizationEndpoint() string {
	if x != nil {
		return x.AuthorizationEndpoint
	}
	return ""
}

func (x *GetOpenIDConfigurationResponse) GetTokenEndpoint() string {
	if x != nil {
		return x.TokenEndpoint
	}
	return ""
}

func (x *GetOpenIDConfigurationResponse) GetDeviceAuthorizationEndpoint() string {
	if x != nil {
		return x.DeviceAuthorizationEndpoint
	}
	return ""
}

func (x *GetOpenIDConfigurationResponse) GetUserinfoEndpoint() string {
	if x != nil {
		return x.UserinfoEndpoint
	}
	return ""
}

func (x *GetOpenIDConfigurationResponse) GetJwksUri() string {
	if x != nil {
		return x.JwksUri
	}
	return ""
}

func (x *GetOpenIDConfigurationResponse) GetIdTokenSigningAlgValuesSupported() []string {
	if x != nil {
		return x.IdTokenSigningAlgValuesSupported
	}
	return nil
}

type AuthorizeUserWorkspaceAccessInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,json=workspace_id,proto3" json:"id,omitempty"`
	Port          uint32                 `protobuf:"varint,2,opt,name=port,json=workspace_port,proto3" json:"port,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AuthorizeUserWorkspaceAccessInfo) ProtoMessage() {}

func (x *AuthorizeUserWorkspaceAccessInfo) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AuthorizeUserWorkspaceAccessInfo.ProtoReflect.Descriptor instead.
func (*AuthorizeUserWorkspaceAccessInfo) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{28}
}

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

func (x *AuthorizeUserWorkspaceAccessInfo) GetPort() uint32 {
	if x != nil {
		return x.Port
	}
	return 0
}

type AuthorizeUserWorkspaceAccessResponse struct {
	state         protoimpl.MessageState             `protogen:"open.v1"`
	Status        AuthorizeUserWorkspaceAccessStatus `protobuf:"varint,1,opt,name=status,proto3,enum=gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessStatus" json:"status,omitempty"`
	Info          *AuthorizeUserWorkspaceAccessInfo  `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AuthorizeUserWorkspaceAccessResponse) ProtoMessage() {}

func (x *AuthorizeUserWorkspaceAccessResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_gitlab_api_api_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 AuthorizeUserWorkspaceAccessResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeUserWorkspaceAccessResponse) Descriptor() ([]byte, []int) {
	return file_internal_gitlab_api_api_proto_rawDescGZIP(), []int{29}
}

func (x *AuthorizeUserWorkspaceAccessResponse) GetStatus() AuthorizeUserWorkspaceAccessStatus {
	if x != nil {
		return x.Status
	}
	return AuthorizeUserWorkspaceAccessStatus_INVALID_HOST
}

func (x *AuthorizeUserWorkspaceAccessResponse) GetInfo() *AuthorizeUserWorkspaceAccessInfo {
	if x != nil {
		return x.Info
	}
	return nil
}

var File_internal_gitlab_api_api_proto protoreflect.FileDescriptor

const file_internal_gitlab_api_api_proto_rawDesc = "" +
	"\n" +
	"\x1dinternal/gitlab/api/api.proto\x12\x17gitlab.agent.gitlab.api\x1a\x1bpkg/agentcfg/agentcfg.proto\x1a\x1fpkg/constraint/constraint.proto\x1a\x1bbuf/validate/validate.proto\x1a\x17pkg/entity/entity.proto\"\x80\x01\n" +
	"\rConfiguration\x12,\n" +
	"\x11default_namespace\x18\x01 \x01(\tR\x11default_namespace\x12A\n" +
	"\taccess_as\x18\x02 \x01(\v2#.gitlab.agent.agentcfg.CiAccessAsCFR\taccess_as\"\xc4\x01\n" +
	"\fAllowedAgent\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12V\n" +
	"\x0econfig_project\x18\x02 \x01(\v2&.gitlab.agent.gitlab.api.ConfigProjectB\x06\xbaH\x03\xc8\x01\x01R\x0econfig_project\x12L\n" +
	"\rconfiguration\x18\x03 \x01(\v2&.gitlab.agent.gitlab.api.ConfigurationR\rconfiguration\"\x1f\n" +
	"\rConfigProject\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\"\x1a\n" +
	"\bPipeline\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\"Q\n" +
	"\aProject\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x126\n" +
	"\x06groups\x18\x02 \x03(\v2\x1e.gitlab.agent.gitlab.api.GroupR\x06groups\"\x17\n" +
	"\x05Group\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\"\x15\n" +
	"\x03Job\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\";\n" +
	"\x04User\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12#\n" +
	"\busername\x18\x02 \x01(\tB\a\xbaH\x04r\x02 \x01R\busername\"G\n" +
	"\vEnvironment\x12\x1b\n" +
	"\x04slug\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\x04slug\x12\x1b\n" +
	"\x04tier\x18\x02 \x01(\tB\a\xbaH\x04r\x02 \x01R\x04tier\"\xe9\x02\n" +
	"\x15GetAgentkInfoResponse\x12'\n" +
	"\n" +
	"project_id\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\n" +
	"project_id\x12#\n" +
	"\bagent_id\x18\x02 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\bagent_id\x12)\n" +
	"\n" +
	"agent_name\x18\x03 \x01(\tB\t\xbaH\x06r\x04О^\x01R\n" +
	"agent_name\x12I\n" +
	"\vgitaly_info\x18\x04 \x01(\v2\x1f.gitlab.agent.entity.GitalyInfoB\x06\xbaH\x03\xc8\x01\x01R\vgitaly_info\x12[\n" +
	"\x11gitaly_repository\x18\x05 \x01(\v2%.gitlab.agent.entity.GitalyRepositoryB\x06\xbaH\x03\xc8\x01\x01R\x11gitaly_repository\x12/\n" +
	"\x0edefault_branch\x18\x06 \x01(\tB\a\xbaH\x04r\x02 \x01R\x0edefault_branch\"<\n" +
	"\x15GetAgentwInfoResponse\x12#\n" +
	"\bagent_id\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\bagent_id\"\x9d\x02\n" +
	"\x19GetRepositoryInfoResponse\x12'\n" +
	"\n" +
	"project_id\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\n" +
	"project_id\x12I\n" +
	"\vgitaly_info\x18\x02 \x01(\v2\x1f.gitlab.agent.entity.GitalyInfoB\x06\xbaH\x03\xc8\x01\x01R\vgitaly_info\x12[\n" +
	"\x11gitaly_repository\x18\x03 \x01(\v2%.gitlab.agent.entity.GitalyRepositoryB\x06\xbaH\x03\xc8\x01\x01R\x11gitaly_repository\x12/\n" +
	"\x0edefault_branch\x18\x04 \x01(\tB\a\xbaH\x04r\x02 \x01R\x0edefault_branch\"\xb5\x03\n" +
	"\x1eAllowedAgentsForJobAPIResponse\x12M\n" +
	"\x0eallowed_agents\x18\x01 \x03(\v2%.gitlab.agent.gitlab.api.AllowedAgentR\x0eallowed_agents\x126\n" +
	"\x03job\x18\x02 \x01(\v2\x1c.gitlab.agent.gitlab.api.JobB\x06\xbaH\x03\xc8\x01\x01R\x03job\x12E\n" +
	"\bpipeline\x18\x03 \x01(\v2!.gitlab.agent.gitlab.api.PipelineB\x06\xbaH\x03\xc8\x01\x01R\bpipeline\x12B\n" +
	"\aproject\x18\x04 \x01(\v2 .gitlab.agent.gitlab.api.ProjectB\x06\xbaH\x03\xc8\x01\x01R\aproject\x129\n" +
	"\x04user\x18\x05 \x01(\v2\x1d.gitlab.agent.gitlab.api.UserB\x06\xbaH\x03\xc8\x01\x01R\x04user\x12F\n" +
	"\venvironment\x18\x06 \x01(\v2$.gitlab.agent.gitlab.api.EnvironmentR\venvironment\"\xdc\x01\n" +
	"\x1cAuthorizeProxyUserAPIRequest\x12#\n" +
	"\bagent_id\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\bagent_id\x12N\n" +
	"\vaccess_type\x18\x02 \x01(\tB,\xbaH)r'R\x0esession_cookieR\x15personal_access_tokenR\vaccess_type\x12'\n" +
	"\n" +
	"access_key\x18\x03 \x01(\tB\a\xbaH\x04r\x02 \x01R\n" +
	"access_key\x12\x1e\n" +
	"\n" +
	"csrf_token\x18\x04 \x01(\tR\n" +
	"csrf_token\"\x84\x02\n" +
	"\x1dAuthorizeProxyUserAPIResponse\x12M\n" +
	"\x05agent\x18\x01 \x01(\v2/.gitlab.agent.gitlab.api.AuthorizedAgentForUserB\x06\xbaH\x03\xc8\x01\x01R\x05agent\x129\n" +
	"\x04user\x18\x02 \x01(\v2\x1d.gitlab.agent.gitlab.api.UserB\x06\xbaH\x03\xc8\x01\x01R\x04user\x12Y\n" +
	"\taccess_as\x18\x03 \x01(\v23.gitlab.agent.gitlab.api.AccessAsProxyAuthorizationB\x06\xbaH\x03\xc8\x01\x01R\taccess_as\"\x80\x01\n" +
	"\x16AuthorizedAgentForUser\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12V\n" +
	"\x0econfig_project\x18\x02 \x01(\v2&.gitlab.agent.gitlab.api.ConfigProjectB\x06\xbaH\x03\xc8\x01\x01R\x0econfig_project\"\xc7\x01\n" +
	"\x1aAccessAsProxyAuthorization\x12K\n" +
	"\x05agent\x18\x01 \x01(\v23.gitlab.agent.gitlab.api.AccessAsAgentAuthorizationH\x00R\x05agent\x12H\n" +
	"\x04user\x18\x02 \x01(\v22.gitlab.agent.gitlab.api.AccessAsUserAuthorizationH\x00R\x04userB\x12\n" +
	"\taccess_as\x12\x05\xbaH\x02\b\x01\"\x1c\n" +
	"\x1aAccessAsAgentAuthorization\"\xa1\x01\n" +
	"\x19AccessAsUserAuthorization\x12D\n" +
	"\bprojects\x18\x01 \x03(\v2(.gitlab.agent.gitlab.api.ProjectAccessCFR\bprojects\x12>\n" +
	"\x06groups\x18\x02 \x03(\v2&.gitlab.agent.gitlab.api.GroupAccessCFR\x06groups\"7\n" +
	"\x0fProjectAccessCF\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
	"\x05roles\x18\x02 \x03(\tR\x05roles\"5\n" +
	"\rGroupAccessCF\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
	"\x05roles\x18\x02 \x03(\tR\x05roles\"\xce\x01\n" +
	"\x19AgentConfigurationRequest\x12#\n" +
	"\bagent_id\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\bagent_id\x12T\n" +
	"\fagent_config\x18\x02 \x01(\v2(.gitlab.agent.agentcfg.ConfigurationFileB\x06\xbaH\x03\xc8\x01\x01R\fagent_config\x126\n" +
	"\x16agent_config_commit_id\x18\x03 \x01(\tR\x16agent_config_commit_id\"\xa1\x02\n" +
	"\x0eReceptiveAgent\x12\x17\n" +
	"\x02id\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\x02id\x12\x1a\n" +
	"\x03url\x18\x02 \x01(\tB\b\xbaH\x05r\x03\x88\x01\x01R\x03url\x12\x18\n" +
	"\aca_cert\x18\x03 \x01(\tR\aca_cert\x12\x1a\n" +
	"\btls_host\x18\x04 \x01(\tR\btls_host\x12B\n" +
	"\x03jwt\x18\x05 \x01(\v2..gitlab.agent.gitlab.api.ReceptiveAgentJWTAuthH\x00R\x03jwt\x12J\n" +
	"\x04mtls\x18\x06 \x01(\v24.gitlab.agent.gitlab.api.ReceptiveAgentMutualTLSAuthH\x00R\x04mtlsB\x14\n" +
	"\vauth_config\x12\x05\xbaH\x02\b\x01\"B\n" +
	"\x15ReceptiveAgentJWTAuth\x12)\n" +
	"\vprivate_key\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\vprivate_key\"q\n" +
	"\x1bReceptiveAgentMutualTLSAuth\x12)\n" +
	"\vclient_cert\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\vclient_cert\x12'\n" +
	"\n" +
	"client_key\x18\x02 \x01(\tB\a\xbaH\x04r\x02 \x01R\n" +
	"client_key\"]\n" +
	"\x1aGetReceptiveAgentsResponse\x12?\n" +
	"\x06agents\x18\x01 \x03(\v2'.gitlab.agent.gitlab.api.ReceptiveAgentR\x06agents\"\xc4\x01\n" +
	"!GetWorkspacesServerConfigResponse\x121\n" +
	"\x0foauth_client_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\x0foauth_client_id\x127\n" +
	"\x12oauth_redirect_url\x18\x02 \x01(\tB\a\xbaH\x04r\x02 \x01R\x12oauth_redirect_url\x123\n" +
	"\x10api_external_url\x18\x03 \x01(\tB\a\xbaH\x04r\x02 \x01R\x10api_external_url\"\xfe\x02\n" +
	"\x1eGetOpenIDConfigurationResponse\x12\x16\n" +
	"\x06issuer\x18\x01 \x01(\tR\x06issuer\x126\n" +
	"\x16authorization_endpoint\x18\x02 \x01(\tR\x16authorization_endpoint\x12&\n" +
	"\x0etoken_endpoint\x18\x03 \x01(\tR\x0etoken_endpoint\x12D\n" +
	"\x1ddevice_authorization_endpoint\x18\x04 \x01(\tR\x1ddevice_authorization_endpoint\x12,\n" +
	"\x11userinfo_endpoint\x18\x05 \x01(\tR\x11userinfo_endpoint\x12\x1a\n" +
	"\bjwks_uri\x18\x06 \x01(\tR\bjwks_uri\x12T\n" +
	"%id_token_signing_alg_values_supported\x18\a \x03(\tR%id_token_signing_alg_values_supported\"e\n" +
	" AuthorizeUserWorkspaceAccessInfo\x12\x18\n" +
	"\x02id\x18\x01 \x01(\x03R\fworkspace_id\x12'\n" +
	"\x04port\x18\x02 \x01(\rB\t\xbaH\x06*\x04\x18\xff\xff\x03R\x0eworkspace_port\"\xd2\x01\n" +
	"$AuthorizeUserWorkspaceAccessResponse\x12[\n" +
	"\x06status\x18\x01 \x01(\x0e2;.gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessStatusB\x06\xbaH\x03\xc8\x01\x01R\x06status\x12M\n" +
	"\x04info\x18\x02 \x01(\v29.gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessInfoR\x04info*\x87\x01\n" +
	"\"AuthorizeUserWorkspaceAccessStatus\x12\x10\n" +
	"\fINVALID_HOST\x10\x00\x12\x12\n" +
	"\x0eNOT_AUTHORIZED\x10\x01\x12\x0e\n" +
	"\n" +
	"AUTHORIZED\x10\x02\x12\x17\n" +
	"\x13WORKSPACE_NOT_FOUND\x10\x03\x12\x12\n" +
	"\x0ePORT_NOT_FOUND\x10\x04BPZNgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/gitlab/apib\x06proto3"

var (
	file_internal_gitlab_api_api_proto_rawDescOnce sync.Once
	file_internal_gitlab_api_api_proto_rawDescData []byte
)

func file_internal_gitlab_api_api_proto_rawDescGZIP() []byte {
	file_internal_gitlab_api_api_proto_rawDescOnce.Do(func() {
		file_internal_gitlab_api_api_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_gitlab_api_api_proto_rawDesc), len(file_internal_gitlab_api_api_proto_rawDesc)))
	})
	return file_internal_gitlab_api_api_proto_rawDescData
}

var file_internal_gitlab_api_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_internal_gitlab_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
var file_internal_gitlab_api_api_proto_goTypes = []any{
	(AuthorizeUserWorkspaceAccessStatus)(0),      // 0: gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessStatus
	(*Configuration)(nil),                        // 1: gitlab.agent.gitlab.api.Configuration
	(*AllowedAgent)(nil),                         // 2: gitlab.agent.gitlab.api.AllowedAgent
	(*ConfigProject)(nil),                        // 3: gitlab.agent.gitlab.api.ConfigProject
	(*Pipeline)(nil),                             // 4: gitlab.agent.gitlab.api.Pipeline
	(*Project)(nil),                              // 5: gitlab.agent.gitlab.api.Project
	(*Group)(nil),                                // 6: gitlab.agent.gitlab.api.Group
	(*Job)(nil),                                  // 7: gitlab.agent.gitlab.api.Job
	(*User)(nil),                                 // 8: gitlab.agent.gitlab.api.User
	(*Environment)(nil),                          // 9: gitlab.agent.gitlab.api.Environment
	(*GetAgentkInfoResponse)(nil),                // 10: gitlab.agent.gitlab.api.GetAgentkInfoResponse
	(*GetAgentwInfoResponse)(nil),                // 11: gitlab.agent.gitlab.api.GetAgentwInfoResponse
	(*GetRepositoryInfoResponse)(nil),            // 12: gitlab.agent.gitlab.api.GetRepositoryInfoResponse
	(*AllowedAgentsForJobAPIResponse)(nil),       // 13: gitlab.agent.gitlab.api.AllowedAgentsForJobAPIResponse
	(*AuthorizeProxyUserAPIRequest)(nil),         // 14: gitlab.agent.gitlab.api.AuthorizeProxyUserAPIRequest
	(*AuthorizeProxyUserAPIResponse)(nil),        // 15: gitlab.agent.gitlab.api.AuthorizeProxyUserAPIResponse
	(*AuthorizedAgentForUser)(nil),               // 16: gitlab.agent.gitlab.api.AuthorizedAgentForUser
	(*AccessAsProxyAuthorization)(nil),           // 17: gitlab.agent.gitlab.api.AccessAsProxyAuthorization
	(*AccessAsAgentAuthorization)(nil),           // 18: gitlab.agent.gitlab.api.AccessAsAgentAuthorization
	(*AccessAsUserAuthorization)(nil),            // 19: gitlab.agent.gitlab.api.AccessAsUserAuthorization
	(*ProjectAccessCF)(nil),                      // 20: gitlab.agent.gitlab.api.ProjectAccessCF
	(*GroupAccessCF)(nil),                        // 21: gitlab.agent.gitlab.api.GroupAccessCF
	(*AgentConfigurationRequest)(nil),            // 22: gitlab.agent.gitlab.api.AgentConfigurationRequest
	(*ReceptiveAgent)(nil),                       // 23: gitlab.agent.gitlab.api.ReceptiveAgent
	(*ReceptiveAgentJWTAuth)(nil),                // 24: gitlab.agent.gitlab.api.ReceptiveAgentJWTAuth
	(*ReceptiveAgentMutualTLSAuth)(nil),          // 25: gitlab.agent.gitlab.api.ReceptiveAgentMutualTLSAuth
	(*GetReceptiveAgentsResponse)(nil),           // 26: gitlab.agent.gitlab.api.GetReceptiveAgentsResponse
	(*GetWorkspacesServerConfigResponse)(nil),    // 27: gitlab.agent.gitlab.api.GetWorkspacesServerConfigResponse
	(*GetOpenIDConfigurationResponse)(nil),       // 28: gitlab.agent.gitlab.api.GetOpenIDConfigurationResponse
	(*AuthorizeUserWorkspaceAccessInfo)(nil),     // 29: gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessInfo
	(*AuthorizeUserWorkspaceAccessResponse)(nil), // 30: gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessResponse
	(*agentcfg.CiAccessAsCF)(nil),                // 31: gitlab.agent.agentcfg.CiAccessAsCF
	(*entity.GitalyInfo)(nil),                    // 32: gitlab.agent.entity.GitalyInfo
	(*entity.GitalyRepository)(nil),              // 33: gitlab.agent.entity.GitalyRepository
	(*agentcfg.ConfigurationFile)(nil),           // 34: gitlab.agent.agentcfg.ConfigurationFile
}
var file_internal_gitlab_api_api_proto_depIdxs = []int32{
	31, // 0: gitlab.agent.gitlab.api.Configuration.access_as:type_name -> gitlab.agent.agentcfg.CiAccessAsCF
	3,  // 1: gitlab.agent.gitlab.api.AllowedAgent.config_project:type_name -> gitlab.agent.gitlab.api.ConfigProject
	1,  // 2: gitlab.agent.gitlab.api.AllowedAgent.configuration:type_name -> gitlab.agent.gitlab.api.Configuration
	6,  // 3: gitlab.agent.gitlab.api.Project.groups:type_name -> gitlab.agent.gitlab.api.Group
	32, // 4: gitlab.agent.gitlab.api.GetAgentkInfoResponse.gitaly_info:type_name -> gitlab.agent.entity.GitalyInfo
	33, // 5: gitlab.agent.gitlab.api.GetAgentkInfoResponse.gitaly_repository:type_name -> gitlab.agent.entity.GitalyRepository
	32, // 6: gitlab.agent.gitlab.api.GetRepositoryInfoResponse.gitaly_info:type_name -> gitlab.agent.entity.GitalyInfo
	33, // 7: gitlab.agent.gitlab.api.GetRepositoryInfoResponse.gitaly_repository:type_name -> gitlab.agent.entity.GitalyRepository
	2,  // 8: gitlab.agent.gitlab.api.AllowedAgentsForJobAPIResponse.allowed_agents:type_name -> gitlab.agent.gitlab.api.AllowedAgent
	7,  // 9: gitlab.agent.gitlab.api.AllowedAgentsForJobAPIResponse.job:type_name -> gitlab.agent.gitlab.api.Job
	4,  // 10: gitlab.agent.gitlab.api.AllowedAgentsForJobAPIResponse.pipeline:type_name -> gitlab.agent.gitlab.api.Pipeline
	5,  // 11: gitlab.agent.gitlab.api.AllowedAgentsForJobAPIResponse.project:type_name -> gitlab.agent.gitlab.api.Project
	8,  // 12: gitlab.agent.gitlab.api.AllowedAgentsForJobAPIResponse.user:type_name -> gitlab.agent.gitlab.api.User
	9,  // 13: gitlab.agent.gitlab.api.AllowedAgentsForJobAPIResponse.environment:type_name -> gitlab.agent.gitlab.api.Environment
	16, // 14: gitlab.agent.gitlab.api.AuthorizeProxyUserAPIResponse.agent:type_name -> gitlab.agent.gitlab.api.AuthorizedAgentForUser
	8,  // 15: gitlab.agent.gitlab.api.AuthorizeProxyUserAPIResponse.user:type_name -> gitlab.agent.gitlab.api.User
	17, // 16: gitlab.agent.gitlab.api.AuthorizeProxyUserAPIResponse.access_as:type_name -> gitlab.agent.gitlab.api.AccessAsProxyAuthorization
	3,  // 17: gitlab.agent.gitlab.api.AuthorizedAgentForUser.config_project:type_name -> gitlab.agent.gitlab.api.ConfigProject
	18, // 18: gitlab.agent.gitlab.api.AccessAsProxyAuthorization.agent:type_name -> gitlab.agent.gitlab.api.AccessAsAgentAuthorization
	19, // 19: gitlab.agent.gitlab.api.AccessAsProxyAuthorization.user:type_name -> gitlab.agent.gitlab.api.AccessAsUserAuthorization
	20, // 20: gitlab.agent.gitlab.api.AccessAsUserAuthorization.projects:type_name -> gitlab.agent.gitlab.api.ProjectAccessCF
	21, // 21: gitlab.agent.gitlab.api.AccessAsUserAuthorization.groups:type_name -> gitlab.agent.gitlab.api.GroupAccessCF
	34, // 22: gitlab.agent.gitlab.api.AgentConfigurationRequest.agent_config:type_name -> gitlab.agent.agentcfg.ConfigurationFile
	24, // 23: gitlab.agent.gitlab.api.ReceptiveAgent.jwt:type_name -> gitlab.agent.gitlab.api.ReceptiveAgentJWTAuth
	25, // 24: gitlab.agent.gitlab.api.ReceptiveAgent.mtls:type_name -> gitlab.agent.gitlab.api.ReceptiveAgentMutualTLSAuth
	23, // 25: gitlab.agent.gitlab.api.GetReceptiveAgentsResponse.agents:type_name -> gitlab.agent.gitlab.api.ReceptiveAgent
	0,  // 26: gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessResponse.status:type_name -> gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessStatus
	29, // 27: gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessResponse.info:type_name -> gitlab.agent.gitlab.api.AuthorizeUserWorkspaceAccessInfo
	28, // [28:28] is the sub-list for method output_type
	28, // [28:28] is the sub-list for method input_type
	28, // [28:28] is the sub-list for extension type_name
	28, // [28:28] is the sub-list for extension extendee
	0,  // [0:28] is the sub-list for field type_name
}

func init() { file_internal_gitlab_api_api_proto_init() }
func file_internal_gitlab_api_api_proto_init() {
	if File_internal_gitlab_api_api_proto != nil {
		return
	}
	file_internal_gitlab_api_api_proto_msgTypes[16].OneofWrappers = []any{
		(*AccessAsProxyAuthorization_Agent)(nil),
		(*AccessAsProxyAuthorization_User)(nil),
	}
	file_internal_gitlab_api_api_proto_msgTypes[22].OneofWrappers = []any{
		(*ReceptiveAgent_Jwt)(nil),
		(*ReceptiveAgent_Mtls)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_gitlab_api_api_proto_rawDesc), len(file_internal_gitlab_api_api_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   30,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_internal_gitlab_api_api_proto_goTypes,
		DependencyIndexes: file_internal_gitlab_api_api_proto_depIdxs,
		EnumInfos:         file_internal_gitlab_api_api_proto_enumTypes,
		MessageInfos:      file_internal_gitlab_api_api_proto_msgTypes,
	}.Build()
	File_internal_gitlab_api_api_proto = out.File
	file_internal_gitlab_api_api_proto_goTypes = nil
	file_internal_gitlab_api_api_proto_depIdxs = nil
}
