// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.3
// source: internal/module/kubernetes_api/server/server.proto

package server

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

	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	kubernetes_api "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/kubernetes_api"
	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 WebSocketTokenClaims struct {
	state                    protoimpl.MessageState              `protogen:"open.v1"`
	RegisteredClaimIssuer    string                              `protobuf:"bytes,1,opt,name=registered_claim_issuer,json=iss,proto3" json:"registered_claim_issuer,omitempty"`
	RegisteredClaimSubject   string                              `protobuf:"bytes,2,opt,name=registered_claim_subject,json=sub,proto3" json:"registered_claim_subject,omitempty"`
	RegisteredClaimAudience  []string                            `protobuf:"bytes,3,rep,name=registered_claim_audience,json=aud,proto3" json:"registered_claim_audience,omitempty"`
	RegisteredClaimExpiresAt int64                               `protobuf:"varint,4,opt,name=registered_claim_expires_at,json=exp,proto3" json:"registered_claim_expires_at,omitempty"`
	RegisteredClaimNotBefore int64                               `protobuf:"varint,5,opt,name=registered_claim_not_before,json=nbf,proto3" json:"registered_claim_not_before,omitempty"`
	RegisteredClaimIssuedAt  int64                               `protobuf:"varint,6,opt,name=registered_claim_issued_at,json=iat,proto3" json:"registered_claim_issued_at,omitempty"`
	Endpoint                 string                              `protobuf:"bytes,7,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	AgentId                  int64                               `protobuf:"varint,8,opt,name=agent_id,proto3" json:"agent_id,omitempty"`
	ImpersonationConfig      *kubernetes_api.ImpersonationConfig `protobuf:"bytes,9,opt,name=impersonation_config,proto3" json:"impersonation_config,omitempty"`
	FeatureFlags             map[string]bool                     `protobuf:"bytes,10,rep,name=feature_flags,proto3" json:"feature_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

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

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

func (*WebSocketTokenClaims) ProtoMessage() {}

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

func (x *WebSocketTokenClaims) GetRegisteredClaimIssuer() string {
	if x != nil {
		return x.RegisteredClaimIssuer
	}
	return ""
}

func (x *WebSocketTokenClaims) GetRegisteredClaimSubject() string {
	if x != nil {
		return x.RegisteredClaimSubject
	}
	return ""
}

func (x *WebSocketTokenClaims) GetRegisteredClaimAudience() []string {
	if x != nil {
		return x.RegisteredClaimAudience
	}
	return nil
}

func (x *WebSocketTokenClaims) GetRegisteredClaimExpiresAt() int64 {
	if x != nil {
		return x.RegisteredClaimExpiresAt
	}
	return 0
}

func (x *WebSocketTokenClaims) GetRegisteredClaimNotBefore() int64 {
	if x != nil {
		return x.RegisteredClaimNotBefore
	}
	return 0
}

func (x *WebSocketTokenClaims) GetRegisteredClaimIssuedAt() int64 {
	if x != nil {
		return x.RegisteredClaimIssuedAt
	}
	return 0
}

func (x *WebSocketTokenClaims) GetEndpoint() string {
	if x != nil {
		return x.Endpoint
	}
	return ""
}

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

func (x *WebSocketTokenClaims) GetImpersonationConfig() *kubernetes_api.ImpersonationConfig {
	if x != nil {
		return x.ImpersonationConfig
	}
	return nil
}

func (x *WebSocketTokenClaims) GetFeatureFlags() map[string]bool {
	if x != nil {
		return x.FeatureFlags
	}
	return nil
}

var File_internal_module_kubernetes_api_server_server_proto protoreflect.FileDescriptor

const file_internal_module_kubernetes_api_server_server_proto_rawDesc = "" +
	"\n" +
	"2internal/module/kubernetes_api/server/server.proto\x12\"gitlab.agent.kubernetes_api.server\x1a3internal/module/kubernetes_api/kubernetes_api.proto\x1a\x1bbuf/validate/validate.proto\"\xeb\x04\n" +
	"\x14WebSocketTokenClaims\x12$\n" +
	"\x17registered_claim_issuer\x18\x01 \x01(\tR\x03iss\x12%\n" +
	"\x18registered_claim_subject\x18\x02 \x01(\tR\x03sub\x12&\n" +
	"\x19registered_claim_audience\x18\x03 \x03(\tR\x03aud\x12(\n" +
	"\x1bregistered_claim_expires_at\x18\x04 \x01(\x03R\x03exp\x12(\n" +
	"\x1bregistered_claim_not_before\x18\x05 \x01(\x03R\x03nbf\x12'\n" +
	"\x1aregistered_claim_issued_at\x18\x06 \x01(\x03R\x03iat\x12#\n" +
	"\bendpoint\x18\a \x01(\tB\a\xbaH\x04r\x02 \x01R\bendpoint\x12#\n" +
	"\bagent_id\x18\b \x01(\x03B\a\xbaH\x04\"\x02 \x00R\bagent_id\x12d\n" +
	"\x14impersonation_config\x18\t \x01(\v20.gitlab.agent.kubernetes_api.ImpersonationConfigR\x14impersonation_config\x12p\n" +
	"\rfeature_flags\x18\n" +
	" \x03(\v2J.gitlab.agent.kubernetes_api.server.WebSocketTokenClaims.FeatureFlagsEntryR\rfeature_flags\x1a?\n" +
	"\x11FeatureFlagsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\bR\x05value:\x028\x01BbZ`gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/kubernetes_api/serverb\x06proto3"

var (
	file_internal_module_kubernetes_api_server_server_proto_rawDescOnce sync.Once
	file_internal_module_kubernetes_api_server_server_proto_rawDescData []byte
)

func file_internal_module_kubernetes_api_server_server_proto_rawDescGZIP() []byte {
	file_internal_module_kubernetes_api_server_server_proto_rawDescOnce.Do(func() {
		file_internal_module_kubernetes_api_server_server_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_kubernetes_api_server_server_proto_rawDesc), len(file_internal_module_kubernetes_api_server_server_proto_rawDesc)))
	})
	return file_internal_module_kubernetes_api_server_server_proto_rawDescData
}

