// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/iot_connect_sber/v1/keyapis_iot_connect_command_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

@class KEYAPISIOTCONNECTV1DeviceCommand;
@class KEYAPISIOTCONNECTV1DeviceCommandArray;
@class KEYAPISIOTCONNECTV1DeviceCommand_Value;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - Enum KEYAPISIOTCONNECTV1DeviceCommand_KeyType

/** Список ключей команд на изменение статуса устройства */
typedef GPB_ENUM(KEYAPISIOTCONNECTV1DeviceCommand_KeyType) {
  /**
   * 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.
   **/
  KEYAPISIOTCONNECTV1DeviceCommand_KeyType_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  /** Значение не указано */
  KEYAPISIOTCONNECTV1DeviceCommand_KeyType_KeyTypeUnknown = 0,

  /** Отклонение звонка */
  KEYAPISIOTCONNECTV1DeviceCommand_KeyType_RejectCall = 1,

  /** Открытие замка */
  KEYAPISIOTCONNECTV1DeviceCommand_KeyType_Unlock = 2,
};

GPBEnumDescriptor *KEYAPISIOTCONNECTV1DeviceCommand_KeyType_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 KEYAPISIOTCONNECTV1DeviceCommand_KeyType_IsValidValue(int32_t value);

#pragma mark - Enum KEYAPISIOTCONNECTV1DeviceCommand_Value_Type

/** Тип значения команд на изменение статуса устройства */
typedef GPB_ENUM(KEYAPISIOTCONNECTV1DeviceCommand_Value_Type) {
  /**
   * 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.
   **/
  KEYAPISIOTCONNECTV1DeviceCommand_Value_Type_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  /** Значение не указано */
  KEYAPISIOTCONNECTV1DeviceCommand_Value_Type_TypeUnknown = 0,

  /** Перечисление */
  KEYAPISIOTCONNECTV1DeviceCommand_Value_Type_Enum = 1,
};

GPBEnumDescriptor *KEYAPISIOTCONNECTV1DeviceCommand_Value_Type_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 KEYAPISIOTCONNECTV1DeviceCommand_Value_Type_IsValidValue(int32_t value);

#pragma mark - Enum KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType

/** Значения команд на изменение статуса устройства типа перечисление */
typedef GPB_ENUM(KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType) {
  /**
   * 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.
   **/
  KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  /** Значение не указано */
  KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType_ValueEnumTypeUnknown = 0,

  /** Отклонение звонка */
  KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType_Reject = 1,

  /** Открытие замка */
  KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType_Unlock = 2,
};

GPBEnumDescriptor *KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType_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 KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType_IsValidValue(int32_t value);

#pragma mark - KEYAPISIOTCONNECTV1KeyapisIotConnectCommandV1Root

/**
 * 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 KEYAPISIOTCONNECTV1KeyapisIotConnectCommandV1Root : GPBRootObject
@end

#pragma mark - KEYAPISIOTCONNECTV1DeviceCommandArray

typedef GPB_ENUM(KEYAPISIOTCONNECTV1DeviceCommandArray_FieldNumber) {
  KEYAPISIOTCONNECTV1DeviceCommandArray_FieldNumber_StatesArray = 1,
};

/**
 * Массив команд на изменение статуса устройства
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1DeviceCommandArray : GPBMessage

/** Команды на изменение статуса устройства */
@property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<KEYAPISIOTCONNECTV1DeviceCommand*> *statesArray;
/** The number of items in @c statesArray without causing the container to be created. */
@property(nonatomic, readonly) NSUInteger statesArray_Count;

@end

#pragma mark - KEYAPISIOTCONNECTV1DeviceCommand

typedef GPB_ENUM(KEYAPISIOTCONNECTV1DeviceCommand_FieldNumber) {
  KEYAPISIOTCONNECTV1DeviceCommand_FieldNumber_CommandKeyType = 1,
  KEYAPISIOTCONNECTV1DeviceCommand_FieldNumber_Value = 2,
};

/**
 * Команды на изменение статуса устройства
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1DeviceCommand : GPBMessage

/** Тип команды на изменение статуса устройства */
@property(nonatomic, readwrite) KEYAPISIOTCONNECTV1DeviceCommand_KeyType commandKeyType;

/** Значение команды на изменение статуса устройства */
@property(nonatomic, readwrite, strong, null_resettable) KEYAPISIOTCONNECTV1DeviceCommand_Value *value;
/** Test to see if @c value has been set. */
@property(nonatomic, readwrite) BOOL hasValue;

@end

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

#pragma mark - KEYAPISIOTCONNECTV1DeviceCommand_Value

typedef GPB_ENUM(KEYAPISIOTCONNECTV1DeviceCommand_Value_FieldNumber) {
  KEYAPISIOTCONNECTV1DeviceCommand_Value_FieldNumber_Type = 1,
  KEYAPISIOTCONNECTV1DeviceCommand_Value_FieldNumber_ValueEnumType = 2,
};

typedef GPB_ENUM(KEYAPISIOTCONNECTV1DeviceCommand_Value_Value_OneOfCase) {
  KEYAPISIOTCONNECTV1DeviceCommand_Value_Value_OneOfCase_GPBUnsetOneOfCase = 0,
  KEYAPISIOTCONNECTV1DeviceCommand_Value_Value_OneOfCase_ValueEnumType = 2,
};

/**
 * Значение команды на изменение статуса устройства
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1DeviceCommand_Value : GPBMessage

/** Тип значения команды на изменение статуса устройства */
@property(nonatomic, readwrite) KEYAPISIOTCONNECTV1DeviceCommand_Value_Type type;

/** Значение команды на изменение статуса устройства */
@property(nonatomic, readonly) KEYAPISIOTCONNECTV1DeviceCommand_Value_Value_OneOfCase valueOneOfCase;

/** Значения команды на изменение статуса устройства типа перечисление */
@property(nonatomic, readwrite) KEYAPISIOTCONNECTV1DeviceCommand_Value_ValueEnumType valueEnumType;

@end

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

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

/**
 * Clears whatever value was set for the oneof 'value'.
 **/
void KEYAPISIOTCONNECTV1DeviceCommand_Value_ClearValueOneOfCase(KEYAPISIOTCONNECTV1DeviceCommand_Value *message);

#pragma mark - KEYAPISIOTCONNECTV1PostCommandRequest

typedef GPB_ENUM(KEYAPISIOTCONNECTV1PostCommandRequest_FieldNumber) {
  KEYAPISIOTCONNECTV1PostCommandRequest_FieldNumber_Devices = 1,
};

/**
 * Запрос на изменение состояния устройства
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1PostCommandRequest : GPBMessage

/** Массив домофонов со статусами */
@property(nonatomic, readwrite, strong, null_resettable) NSMutableDictionary<NSString*, KEYAPISIOTCONNECTV1DeviceCommandArray*> *devices;
/** The number of items in @c devices without causing the container to be created. */
@property(nonatomic, readonly) NSUInteger devices_Count;

@end

#pragma mark - KEYAPISIOTCONNECTV1PostCommandResponse

/**
 * Ответ на запрос на изменение состояния устройства
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1PostCommandResponse : GPBMessage

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
