// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/device/v1/keyapis_device_event_alert_v1.proto

// This CPP symbol can be defined to use imports that match up to the framework
// imports needed when using CocoaPods.
#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
#endif

#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
 #import <Protobuf/GPBProtocolBuffers.h>
#else
 #import "GPBProtocolBuffers.h"
#endif

#if GOOGLE_PROTOBUF_OBJC_VERSION < 30007
#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
#endif
#if 30007 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
#error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
#endif

// @@protoc_insertion_point(imports)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

CF_EXTERN_C_BEGIN

NS_ASSUME_NONNULL_BEGIN

#pragma mark - Enum KEYAPISDEVICEV1PrepareStartTask_PlayType

/**
 * Тип проигрывания.
 * # Тип: byte
 **/
typedef GPB_ENUM(KEYAPISDEVICEV1PrepareStartTask_PlayType) {
  /**
   * Value used if any message's field encounters a value that is not defined
   * by this enum. The message will also have C functions to get/set the rawValue
   * of the field.
   **/
  KEYAPISDEVICEV1PrepareStartTask_PlayType_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  /** Значение не указано */
  KEYAPISDEVICEV1PrepareStartTask_PlayType_PlayTypeUnknown = 0,

  /** Только на аналоговые трубки */
  KEYAPISDEVICEV1PrepareStartTask_PlayType_HandsetOnly = 1,

  /** Только на динамик домофона */
  KEYAPISDEVICEV1PrepareStartTask_PlayType_SpeakerOnly = 2,

  /** Сначала на аналоговые трубки проигрываем заданное количество тактов, затем на динамик домофона */
  KEYAPISDEVICEV1PrepareStartTask_PlayType_HandsetAndSpeaker = 3,

  /** Сначала на динамик домофона проигрываем заданное количество тактов, затем на аналоговые трубки */
  KEYAPISDEVICEV1PrepareStartTask_PlayType_SpeakerAndHandset = 4,
};

GPBEnumDescriptor *KEYAPISDEVICEV1PrepareStartTask_PlayType_EnumDescriptor(void);

/**
 * Checks to see if the given value is defined by the enum or was not known at
 * the time this source was generated.
 **/
BOOL KEYAPISDEVICEV1PrepareStartTask_PlayType_IsValidValue(int32_t value);

#pragma mark - Enum KEYAPISDEVICEV1PlayStartTask_PlayType

/**
 * Тип проигрывания.
 * # Тип: byte
 **/
typedef GPB_ENUM(KEYAPISDEVICEV1PlayStartTask_PlayType) {
  /**
   * Value used if any message's field encounters a value that is not defined
   * by this enum. The message will also have C functions to get/set the rawValue
   * of the field.
   **/
  KEYAPISDEVICEV1PlayStartTask_PlayType_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  /** Значение не указано */
  KEYAPISDEVICEV1PlayStartTask_PlayType_PlayTypeUnknown = 0,

  /** Только на аналоговые трубки */
  KEYAPISDEVICEV1PlayStartTask_PlayType_HandsetOnly = 1,

  /** Только на динамик домофона */
  KEYAPISDEVICEV1PlayStartTask_PlayType_SpeakerOnly = 2,

  /** Сначала на аналоговые трубки проигрываем заданное количество тактов, затем на динамик домофона */
  KEYAPISDEVICEV1PlayStartTask_PlayType_HandsetAndSpeaker = 3,

  /** Сначала на динамик домофона проигрываем заданное количество тактов, затем на аналоговые трубки */
  KEYAPISDEVICEV1PlayStartTask_PlayType_SpeakerAndHandset = 4,
};

GPBEnumDescriptor *KEYAPISDEVICEV1PlayStartTask_PlayType_EnumDescriptor(void);

/**
 * Checks to see if the given value is defined by the enum or was not known at
 * the time this source was generated.
 **/
BOOL KEYAPISDEVICEV1PlayStartTask_PlayType_IsValidValue(int32_t value);

#pragma mark - KEYAPISDEVICEV1KeyapisDeviceEventAlertV1Root

/**
 * Exposes the extension registry for this file.
 *
 * The base class provides:
 * @code
 *   + (GPBExtensionRegistry *)extensionRegistry;
 * @endcode
 * which is a @c GPBExtensionRegistry that includes all the extensions defined by
 * this file and all files that it depends on.
 **/
GPB_FINAL @interface KEYAPISDEVICEV1KeyapisDeviceEventAlertV1Root : GPBRootObject
@end

#pragma mark - KEYAPISDEVICEV1PrepareStartTask

