// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/dial/v1/keyapis_dial_alert_scenario_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 KEYAPISDIALV1PostBroadcastAlertStartResponse_Error;
@class KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_ScenarioNotFound;
@class KEYAPISDIALV1ValidationError;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - KEYAPISDIALV1KeyapisDialAlertScenarioV1Root

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

#pragma mark - KEYAPISDIALV1PostBroadcastAlertStartRequest

typedef GPB_ENUM(KEYAPISDIALV1PostBroadcastAlertStartRequest_FieldNumber) {
  KEYAPISDIALV1PostBroadcastAlertStartRequest_FieldNumber_ToNumber = 1,
  KEYAPISDIALV1PostBroadcastAlertStartRequest_FieldNumber_FromNumber = 2,
};

/**
 * Запрос на запуск массового оповещения через домофоны
 **/
GPB_FINAL @interface KEYAPISDIALV1PostBroadcastAlertStartRequest : GPBMessage

/**
 * Вызываемый номер.
 * # Паттерн: /^\\+[1-9][0-9]{10}$/
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *toNumber;

/**
 * Вызывающий номер.
 * # Паттерн: /^\\+[1-9][0-9]{10}$/
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *fromNumber;

@end

#pragma mark - KEYAPISDIALV1PostBroadcastAlertStartResponse

typedef GPB_ENUM(KEYAPISDIALV1PostBroadcastAlertStartResponse_FieldNumber) {
  KEYAPISDIALV1PostBroadcastAlertStartResponse_FieldNumber_Error = 1,
};

typedef GPB_ENUM(KEYAPISDIALV1PostBroadcastAlertStartResponse_Type_OneOfCase) {
  KEYAPISDIALV1PostBroadcastAlertStartResponse_Type_OneOfCase_GPBUnsetOneOfCase = 0,
  KEYAPISDIALV1PostBroadcastAlertStartResponse_Type_OneOfCase_Error = 1,
};

/**
 * Ответ на запрос на запуск массового оповещения через домофоны
 **/
GPB_FINAL @interface KEYAPISDIALV1PostBroadcastAlertStartResponse : GPBMessage

/** Тип результата */
@property(nonatomic, readonly) KEYAPISDIALV1PostBroadcastAlertStartResponse_Type_OneOfCase typeOneOfCase;

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

@end

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

#pragma mark - KEYAPISDIALV1PostBroadcastAlertStartResponse_Error

typedef GPB_ENUM(KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_FieldNumber) {
  KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_FieldNumber_Validation = 1,
  KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_FieldNumber_ScenarioNotFound = 2,
};

typedef GPB_ENUM(KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_Reason_OneOfCase) {
  KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_Reason_OneOfCase_GPBUnsetOneOfCase = 0,
  KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_Reason_OneOfCase_Validation = 1,
  KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_Reason_OneOfCase_ScenarioNotFound = 2,
};

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

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

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

/** Звуковой файл не найден */
@property(nonatomic, readwrite, strong, null_resettable) KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_ScenarioNotFound *scenarioNotFound;

@end

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

#pragma mark - KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_ScenarioNotFound

/**
 * Не найден сценарий оповещения
 **/
GPB_FINAL @interface KEYAPISDIALV1PostBroadcastAlertStartResponse_Error_ScenarioNotFound : GPBMessage

@end

#pragma mark - KEYAPISDIALV1ValidationError

typedef GPB_ENUM(KEYAPISDIALV1ValidationError_FieldNumber) {
  KEYAPISDIALV1ValidationError_FieldNumber_Path = 1,
  KEYAPISDIALV1ValidationError_FieldNumber_Message = 2,
};

/**
 * Ошибки валидации
 **/
GPB_FINAL @interface KEYAPISDIALV1ValidationError : GPBMessage

/** Путь к полю в формате наименования protobuf */
@property(nonatomic, readwrite, copy, null_resettable) NSString *path;

/** Валидационное сообщение */
@property(nonatomic, readwrite, copy, null_resettable) NSString *message;

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
