//
//Сервис управления настройками Ticker

// 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_ticker_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"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	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 Ticker_ModeType int32

const (
	// Значение не указано
	Ticker_MODE_TYPE_UNKNOWN Ticker_ModeType = 0
	// Выключен
	Ticker_OFF Ticker_ModeType = 1
	// Бегущая строка
	Ticker_RUNNING_LINE Ticker_ModeType = 2
	// Строка одна за другой
	Ticker_LINE_1_BY_1 Ticker_ModeType = 3
)

// Enum value maps for Ticker_ModeType.
var (
	Ticker_ModeType_name = map[int32]string{
		0: "MODE_TYPE_UNKNOWN",
		1: "OFF",
		2: "RUNNING_LINE",
		3: "LINE_1_BY_1",
	}
	Ticker_ModeType_value = map[string]int32{
		"MODE_TYPE_UNKNOWN": 0,
		"OFF":               1,
		"RUNNING_LINE":      2,
		"LINE_1_BY_1":       3,
	}
)

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

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

func (Ticker_ModeType) Descriptor() protoreflect.EnumDescriptor {
	return file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_enumTypes[0].Descriptor()
}

func (Ticker_ModeType) Type() protoreflect.EnumType {
	return &file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_enumTypes[0]
}

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

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

// Запрос настройки Ticker
type EditTickerRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Настройки Ticker
	Data *Ticker `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Маска полей обновления
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}

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

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

func (*EditTickerRequest) ProtoMessage() {}

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

func (x *EditTickerRequest) GetData() *Ticker {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *EditTickerRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// Ответ на запрос настройки Ticker
type EditTickerResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

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

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

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

func (*EditTickerResponse) ProtoMessage() {}

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

func (m *EditTickerResponse) GetType() isEditTickerResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *EditTickerResponse) GetError() *EditTickerResponse_Error {
	if x, ok := x.GetType().(*EditTickerResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isEditTickerResponse_Type interface {
	isEditTickerResponse_Type()
}

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

func (*EditTickerResponse_Error_) isEditTickerResponse_Type() {}

// Запрос получения настроек Ticker
type GetTickerRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*GetTickerRequest) ProtoMessage() {}

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

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

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

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

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

func (*GetTickerResponse) ProtoMessage() {}

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

func (m *GetTickerResponse) GetType() isGetTickerResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetTickerResponse) GetData() *Ticker {
	if x, ok := x.GetType().(*GetTickerResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetTickerResponse_Type interface {
	isGetTickerResponse_Type()
}

type GetTickerResponse_Data struct {
	// Настройки Ticker
	Data *Ticker `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetTickerResponse_Data) isGetTickerResponse_Type() {}

// Настройки Ticker
type Ticker struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Режим строки
	ModeType Ticker_ModeType `protobuf:"varint,1,opt,name=mode_type,json=modeType,proto3,enum=deviceapis.device.v1.Ticker_ModeType" json:"mode_type,omitempty"`
	// Скорость, символов в минуту
	Speed int32 `protobuf:"varint,2,opt,name=speed,proto3" json:"speed,omitempty"`
	// Задержка смены строки, секунд
	Delay int32 `protobuf:"varint,3,opt,name=delay,proto3" json:"delay,omitempty"`
	// Строки
	Lines []string `protobuf:"bytes,4,rep,name=lines,proto3" json:"lines,omitempty"`
}

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

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

func (*Ticker) ProtoMessage() {}

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

func (x *Ticker) GetModeType() Ticker_ModeType {
	if x != nil {
		return x.ModeType
	}
	return Ticker_MODE_TYPE_UNKNOWN
}

func (x *Ticker) GetSpeed() int32 {
	if x != nil {
		return x.Speed
	}
	return 0
}

func (x *Ticker) GetDelay() int32 {
	if x != nil {
		return x.Delay
	}
	return 0
}

func (x *Ticker) GetLines() []string {
	if x != nil {
		return x.Lines
	}
	return nil
}

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

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

