// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.34.2
// 	protoc        v3.21.12
// source: spacex_api/device/command.proto

package device

import (
	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 Capability int32

const (
	Capability_READ             Capability = 0
	Capability_READ_INTERNAL    Capability = 13
	Capability_READ_PRIVATE     Capability = 7
	Capability_LOCAL            Capability = 14
	Capability_WRITE            Capability = 1
	Capability_WRITE_PERSISTENT Capability = 11
	Capability_DEBUG            Capability = 2
	Capability_ADMIN            Capability = 3
	Capability_SETUP            Capability = 4
	Capability_SET_SKU          Capability = 5
	Capability_REFRESH          Capability = 6
	Capability_FUSE             Capability = 8
	Capability_RESET            Capability = 9
	Capability_TEST             Capability = 10
	Capability_SSH              Capability = 12
	Capability_GUEST            Capability = 15
)

// Enum value maps for Capability.
var (
	Capability_name = map[int32]string{
		0:  "READ",
		13: "READ_INTERNAL",
		7:  "READ_PRIVATE",
		14: "LOCAL",
		1:  "WRITE",
		11: "WRITE_PERSISTENT",
		2:  "DEBUG",
		3:  "ADMIN",
		4:  "SETUP",
		5:  "SET_SKU",
		6:  "REFRESH",
		8:  "FUSE",
		9:  "RESET",
		10: "TEST",
		12: "SSH",
		15: "GUEST",
	}
	Capability_value = map[string]int32{
		"READ":             0,
		"READ_INTERNAL":    13,
		"READ_PRIVATE":     7,
		"LOCAL":            14,
		"WRITE":            1,
		"WRITE_PERSISTENT": 11,
		"DEBUG":            2,
		"ADMIN":            3,
		"SETUP":            4,
		"SET_SKU":          5,
		"REFRESH":          6,
		"FUSE":             8,
		"RESET":            9,
		"TEST":             10,
		"SSH":              12,
		"GUEST":            15,
	}
)

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

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

func (Capability) Descriptor() protoreflect.EnumDescriptor {
	return file_spacex_api_device_command_proto_enumTypes[0].Descriptor()
}

func (Capability) Type() protoreflect.EnumType {
	return &file_spacex_api_device_command_proto_enumTypes[0]
}

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

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

type User int32

const (
	User_NO_USER              User = 0
	User_GOD                  User = 1
	User_LAN                  User = 2
	User_CLOUD                User = 3
	User_FACTORY              User = 4
	User_ROUTER               User = 5
	User_GUEST_LAN            User = 6
	User_SENSITIVE_COMMANDING User = 7
	User_LAN_TLS              User = 8
	User_CLOUD_INDIA          User = 9
)

// Enum value maps for User.
var (
	User_name = map[int32]string{
		0: "NO_USER",
		1: "GOD",
		2: "LAN",
		3: "CLOUD",
		4: "FACTORY",
		5: "ROUTER",
		6: "GUEST_LAN",
		7: "SENSITIVE_COMMANDING",
		8: "LAN_TLS",
		9: "CLOUD_INDIA",
	}
	User_value = map[string]int32{
		"NO_USER":              0,
		"GOD":                  1,
		"LAN":                  2,
		"CLOUD":                3,
		"FACTORY":              4,
		"ROUTER":               5,
		"GUEST_LAN":            6,
		"SENSITIVE_COMMANDING": 7,
		"LAN_TLS":              8,
		"CLOUD_INDIA":          9,
	}
)

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

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

func (User) Descriptor() protoreflect.EnumDescriptor {
	return file_spacex_api_device_command_proto_enumTypes[1].Descriptor()
}

func (User) Type() protoreflect.EnumType {
	return &file_spacex_api_device_command_proto_enumTypes[1]
}

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

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

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

	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Deprecated: Marked as deprecated in spacex_api/device/command.proto.
	Capabilities []Capability `protobuf:"varint,2,rep,packed,name=capabilities,proto3,enum=SpaceX.API.Device.Capability" json:"capabilities,omitempty"`
	User         User         `protobuf:"varint,3,opt,name=user,proto3,enum=SpaceX.API.Device.User" json:"user,omitempty"`
}

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

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

func (*PublicKey) ProtoMessage() {}

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

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

// Deprecated: Marked as deprecated in spacex_api/device/command.proto.
func (x *PublicKey) GetCapabilities() []Capability {
	if x != nil {
		return x.Capabilities
	}
	return nil
}

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

