// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: ar/v1/permissions.proto

package arv1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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

type WorkerPermission int32

const (
	WorkerPermission_WORKER_PERMISSION_UNSPECIFIED WorkerPermission = 0
	WorkerPermission_WORKER_PERMISSION_NONE        WorkerPermission = 1
	WorkerPermission_WORKER_PERMISSION_COSMETIC    WorkerPermission = 2
	WorkerPermission_WORKER_PERMISSION_FULL        WorkerPermission = 3
)

// Enum value maps for WorkerPermission.
var (
	WorkerPermission_name = map[int32]string{
		0: "WORKER_PERMISSION_UNSPECIFIED",
		1: "WORKER_PERMISSION_NONE",
		2: "WORKER_PERMISSION_COSMETIC",
		3: "WORKER_PERMISSION_FULL",
	}
	WorkerPermission_value = map[string]int32{
		"WORKER_PERMISSION_UNSPECIFIED": 0,
		"WORKER_PERMISSION_NONE":        1,
		"WORKER_PERMISSION_COSMETIC":    2,
		"WORKER_PERMISSION_FULL":        3,
	}
)

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

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

func (WorkerPermission) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_permissions_proto_enumTypes[0].Descriptor()
}

func (WorkerPermission) Type() protoreflect.EnumType {
	return &file_ar_v1_permissions_proto_enumTypes[0]
}

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

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

var File_ar_v1_permissions_proto protoreflect.FileDescriptor

const file_ar_v1_permissions_proto_rawDesc = "" +
	"\n" +
	"\x17ar/v1/permissions.proto\x12\x05ar.v1*\x8d\x01\n" +
	"\x10WorkerPermission\x12!\n" +
	"\x1dWORKER_PERMISSION_UNSPECIFIED\x10\x00\x12\x1a\n" +
	"\x16WORKER_PERMISSION_NONE\x10\x01\x12\x1e\n" +
	"\x1aWORKER_PERMISSION_COSMETIC\x10\x02\x12\x1a\n" +
	"\x16WORKER_PERMISSION_FULL\x10\x03B\x8c\x01\n" +
	"\tcom.ar.v1B\x10PermissionsProtoP\x01Z/github.com/cobotar/protocol/messages/ar/v1;arv1\xa2\x02\x03AXX\xaa\x02\x0eMessages.AR.V1\xca\x02\x05Ar\\V1\xe2\x02\x11Ar\\V1\\GPBMetadata\xea\x02\x06Ar::V1b\x06proto3"

var (
	file_ar_v1_permissions_proto_rawDescOnce sync.Once
	file_ar_v1_permissions_proto_rawDescData []byte
)

func file_ar_v1_permissions_proto_rawDescGZIP() []byte {
	file_ar_v1_permissions_proto_rawDescOnce.Do(func() {
		file_ar_v1_permissions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_permissions_proto_rawDesc), len(file_ar_v1_permissions_proto_rawDesc)))
	})
	return file_ar_v1_permissions_proto_rawDescData
}

var file_ar_v1_permissions_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_ar_v1_permissions_proto_goTypes = []any{
	(WorkerPermission)(0), // 0: ar.v1.WorkerPermission
}
var file_ar_v1_permissions_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_ar_v1_permissions_proto_init() }
func file_ar_v1_permissions_proto_init() {
	if File_ar_v1_permissions_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ar_v1_permissions_proto_rawDesc), len(file_ar_v1_permissions_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_permissions_proto_goTypes,
		DependencyIndexes: file_ar_v1_permissions_proto_depIdxs,
		EnumInfos:         file_ar_v1_permissions_proto_enumTypes,
	}.Build()
	File_ar_v1_permissions_proto = out.File
	file_ar_v1_permissions_proto_goTypes = nil
	file_ar_v1_permissions_proto_depIdxs = nil
}