func (x *EditTickerResponse_Error) Reset() {
	*x = EditTickerResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*EditTickerResponse_Error) ProtoMessage() {}

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

func (m *EditTickerResponse_Error) GetReason() isEditTickerResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

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

type isEditTickerResponse_Error_Reason interface {
	isEditTickerResponse_Error_Reason()
}

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

func (*EditTickerResponse_Error_Validation) isEditTickerResponse_Error_Reason() {}

var File_deviceapis_device_v1_deviceapis_device_ticker_v1_proto protoreflect.FileDescriptor

var file_deviceapis_device_v1_deviceapis_device_ticker_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, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 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, 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, 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, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73,
	0x6b, 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, 0x87, 0x01, 0x0a, 0x11, 0x45, 0x64, 0x69, 0x74,
	0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04,
	0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
	0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
	0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
	0x6b, 0x22, 0xc0, 0x01, 0x0a, 0x12, 0x45, 0x64, 0x69, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45,
	0x64, 0x69, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 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, 0x12, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65,
	0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54,
	0x69, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74,
	0x61, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x8d, 0x03, 0x0a, 0x06, 0x54, 0x69,
	0x63, 0x6b, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70,
	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
	0x69, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0e,
	0x92, 0x41, 0x0b, 0x4a, 0x09, 0x22, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x22, 0x52, 0x08,
	0x6d, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65,
	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x08, 0x92, 0x41, 0x05, 0x4a, 0x03, 0x32, 0x30,
	0x30, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61,
	0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x06, 0x92, 0x41, 0x03, 0x4a, 0x01, 0x33, 0x52,
	0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x12, 0xa1, 0x01, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73,
	0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x8a, 0x01, 0x92, 0x41, 0x86, 0x01, 0x4a, 0x80, 0x01,
	0x5b, 0x22, 0x4c, 0x6f, 0x72, 0x65, 0x6d, 0x20, 0x69, 0x70, 0x73, 0x75, 0x6d, 0x20, 0x64, 0x6f,
	0x6c, 0x6f, 0x72, 0x20, 0x73, 0x69, 0x74, 0x20, 0x61, 0x6d, 0x65, 0x74, 0x22, 0x2c, 0x22, 0x63,
	0x6f, 0x6e, 0x73, 0x65, 0x63, 0x74, 0x65, 0x74, 0x75, 0x72, 0x20, 0x61, 0x64, 0x69, 0x70, 0x69,
	0x73, 0x63, 0x69, 0x6e, 0x67, 0x20, 0x65, 0x6c, 0x69, 0x74, 0x22, 0x2c, 0x22, 0x73, 0x65, 0x64,
	0x20, 0x64, 0x6f, 0x20, 0x65, 0x69, 0x75, 0x73, 0x6d, 0x6f, 0x64, 0x20, 0x74, 0x65, 0x6d, 0x70,
	0x6f, 0x72, 0x20, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x69, 0x64, 0x75, 0x6e, 0x74, 0x20, 0x75, 0x74,
	0x20, 0x6c, 0x61, 0x62, 0x6f, 0x72, 0x65, 0x20, 0x65, 0x74, 0x20, 0x64, 0x6f, 0x6c, 0x6f, 0x72,
	0x65, 0x20, 0x6d, 0x61, 0x67, 0x6e, 0x61, 0x20, 0x61, 0x6c, 0x69, 0x71, 0x75, 0x61, 0x22, 0x5d,
	0x80, 0x01, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x4d, 0x0a, 0x08, 0x4d, 0x6f,
	0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x54,
	0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a,
	0x03, 0x4f, 0x46, 0x46, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e,
	0x47, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x49, 0x4e, 0x45,
	0x5f, 0x31, 0x5f, 0x42, 0x59, 0x5f, 0x31, 0x10, 0x03, 0x32, 0x93, 0x02, 0x0a, 0x0d, 0x54, 0x69,
	0x63, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x0a,
	0x45, 0x64, 0x69, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
	0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x54,
	0x69, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82,
	0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x15, 0x2f, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x69, 0x63, 0x6b,
	0x65, 0x72, 0x12, 0x7b, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12,
	0x26, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,
	0x65, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 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_ticker_v1_proto_rawDescOnce sync.Once
	file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDescData = file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDesc
)