var File_spacex_api_device_command_proto protoreflect.FileDescriptor

var file_spacex_api_device_command_proto_rawDesc = []byte{
	0x0a, 0x1f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x78, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x12, 0x11, 0x53, 0x70, 0x61, 0x63, 0x65, 0x58, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x44, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b,
	0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
	0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69,
	0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x53, 0x70, 0x61,
	0x63, 0x65, 0x58, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43,
	0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x63,
	0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x04, 0x75,
	0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x53, 0x70, 0x61, 0x63,
	0x65, 0x58, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x73,
	0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x2a, 0xd5, 0x01, 0x0a, 0x0a, 0x43, 0x61, 0x70,
	0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x45, 0x41, 0x44, 0x10,
	0x00, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e,
	0x41, 0x4c, 0x10, 0x0d, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x50, 0x52, 0x49,
	0x56, 0x41, 0x54, 0x45, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10,
	0x0e, 0x12, 0x09, 0x0a, 0x05, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10,
	0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54,
	0x10, 0x0b, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x02, 0x12, 0x09, 0x0a,
	0x05, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x45, 0x54, 0x55,
	0x50, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4b, 0x55, 0x10, 0x05,
	0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x46, 0x52, 0x45, 0x53, 0x48, 0x10, 0x06, 0x12, 0x08, 0x0a,
	0x04, 0x46, 0x55, 0x53, 0x45, 0x10, 0x08, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x53, 0x45, 0x54,
	0x10, 0x09, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x53, 0x54, 0x10, 0x0a, 0x12, 0x07, 0x0a, 0x03,
	0x53, 0x53, 0x48, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x55, 0x45, 0x53, 0x54, 0x10, 0x0f,
	0x2a, 0x90, 0x01, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f,
	0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x4f, 0x44, 0x10, 0x01, 0x12,
	0x07, 0x0a, 0x03, 0x4c, 0x41, 0x4e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x4c, 0x4f, 0x55,
	0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x04,
	0x12, 0x0a, 0x0a, 0x06, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09,
	0x47, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x4c, 0x41, 0x4e, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x53,
	0x45, 0x4e, 0x53, 0x49, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44,
	0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x41, 0x4e, 0x5f, 0x54, 0x4c, 0x53,
	0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x49, 0x4e, 0x44, 0x49,
	0x41, 0x10, 0x09, 0x42, 0x17, 0x5a, 0x15, 0x73, 0x70, 0x61, 0x63, 0x65, 0x78, 0x2e, 0x63, 0x6f,
	0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_spacex_api_device_command_proto_rawDescOnce sync.Once
	file_spacex_api_device_command_proto_rawDescData = file_spacex_api_device_command_proto_rawDesc
)

func file_spacex_api_device_command_proto_rawDescGZIP() []byte {
	file_spacex_api_device_command_proto_rawDescOnce.Do(func() {
		file_spacex_api_device_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_spacex_api_device_command_proto_rawDescData)
	})
	return file_spacex_api_device_command_proto_rawDescData
}

var file_spacex_api_device_command_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_spacex_api_device_command_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_spacex_api_device_command_proto_goTypes = []any{
	(Capability)(0),   // 0: SpaceX.API.Device.Capability
	(User)(0),         // 1: SpaceX.API.Device.User
	(*PublicKey)(nil), // 2: SpaceX.API.Device.PublicKey
}
var file_spacex_api_device_command_proto_depIdxs = []int32{
	0, // 0: SpaceX.API.Device.PublicKey.capabilities:type_name -> SpaceX.API.Device.Capability
	1, // 1: SpaceX.API.Device.PublicKey.user:type_name -> SpaceX.API.Device.User
	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_spacex_api_device_command_proto_init() }
func file_spacex_api_device_command_proto_init() {
	if File_spacex_api_device_command_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_spacex_api_device_command_proto_msgTypes[0].Exporter = func(v any, i int) any {
			switch v := v.(*PublicKey); 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_spacex_api_device_command_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_spacex_api_device_command_proto_goTypes,
		DependencyIndexes: file_spacex_api_device_command_proto_depIdxs,
		EnumInfos:         file_spacex_api_device_command_proto_enumTypes,
		MessageInfos:      file_spacex_api_device_command_proto_msgTypes,
	}.Build()
	File_spacex_api_device_command_proto = out.File
	file_spacex_api_device_command_proto_rawDesc = nil
	file_spacex_api_device_command_proto_goTypes = nil
	file_spacex_api_device_command_proto_depIdxs = nil
}
