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

/** Тип доступности */
typedef GPB_ENUM(KEYAPISWATCHDOGV1DeviceAvailabilityTask_AvailabilityType) {
  /**
   * 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.
   **/
  KEYAPISWATCHDOGV1DeviceAvailabilityTask_AvailabilityType_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  /** Значение не указано */
  KEYAPISWATCHDOGV1DeviceAvailabilityTask_AvailabilityType_AvailabilityTypeUnknown = 0,

  /** Онлайн */
  KEYAPISWATCHDOGV1DeviceAvailabilityTask_AvailabilityType_Online = 1,

  /** Офлайн */
  KEYAPISWATCHDOGV1DeviceAvailabilityTask_AvailabilityType_Offline = 2,
};

GPBEnumDescriptor *KEYAPISWATCHDOGV1DeviceAvailabilityTask_AvailabilityType_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 KEYAPISWATCHDOGV1DeviceAvailabilityTask_AvailabilityType_IsValidValue(int32_t value);

#pragma mark - KEYAPISWATCHDOGV1KeyapisWatchdogEventsV1Root

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

#pragma mark - KEYAPISWATCHDOGV1DeviceAvailabilityTask

typedef GPB_ENUM(KEYAPISWATCHDOGV1DeviceAvailabilityTask_FieldNumber) {
  KEYAPISWATCHDOGV1DeviceAvailabilityTask_FieldNumber_RequestId = 1,
  KEYAPISWATCHDOGV1DeviceAvailabilityTask_FieldNumber_DeviceId = 2,
  KEYAPISWATCHDOGV1DeviceAvailabilityTask_FieldNumber_AvailabilityType = 3,
};

/**
 * Событие изменения доступности устройства.
 * Очередь bus.watchdog.device_availability
 **/
GPB_FINAL @interface KEYAPISWATCHDOGV1DeviceAvailabilityTask : GPBMessage

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

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

/** Тип доступности */
@property(nonatomic, readwrite) KEYAPISWATCHDOGV1DeviceAvailabilityTask_AvailabilityType availabilityType;

@end

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

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
