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

package servicev1

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

const (
	ARClientRole_AR_CLIENT_ROLE_UNSPECIFIED ARClientRole = 0
	ARClientRole_AR_CLIENT_ROLE_MAIN        ARClientRole = 1
	ARClientRole_AR_CLIENT_ROLE_SPECTATOR   ARClientRole = 2
)

// Enum value maps for ARClientRole.
var (
	ARClientRole_name = map[int32]string{
		0: "AR_CLIENT_ROLE_UNSPECIFIED",
		1: "AR_CLIENT_ROLE_MAIN",
		2: "AR_CLIENT_ROLE_SPECTATOR",
	}
	ARClientRole_value = map[string]int32{
		"AR_CLIENT_ROLE_UNSPECIFIED": 0,
		"AR_CLIENT_ROLE_MAIN":        1,
		"AR_CLIENT_ROLE_SPECTATOR":   2,
	}
)

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

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

func (ARClientRole) Descriptor() protoreflect.EnumDescriptor {
	return file_service_v1_ar_client_proto_enumTypes[0].Descriptor()
}

func (ARClientRole) Type() protoreflect.EnumType {
	return &file_service_v1_ar_client_proto_enumTypes[0]
}

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

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

type ARClientMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Role          ARClientRole           `protobuf:"varint,2,opt,name=role,proto3,enum=service.v1.ARClientRole" json:"role,omitempty"`
	OperatorId    string                 `protobuf:"bytes,3,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ARClientMessage) ProtoMessage() {}

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

func (x *ARClientMessage) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *ARClientMessage) GetRole() ARClientRole {
	if x != nil {
		return x.Role
	}
	return ARClientRole_AR_CLIENT_ROLE_UNSPECIFIED
}

func (x *ARClientMessage) GetOperatorId() string {
	if x != nil {
		return x.OperatorId
	}
	return ""
}

var File_service_v1_ar_client_proto protoreflect.FileDescriptor

const file_service_v1_ar_client_proto_rawDesc = "" +
	"\n" +
	"\x1aservice/v1/ar_client.proto\x12\n" +
	"service.v1\"p\n" +
	"\x0fARClientMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12,\n" +
	"\x04role\x18\x02 \x01(\x0e2\x18.service.v1.ARClientRoleR\x04role\x12\x1f\n" +
	"\voperator_id\x18\x03 \x01(\tR\n" +
	"operatorId*e\n" +
	"\fARClientRole\x12\x1e\n" +
	"\x1aAR_CLIENT_ROLE_UNSPECIFIED\x10\x00\x12\x17\n" +
	"\x13AR_CLIENT_ROLE_MAIN\x10\x01\x12\x1c\n" +
	"\x18AR_CLIENT_ROLE_SPECTATOR\x10\x02B\xac\x01\n" +
	"\x0ecom.service.v1B\rArClientProtoP\x01Z9github.com/cobotar/protocol/messages/service/v1;servicev1\xa2\x02\x03SXX\xaa\x02\x13Messages.Service.V1\xca\x02\n" +
	"Service\\V1\xe2\x02\x16Service\\V1\\GPBMetadata\xea\x02\vService::V1b\x06proto3"

var (
	file_service_v1_ar_client_proto_rawDescOnce sync.Once
	file_service_v1_ar_client_proto_rawDescData []byte
)

func file_service_v1_ar_client_proto_rawDescGZIP() []byte {
	file_service_v1_ar_client_proto_rawDescOnce.Do(func() {
		file_service_v1_ar_client_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_v1_ar_client_proto_rawDesc), len(file_service_v1_ar_client_proto_rawDesc)))
	})
	return file_service_v1_ar_client_proto_rawDescData
}

var file_service_v1_ar_client_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_service_v1_ar_client_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_service_v1_ar_client_proto_goTypes = []any{
	(ARClientRole)(0),       // 0: service.v1.ARClientRole
	(*ARClientMessage)(nil), // 1: service.v1.ARClientMessage
}
var file_service_v1_ar_client_proto_depIdxs = []int32{
	0, // 0: service.v1.ARClientMessage.role:type_name -> service.v1.ARClientRole
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_service_v1_ar_client_proto_init() }
func file_service_v1_ar_client_proto_init() {
	if File_service_v1_ar_client_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_v1_ar_client_proto_rawDesc), len(file_service_v1_ar_client_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_service_v1_ar_client_proto_goTypes,
		DependencyIndexes: file_service_v1_ar_client_proto_depIdxs,
		EnumInfos:         file_service_v1_ar_client_proto_enumTypes,
		MessageInfos:      file_service_v1_ar_client_proto_msgTypes,
	}.Build()
	File_service_v1_ar_client_proto = out.File
	file_service_v1_ar_client_proto_goTypes = nil
	file_service_v1_ar_client_proto_depIdxs = nil
}
