//
//Сервис управления обновлениями

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.30.0
// 	protoc        v4.23.1
// source: deviceapis/device/v1/deviceapis_device_update_v1.proto

package deviceapis_device_v1

import (
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	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 PostUpdateDownloadRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя FTP папки
	FtpPath string `protobuf:"bytes,1,opt,name=ftp_path,json=ftpPath,proto3" json:"ftp_path,omitempty"`
	// Имя файла обновления
	FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// Режим обновления
	UpdateMode string `protobuf:"bytes,3,opt,name=update_mode,json=updateMode,proto3" json:"update_mode,omitempty"`
}

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

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

func (*PostUpdateDownloadRequest) ProtoMessage() {}

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

func (x *PostUpdateDownloadRequest) GetFtpPath() string {
	if x != nil {
		return x.FtpPath
	}
	return ""
}

func (x *PostUpdateDownloadRequest) GetFileName() string {
	if x != nil {
		return x.FileName
	}
	return ""
}

func (x *PostUpdateDownloadRequest) GetUpdateMode() string {
	if x != nil {
		return x.UpdateMode
	}
	return ""
}

// Ответ на запрос скачивания обновления
type PostUpdateDownloadResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип ответа
	//
	// Types that are assignable to Type:
	//
	//	*PostUpdateDownloadResponse_Error_
	Type isPostUpdateDownloadResponse_Type `protobuf_oneof:"type"`
}

func (x *PostUpdateDownloadResponse) Reset() {
	*x = PostUpdateDownloadResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PostUpdateDownloadResponse) ProtoMessage() {}

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

func (m *PostUpdateDownloadResponse) GetType() isPostUpdateDownloadResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostUpdateDownloadResponse) GetError() *PostUpdateDownloadResponse_Error {
	if x, ok := x.GetType().(*PostUpdateDownloadResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostUpdateDownloadResponse_Type interface {
	isPostUpdateDownloadResponse_Type()
}

type PostUpdateDownloadResponse_Error_ struct {
	// Ошибка
	Error *PostUpdateDownloadResponse_Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

func (*PostUpdateDownloadResponse_Error_) isPostUpdateDownloadResponse_Type() {}

// Запрос применения обновления
type PostUpdateApplyRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostUpdateApplyRequest) Reset() {
	*x = PostUpdateApplyRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PostUpdateApplyRequest) ProtoMessage() {}

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

// Ответ на запрос применения обновления
type PostUpdateApplyResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostUpdateApplyResponse) Reset() {
	*x = PostUpdateApplyResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PostUpdateApplyResponse) ProtoMessage() {}

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

// Ошибка запроса
type PostUpdateDownloadResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*PostUpdateDownloadResponse_Error_Validation
	Reason isPostUpdateDownloadResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *PostUpdateDownloadResponse_Error) Reset() {
	*x = PostUpdateDownloadResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*PostUpdateDownloadResponse_Error) ProtoMessage() {}

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

func (m *PostUpdateDownloadResponse_Error) GetReason() isPostUpdateDownloadResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PostUpdateDownloadResponse_Error) GetValidation() *ValidationError {
	if x, ok := x.GetReason().(*PostUpdateDownloadResponse_Error_Validation); ok {
		return x.Validation
	}
	return nil
}

type isPostUpdateDownloadResponse_Error_Reason interface {
	isPostUpdateDownloadResponse_Error_Reason()
}

type PostUpdateDownloadResponse_Error_Validation struct {
	// Ошибка валидации
	Validation *ValidationError `protobuf:"bytes,1,opt,name=validation,proto3,oneof"`
}

func (*PostUpdateDownloadResponse_Error_Validation) isPostUpdateDownloadResponse_Error_Reason() {}

var File_deviceapis_device_v1_deviceapis_device_update_v1_proto protoreflect.FileDescriptor