typedef GPB_ENUM(KEYAPISDEVICEV1PrepareStartTask_FieldNumber) {
  KEYAPISDEVICEV1PrepareStartTask_FieldNumber_RequestId = 1,
  KEYAPISDEVICEV1PrepareStartTask_FieldNumber_SoundFileUri = 2,
  KEYAPISDEVICEV1PrepareStartTask_FieldNumber_DeviceId = 3,
  KEYAPISDEVICEV1PrepareStartTask_FieldNumber_TactPlayDuration = 4,
  KEYAPISDEVICEV1PrepareStartTask_FieldNumber_TactRepeatCount = 5,
  KEYAPISDEVICEV1PrepareStartTask_FieldNumber_PlayRepeatCount = 6,
  KEYAPISDEVICEV1PrepareStartTask_FieldNumber_PlayType = 7,
};

/**
 * Команда на подготовку и старт проигрывания файла через домофон.
 * Очередь key.device.alert.prepare_start
 **/
GPB_FINAL @interface KEYAPISDEVICEV1PrepareStartTask : GPBMessage

/** Идентификатор запроса */
@property(nonatomic, readwrite, copy, null_resettable) NSString *requestId;

/**
 * Ссылка на звуковой файл для проигрывания.
 * Файл должен лежать на внутреннем хранилище.
 * # Диапазон: 2..100
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *soundFileUri;

/** Идентификатор устройства */
@property(nonatomic, readwrite) int32_t deviceId;

/**
 * Длительность воспроизведения такта в секундах.
 * Такт включает в себя проигрывание файла на трубках или на динамике.
 * # Диапазон: 0..65536
 **/
@property(nonatomic, readwrite) int32_t tactPlayDuration;

/**
 * Количество последовательных повторов тактов перед сменой динамика на трубки или наоборот.
 * # Диапазон: 0..65536
 **/
@property(nonatomic, readwrite) int32_t tactRepeatCount;

/**
 * Количество дополнительных повторов тактов, т.е. умолчание=0 - это проигрывание одного такта.
 * # Диапазон: 0..65536
 **/
@property(nonatomic, readwrite) int32_t playRepeatCount;

/** Тип проигрывания */
@property(nonatomic, readwrite) KEYAPISDEVICEV1PrepareStartTask_PlayType playType;

@end

/**
 * Fetches the raw value of a @c KEYAPISDEVICEV1PrepareStartTask's @c playType property, even
 * if the value was not defined by the enum at the time the code was generated.
 **/
int32_t KEYAPISDEVICEV1PrepareStartTask_PlayType_RawValue(KEYAPISDEVICEV1PrepareStartTask *message);
/**
 * Sets the raw value of an @c KEYAPISDEVICEV1PrepareStartTask's @c playType property, allowing
 * it to be set to a value that was not defined by the enum at the time the code
 * was generated.
 **/
void SetKEYAPISDEVICEV1PrepareStartTask_PlayType_RawValue(KEYAPISDEVICEV1PrepareStartTask *message, int32_t value);

#pragma mark - KEYAPISDEVICEV1PrepareStopTask

typedef GPB_ENUM(KEYAPISDEVICEV1PrepareStopTask_FieldNumber) {
  KEYAPISDEVICEV1PrepareStopTask_FieldNumber_RequestId = 1,
  KEYAPISDEVICEV1PrepareStopTask_FieldNumber_DeviceId = 2,
};

/**
 * Команда на подготовку и прекращение проигрывания файла через домофон.
 * Очередь key.device.alert.prepare_stop
 **/
GPB_FINAL @interface KEYAPISDEVICEV1PrepareStopTask : GPBMessage

/** Идентификатор запроса */
@property(nonatomic, readwrite, copy, null_resettable) NSString *requestId;

/** Идентификатор устройства */
@property(nonatomic, readwrite) int32_t deviceId;

@end

#pragma mark - KEYAPISDEVICEV1PlayStartTask

typedef GPB_ENUM(KEYAPISDEVICEV1PlayStartTask_FieldNumber) {
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_RequestId = 1,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_DeviceId = 2,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_SoundFileUri = 3,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_IpAddress = 4,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_Port = 5,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_Model = 6,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_TactPlayDuration = 7,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_TactRepeatCount = 8,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_PlayRepeatCount = 9,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_PlayType = 10,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_Login = 11,
  KEYAPISDEVICEV1PlayStartTask_FieldNumber_Password = 12,
};

/**
 * Команда на старт проигрывания файла через домофон.
 * Очередь key.device.alert.play_start
 **/
GPB_FINAL @interface KEYAPISDEVICEV1PlayStartTask : GPBMessage

/**
 * Идентификатор запроса.
 * # Тип: Guid
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *requestId;

/** Идентификатор устройства */
@property(nonatomic, readwrite) int32_t deviceId;