var file_internal_module_kubernetes_api_server_server_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_internal_module_kubernetes_api_server_server_proto_goTypes = []any{
	(*WebSocketTokenClaims)(nil), // 0: gitlab.agent.kubernetes_api.server.WebSocketTokenClaims
	nil,                          // 1: gitlab.agent.kubernetes_api.server.WebSocketTokenClaims.FeatureFlagsEntry
	(*kubernetes_api.ImpersonationConfig)(nil), // 2: gitlab.agent.kubernetes_api.ImpersonationConfig
}
var file_internal_module_kubernetes_api_server_server_proto_depIdxs = []int32{
	2, // 0: gitlab.agent.kubernetes_api.server.WebSocketTokenClaims.impersonation_config:type_name -> gitlab.agent.kubernetes_api.ImpersonationConfig
	1, // 1: gitlab.agent.kubernetes_api.server.WebSocketTokenClaims.feature_flags:type_name -> gitlab.agent.kubernetes_api.server.WebSocketTokenClaims.FeatureFlagsEntry
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_internal_module_kubernetes_api_server_server_proto_init() }
func file_internal_module_kubernetes_api_server_server_proto_init() {
	if File_internal_module_kubernetes_api_server_server_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_module_kubernetes_api_server_server_proto_rawDesc), len(file_internal_module_kubernetes_api_server_server_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_internal_module_kubernetes_api_server_server_proto_goTypes,
		DependencyIndexes: file_internal_module_kubernetes_api_server_server_proto_depIdxs,
		MessageInfos:      file_internal_module_kubernetes_api_server_server_proto_msgTypes,
	}.Build()
	File_internal_module_kubernetes_api_server_server_proto = out.File
	file_internal_module_kubernetes_api_server_server_proto_goTypes = nil
	file_internal_module_kubernetes_api_server_server_proto_depIdxs = nil
}