func file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDescGZIP() []byte {
	file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDescOnce.Do(func() {
		file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDescData)
	})
	return file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDescData
}

var file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_goTypes = []interface{}{
	(Ticker_ModeType)(0),             // 0: deviceapis.device.v1.Ticker.ModeType
	(*EditTickerRequest)(nil),        // 1: deviceapis.device.v1.EditTickerRequest
	(*EditTickerResponse)(nil),       // 2: deviceapis.device.v1.EditTickerResponse
	(*GetTickerRequest)(nil),         // 3: deviceapis.device.v1.GetTickerRequest
	(*GetTickerResponse)(nil),        // 4: deviceapis.device.v1.GetTickerResponse
	(*Ticker)(nil),                   // 5: deviceapis.device.v1.Ticker
	(*EditTickerResponse_Error)(nil), // 6: deviceapis.device.v1.EditTickerResponse.Error
	(*fieldmaskpb.FieldMask)(nil),    // 7: google.protobuf.FieldMask
	(*ValidationError)(nil),          // 8: deviceapis.device.v1.ValidationError
}
var file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_depIdxs = []int32{
	5, // 0: deviceapis.device.v1.EditTickerRequest.data:type_name -> deviceapis.device.v1.Ticker
	7, // 1: deviceapis.device.v1.EditTickerRequest.update_mask:type_name -> google.protobuf.FieldMask
	6, // 2: deviceapis.device.v1.EditTickerResponse.error:type_name -> deviceapis.device.v1.EditTickerResponse.Error
	5, // 3: deviceapis.device.v1.GetTickerResponse.data:type_name -> deviceapis.device.v1.Ticker
	0, // 4: deviceapis.device.v1.Ticker.mode_type:type_name -> deviceapis.device.v1.Ticker.ModeType
	8, // 5: deviceapis.device.v1.EditTickerResponse.Error.validation:type_name -> deviceapis.device.v1.ValidationError
	1, // 6: deviceapis.device.v1.TickerService.EditTicker:input_type -> deviceapis.device.v1.EditTickerRequest
	3, // 7: deviceapis.device.v1.TickerService.GetTicker:input_type -> deviceapis.device.v1.GetTickerRequest
	2, // 8: deviceapis.device.v1.TickerService.EditTicker:output_type -> deviceapis.device.v1.EditTickerResponse
	4, // 9: deviceapis.device.v1.TickerService.GetTicker:output_type -> deviceapis.device.v1.GetTickerResponse
	8, // [8:10] is the sub-list for method output_type
	6, // [6:8] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_init() }
func file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_init() {
	if File_deviceapis_device_v1_deviceapis_device_ticker_v1_proto != nil {
		return
	}
	file_deviceapis_device_v1_deviceapis_device_common_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*EditTickerRequest); 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_ticker_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*EditTickerResponse); 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_ticker_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetTickerRequest); 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_ticker_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetTickerResponse); 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_ticker_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Ticker); 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_ticker_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*EditTickerResponse_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_ticker_v1_proto_msgTypes[1].OneofWrappers = []interface{}{
		(*EditTickerResponse_Error_)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_msgTypes[3].OneofWrappers = []interface{}{
		(*GetTickerResponse_Data)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_msgTypes[5].OneofWrappers = []interface{}{
		(*EditTickerResponse_Error_Validation)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_goTypes,
		DependencyIndexes: file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_depIdxs,
		EnumInfos:         file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_enumTypes,
		MessageInfos:      file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_msgTypes,
	}.Build()
	File_deviceapis_device_v1_deviceapis_device_ticker_v1_proto = out.File
	file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_rawDesc = nil
	file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_goTypes = nil
	file_deviceapis_device_v1_deviceapis_device_ticker_v1_proto_depIdxs = nil
}
