// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: deviceapis/device/v1/deviceapis_device_sac_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 DEVICEAPISDEVICEV1EditSacResponse_Error;
@class DEVICEAPISDEVICEV1Sac;
@class DEVICEAPISDEVICEV1ValidationError;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - DEVICEAPISDEVICEV1DeviceapisDeviceSacV1Root

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

#pragma mark - DEVICEAPISDEVICEV1EditSacRequest

typedef GPB_ENUM(DEVICEAPISDEVICEV1EditSacRequest_FieldNumber) {
  DEVICEAPISDEVICEV1EditSacRequest_FieldNumber_Data_p = 1,
  DEVICEAPISDEVICEV1EditSacRequest_FieldNumber_UpdateMask = 2,
};

/**
 * Запрос редактирования настроек Smart Auto Collect
 **/
GPB_FINAL @interface DEVICEAPISDEVICEV1EditSacRequest : GPBMessage

/** Настройки Smart Auto Collect */
@property(nonatomic, readwrite, strong, null_resettable) DEVICEAPISDEVICEV1Sac *data_p;
/** Test to see if @c data_p has been set. */
@property(nonatomic, readwrite) BOOL hasData_p;

/** Маска полей обновления */
@property(nonatomic, readwrite, strong, null_resettable) GPBFieldMask *updateMask;
/** Test to see if @c updateMask has been set. */
@property(nonatomic, readwrite) BOOL hasUpdateMask;

@end

#pragma mark - DEVICEAPISDEVICEV1EditSacResponse

typedef GPB_ENUM(DEVICEAPISDEVICEV1EditSacResponse_FieldNumber) {
  DEVICEAPISDEVICEV1EditSacResponse_FieldNumber_Data_p = 1,
  DEVICEAPISDEVICEV1EditSacResponse_FieldNumber_Error = 2,
};

typedef GPB_ENUM(DEVICEAPISDEVICEV1EditSacResponse_Type_OneOfCase) {
  DEVICEAPISDEVICEV1EditSacResponse_Type_OneOfCase_GPBUnsetOneOfCase = 0,
  DEVICEAPISDEVICEV1EditSacResponse_Type_OneOfCase_Data_p = 1,
  DEVICEAPISDEVICEV1EditSacResponse_Type_OneOfCase_Error = 2,
};

/**
 * Ответ на запрос редактирования настроек Smart Auto Collect
 **/
GPB_FINAL @interface DEVICEAPISDEVICEV1EditSacResponse : GPBMessage

/** Тип ответа */
@property(nonatomic, readonly) DEVICEAPISDEVICEV1EditSacResponse_Type_OneOfCase typeOneOfCase;

/** Настройки Smart Auto Collect */
@property(nonatomic, readwrite, strong, null_resettable) DEVICEAPISDEVICEV1Sac *data_p;

/** Ошибка */
@property(nonatomic, readwrite, strong, null_resettable) DEVICEAPISDEVICEV1EditSacResponse_Error *error;

@end

/**
 * Clears whatever value was set for the oneof 'type'.
 **/
void DEVICEAPISDEVICEV1EditSacResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1EditSacResponse *message);

#pragma mark - DEVICEAPISDEVICEV1EditSacResponse_Error

typedef GPB_ENUM(DEVICEAPISDEVICEV1EditSacResponse_Error_FieldNumber) {
  DEVICEAPISDEVICEV1EditSacResponse_Error_FieldNumber_Validation = 1,
};

typedef GPB_ENUM(DEVICEAPISDEVICEV1EditSacResponse_Error_Reason_OneOfCase) {
  DEVICEAPISDEVICEV1EditSacResponse_Error_Reason_OneOfCase_GPBUnsetOneOfCase = 0,
  DEVICEAPISDEVICEV1EditSacResponse_Error_Reason_OneOfCase_Validation = 1,
};

/**
 * Ошибка запроса
 **/
GPB_FINAL @interface DEVICEAPISDEVICEV1EditSacResponse_Error : GPBMessage

/** Причина ошибки */
@property(nonatomic, readonly) DEVICEAPISDEVICEV1EditSacResponse_Error_Reason_OneOfCase reasonOneOfCase;

/** Ошибка валидации */
@property(nonatomic, readwrite, strong, null_resettable) DEVICEAPISDEVICEV1ValidationError *validation;

@end

/**
 * Clears whatever value was set for the oneof 'reason'.
 **/
void DEVICEAPISDEVICEV1EditSacResponse_Error_ClearReasonOneOfCase(DEVICEAPISDEVICEV1EditSacResponse_Error *message);

#pragma mark - DEVICEAPISDEVICEV1GetSacRequest

/**
 * Запрос получения настроек Smart Auto Collect
 **/
GPB_FINAL @interface DEVICEAPISDEVICEV1GetSacRequest : GPBMessage

@end

#pragma mark - DEVICEAPISDEVICEV1GetSacResponse

typedef GPB_ENUM(DEVICEAPISDEVICEV1GetSacResponse_FieldNumber) {
  DEVICEAPISDEVICEV1GetSacResponse_FieldNumber_Data_p = 1,
};

typedef GPB_ENUM(DEVICEAPISDEVICEV1GetSacResponse_Type_OneOfCase) {
  DEVICEAPISDEVICEV1GetSacResponse_Type_OneOfCase_GPBUnsetOneOfCase = 0,
  DEVICEAPISDEVICEV1GetSacResponse_Type_OneOfCase_Data_p = 1,
};

/**
 * Ответ на запрос получения настроек Smart Auto Collect
 **/
GPB_FINAL @interface DEVICEAPISDEVICEV1GetSacResponse : GPBMessage

/** Тип ответа */
@property(nonatomic, readonly) DEVICEAPISDEVICEV1GetSacResponse_Type_OneOfCase typeOneOfCase;

/** Настройки Smart Auto Collect */
@property(nonatomic, readwrite, strong, null_resettable) DEVICEAPISDEVICEV1Sac *data_p;

@end

/**
 * Clears whatever value was set for the oneof 'type'.
 **/
void DEVICEAPISDEVICEV1GetSacResponse_ClearTypeOneOfCase(DEVICEAPISDEVICEV1GetSacResponse *message);

#pragma mark - DEVICEAPISDEVICEV1Sac

typedef GPB_ENUM(DEVICEAPISDEVICEV1Sac_FieldNumber) {
  DEVICEAPISDEVICEV1Sac_FieldNumber_IsSacOn = 1,
  DEVICEAPISDEVICEV1Sac_FieldNumber_MinFlatNumber = 2,
  DEVICEAPISDEVICEV1Sac_FieldNumber_MaxFlatNumber = 3,
  DEVICEAPISDEVICEV1Sac_FieldNumber_KeyMask = 4,
};

/**
 * Настройки Smart Auto Collect
 **/
GPB_FINAL @interface DEVICEAPISDEVICEV1Sac : GPBMessage

/** Флаг включения Smart Auto Collect */
@property(nonatomic, readwrite) BOOL isSacOn;

/** Минимальный номер квартиры */
@property(nonatomic, readwrite) int32_t minFlatNumber;

/** Максимальный номер квартиры */
@property(nonatomic, readwrite) int32_t maxFlatNumber;

/**
 * Маска UID RFID ключа.
 * Пример 04**********80 = что означает, что uid ключа должен начинаться с 04, иметь 14 знаков и заканчиваться на 80.
 * Пример  ******** = что означает что uid ключа должен н иметь 8 знаков
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *keyMask;

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