var file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDesc = []byte{
	0x0a, 0x36, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
	0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c,
	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
	0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x76, 0x31, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65,
	0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69,
	0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x19, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70,
	0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x74, 0x70, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x92, 0x41, 0x16, 0x4a, 0x14, 0x22, 0x75, 0x70, 0x64,
	0x61, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x32, 0x2e, 0x32, 0x31, 0x35, 0x2e, 0x31, 0x35, 0x2f, 0x22,
	0xe0, 0x41, 0x02, 0x52, 0x07, 0x66, 0x74, 0x70, 0x50, 0x61, 0x74, 0x68, 0x12, 0x3a, 0x0a, 0x09,
	0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
	0x1d, 0x92, 0x41, 0x17, 0x4a, 0x15, 0x22, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x30,
	0x31, 0x30, 0x31, 0x32, 0x30, 0x30, 0x30, 0x2e, 0x67, 0x7a, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x08,
	0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,
	0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0x92,
	0x41, 0x18, 0x4a, 0x16, 0x22, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69,
	0x64, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75,
	0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xd0, 0x01, 0x0a, 0x1a, 0x50, 0x6f,
	0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,
	0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61,
	0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48,
	0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x5a, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f,
	0x72, 0x12, 0x47, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c,
	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0a,
	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65,
	0x61, 0x73, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x18, 0x0a, 0x16,
	0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x19, 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70,
	0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x32, 0xcd, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x12, 0xa2, 0x01, 0x0a, 0x12, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61,
	0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2f, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e,
	0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77,
	0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82,
	0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f,
	0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x96, 0x01, 0x0a, 0x0f, 0x50, 0x6f, 0x73,
	0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x2c, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70,
	0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x6c,
	0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02,
	0x20, 0x3a, 0x01, 0x2a, 0x22, 0x1b, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70,
	0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x6c,
	0x79, 0x42, 0xaf, 0x01, 0x0a, 0x17, 0x72, 0x75, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x44,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x56,
	0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50, 0x00, 0x5a, 0x15, 0x2f, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x76,
	0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x12, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45,
	0x41, 0x50, 0x49, 0x53, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x56, 0x31, 0xaa, 0x02, 0x14, 0x44,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2e, 0x56, 0x31, 0xca, 0x02, 0x14, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73,
	0x5c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x16, 0x44, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x3a,
	0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDescOnce sync.Once
	file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDescData = file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDesc
)

func file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDescGZIP() []byte {
	file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDescOnce.Do(func() {
		file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDescData)
	})
	return file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDescData
}

var file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_deviceapis_device_v1_deviceapis_device_update_v1_proto_goTypes = []interface{}{
	(*PostUpdateDownloadRequest)(nil),        // 0: deviceapis.device.v1.PostUpdateDownloadRequest
	(*PostUpdateDownloadResponse)(nil),       // 1: deviceapis.device.v1.PostUpdateDownloadResponse
	(*PostUpdateApplyRequest)(nil),           // 2: deviceapis.device.v1.PostUpdateApplyRequest
	(*PostUpdateApplyResponse)(nil),          // 3: deviceapis.device.v1.PostUpdateApplyResponse
	(*PostUpdateDownloadResponse_Error)(nil), // 4: deviceapis.device.v1.PostUpdateDownloadResponse.Error
	(*ValidationError)(nil),                  // 5: deviceapis.device.v1.ValidationError
}
var file_deviceapis_device_v1_deviceapis_device_update_v1_proto_depIdxs = []int32{
	4, // 0: deviceapis.device.v1.PostUpdateDownloadResponse.error:type_name -> deviceapis.device.v1.PostUpdateDownloadResponse.Error
	5, // 1: deviceapis.device.v1.PostUpdateDownloadResponse.Error.validation:type_name -> deviceapis.device.v1.ValidationError
	0, // 2: deviceapis.device.v1.UpdateService.PostUpdateDownload:input_type -> deviceapis.device.v1.PostUpdateDownloadRequest
	2, // 3: deviceapis.device.v1.UpdateService.PostUpdateApply:input_type -> deviceapis.device.v1.PostUpdateApplyRequest
	1, // 4: deviceapis.device.v1.UpdateService.PostUpdateDownload:output_type -> deviceapis.device.v1.PostUpdateDownloadResponse
	3, // 5: deviceapis.device.v1.UpdateService.PostUpdateApply:output_type -> deviceapis.device.v1.PostUpdateApplyResponse
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] 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_deviceapis_device_v1_deviceapis_device_update_v1_proto_init() }
func file_deviceapis_device_v1_deviceapis_device_update_v1_proto_init() {
	if File_deviceapis_device_v1_deviceapis_device_update_v1_proto != nil {
		return
	}
	file_deviceapis_device_v1_deviceapis_device_common_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUpdateDownloadRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUpdateDownloadResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUpdateApplyRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUpdateApplyResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostUpdateDownloadResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[1].OneofWrappers = []interface{}{
		(*PostUpdateDownloadResponse_Error_)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes[4].OneofWrappers = []interface{}{
		(*PostUpdateDownloadResponse_Error_Validation)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_deviceapis_device_v1_deviceapis_device_update_v1_proto_goTypes,
		DependencyIndexes: file_deviceapis_device_v1_deviceapis_device_update_v1_proto_depIdxs,
		MessageInfos:      file_deviceapis_device_v1_deviceapis_device_update_v1_proto_msgTypes,
	}.Build()
	File_deviceapis_device_v1_deviceapis_device_update_v1_proto = out.File
	file_deviceapis_device_v1_deviceapis_device_update_v1_proto_rawDesc = nil
	file_deviceapis_device_v1_deviceapis_device_update_v1_proto_goTypes = nil
	file_deviceapis_device_v1_deviceapis_device_update_v1_proto_depIdxs = nil
}