/**
 * Ссылка на звуковой файл для проигрывания.
 * Файл должен лежать на внутреннем хранилище.
 * # Диапазон: 7..100
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *soundFileUri;

/**
 * Сетевой адрес.
 * # Паттерн: /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *ipAddress;

/**
 * Сетевой порт.
 * # Диапазон: 0..65535
 **/
@property(nonatomic, readwrite, strong, null_resettable) GPBInt32Value *port;
/** Test to see if @c port has been set. */
@property(nonatomic, readwrite) BOOL hasPort;

/**
 * Модель устройства.
 * # Диапазон: 2..100
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *model;

/**
 * Длительность воспроизведения такта в секундах.
 * Такт включает в себя проигрывание файла на трубках или на динамике.
 * # Диапазон: 0..65536
 **/
@property(nonatomic, readwrite) int32_t tactPlayDuration;

/**
 * Количество последовательных повторов тактов перед сменой динамика на трубки или наоборот.
 * # Диапазон: 0..65536
 **/
@property(nonatomic, readwrite) int32_t tactRepeatCount;

/**
 * Количество повторов заданного количества тактов, где умолчание=0 - это один повтор.
 * # Диапазон: 0..65536
 **/
@property(nonatomic, readwrite) int32_t playRepeatCount;

/** Тип проигрывания */
@property(nonatomic, readwrite) KEYAPISDEVICEV1PlayStartTask_PlayType playType;

/**
 * Логин.
 * # Диапазон: 0..100
 **/
@property(nonatomic, readwrite, strong, null_resettable) GPBStringValue *login;
/** Test to see if @c login has been set. */
@property(nonatomic, readwrite) BOOL hasLogin;

/**
 * Пароль.
 * # Диапазон: 0..100
 **/
@property(nonatomic, readwrite, strong, null_resettable) GPBStringValue *password;
/** Test to see if @c password has been set. */
@property(nonatomic, readwrite) BOOL hasPassword;

@end

/**
 * Fetches the raw value of a @c KEYAPISDEVICEV1PlayStartTask's @c playType property, even
 * if the value was not defined by the enum at the time the code was generated.
 **/
int32_t KEYAPISDEVICEV1PlayStartTask_PlayType_RawValue(KEYAPISDEVICEV1PlayStartTask *message);
/**
 * Sets the raw value of an @c KEYAPISDEVICEV1PlayStartTask's @c playType property, allowing
 * it to be set to a value that was not defined by the enum at the time the code
 * was generated.
 **/
void SetKEYAPISDEVICEV1PlayStartTask_PlayType_RawValue(KEYAPISDEVICEV1PlayStartTask *message, int32_t value);

#pragma mark - KEYAPISDEVICEV1PlayStopTask

typedef GPB_ENUM(KEYAPISDEVICEV1PlayStopTask_FieldNumber) {
  KEYAPISDEVICEV1PlayStopTask_FieldNumber_RequestId = 1,
  KEYAPISDEVICEV1PlayStopTask_FieldNumber_DeviceId = 2,
  KEYAPISDEVICEV1PlayStopTask_FieldNumber_IpAddress = 3,
  KEYAPISDEVICEV1PlayStopTask_FieldNumber_Port = 4,
  KEYAPISDEVICEV1PlayStopTask_FieldNumber_Model = 5,
  KEYAPISDEVICEV1PlayStopTask_FieldNumber_Login = 6,
  KEYAPISDEVICEV1PlayStopTask_FieldNumber_Password = 7,
};

/**
 * Команда на прекращение проигрывания файла через домофон.
 * Очередь key.device.alert.play_stop
 **/
GPB_FINAL @interface KEYAPISDEVICEV1PlayStopTask : GPBMessage

/**
 * Идентификатор запроса.
 * # Тип: Guid
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *requestId;

/** Идентификатор устройства */
@property(nonatomic, readwrite) int32_t deviceId;

/**
 * Сетевой адрес.
 * # Паттерн: /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *ipAddress;

/**
 * Сетевой порт.
 * # Диапазон: 0..65535
 **/
@property(nonatomic, readwrite, strong, null_resettable) GPBInt32Value *port;
/** Test to see if @c port has been set. */
@property(nonatomic, readwrite) BOOL hasPort;

/**
 * Модель устройства.
 * # Диапазон: 2..100
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *model;

/**
 * Логин.
 * # Диапазон: 0..100
 **/
@property(nonatomic, readwrite, strong, null_resettable) GPBStringValue *login;
/** Test to see if @c login has been set. */
@property(nonatomic, readwrite) BOOL hasLogin;

/**
 * Пароль.
 * # Диапазон: 0..100
 **/
@property(nonatomic, readwrite, strong, null_resettable) GPBStringValue *password;
/** Test to see if @c password has been set. */
@property(nonatomic, readwrite) BOOL hasPassword;

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
