// @generated
// This file is @generated by prost-build.
/// ETF LP 설정
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EtfLp {
    /// ETF 심볼
    #[prost(string, tag="1")]
    pub symbol: ::prost::alloc::string::String,
    /// Fund
    #[prost(string, tag="2")]
    pub fund_code: ::prost::alloc::string::String,
    /// Basis 스프레드 (원 단위, i64)
    #[prost(int64, tag="6")]
    pub basis: i64,
    /// 주문 수량 (i64)
    #[prost(int64, tag="7")]
    pub quantity: i64,
    /// 호가 깊이 (양방향 레벨 수)
    #[prost(uint32, tag="8")]
    pub depth: u32,
    /// ETF tick 크기 (원 단위, i64)
    #[prost(int64, tag="9")]
    pub tick_size: i64,
    /// 동적 offset 조정 설정
    #[prost(message, optional, tag="10")]
    pub offset: ::core::option::Option<EtfLpOffset>,
}
// ========== ETF LP Status Messages ==========

/// ETF LP 상태
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EtfLpStatus {
    /// ETF 심볼
    #[prost(string, tag="1")]
    pub etf_symbol: ::prost::alloc::string::String,
    /// 펀드 코드
    #[prost(string, tag="2")]
    pub fund_code: ::prost::alloc::string::String,
    /// Basis 스프레드 (원 단위, i64)
    #[prost(int64, tag="6")]
    pub basis: i64,
    /// 주문 수량 (i64)
    #[prost(int64, tag="7")]
    pub quantity: i64,
    /// LP 상태
    #[prost(enumeration="EtfLpState", tag="8")]
    pub state: i32,
    /// 가격 정보
    #[prost(message, optional, tag="9")]
    pub pricing: ::core::option::Option<LpPricing>,
    /// 체결 통계
    #[prost(message, optional, tag="10")]
    pub fill_statistics: ::core::option::Option<FillStatistics>,
    /// 동적 offset 조정 설정 (optional)
    #[prost(message, optional, tag="11")]
    pub offset: ::core::option::Option<EtfLpOffset>,
}
/// ETF LP 상태 업데이트 메시지 (변화된 필드만 포함)
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EtfLpStatusUpdate {
    /// ETF 심볼
    #[prost(string, tag="1")]
    pub etf_symbol: ::prost::alloc::string::String,
    /// 펀드 코드
    #[prost(string, tag="2")]
    pub fund_code: ::prost::alloc::string::String,
    /// Basis 스프레드 (원 단위, i64)
    #[prost(int64, optional, tag="6")]
    pub basis: ::core::option::Option<i64>,
    /// 주문 수량 (i64)
    #[prost(int64, optional, tag="7")]
    pub quantity: ::core::option::Option<i64>,
    /// LP 상태
    #[prost(enumeration="EtfLpState", optional, tag="8")]
    pub state: ::core::option::Option<i32>,
    /// 가격 정보
    #[prost(message, optional, tag="9")]
    pub pricing: ::core::option::Option<LpPricing>,
    /// 체결 통계
    #[prost(message, optional, tag="10")]
    pub fill_statistics: ::core::option::Option<FillStatistics>,
    /// 동적 offset 조정 설정 (optional)
    #[prost(message, optional, tag="11")]
    pub offset: ::core::option::Option<EtfLpOffset>,
}
/// 자동 offset 조정 설정
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct EtfLpOffset {
    ///
    #[prost(int64, tag="1")]
    pub bid_offset: i64,
    #[prost(int64, tag="2")]
    pub ask_offset: i64,
    /// NAV 밴드 설정
    #[prost(int64, tag="3")]
    pub min_offset: i64,
    #[prost(int64, tag="4")]
    pub max_offset: i64,
    /// 시간 기반 조정
    #[prost(bool, tag="7")]
    pub time_adjustment_enabled: bool,
    #[prost(uint64, tag="8")]
    pub adjustment_interval_secs: u64,
    #[prost(float, tag="9")]
    pub adjustment_step: f32,
    #[prost(bool, tag="10")]
    pub reset_on_fill: bool,
    /// 순매매량 기반 조정
    #[prost(bool, tag="17")]
    pub position_adjustment_enabled: bool,
    #[prost(enumeration="PositionAdjustmentStrategy", tag="18")]
    pub position_strategy: i32,
    #[prost(int64, tag="19")]
    pub position_threshold: i64,
    #[prost(float, tag="20")]
    pub position_adjustment_step: f32,
}
/// ETF 체결 통계 (매수/매도 체결량 및 평균 단가)
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FillStatistics {
    /// 매수 체결량
    #[prost(int64, tag="1")]
    pub buy_filled_quantity: i64,
    /// 매도 체결량
    #[prost(int64, tag="2")]
    pub sell_filled_quantity: i64,
    /// 매수 총금액 (평균 단가 계산용)
    #[prost(string, tag="3")]
    pub buy_total_amount: ::prost::alloc::string::String,
    /// 매도 총금액 (평균 단가 계산용)
    #[prost(string, tag="4")]
    pub sell_total_amount: ::prost::alloc::string::String,
}
/// 주문 통계
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct OrderStats {
    /// 총 전송 주문 수
    #[prost(uint64, tag="1")]
    pub total_orders_sent: u64,
    /// 접수된 주문 수
    #[prost(uint64, tag="2")]
    pub orders_accepted: u64,
    /// 거부된 주문 수
    #[prost(uint64, tag="3")]
    pub orders_rejected: u64,
    /// 체결된 주문 수
    #[prost(uint64, tag="4")]
    pub orders_filled: u64,
    /// 총 체결 수량
    #[prost(int64, tag="5")]
    pub total_filled_quantity: i64,
    /// 일일 체결 수량
    #[prost(int64, tag="6")]
    pub daily_filled_quantity: i64,
}
// Order Limiter 상태
// message OrderLimitStatus {
//   // 일일 누적 체결 수량 (i64)
//   int64 daily_filled_quantity = 1;
//
//   // 일일 누적 체결 수량 한도 (i64)
//   int64 daily_cumulative_limit = 2;
//
//   // 시간 프레임별 주문 개수 현황
//   repeated TimeFrameStatus time_frame_status = 3;
//
//   // 일일 사용률 (%)
//   double daily_usage_percent = 4;
// }

/// 시간 프레임별 상태
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TimeFrameStatus {
    /// 시간 윈도우 (초)
    #[prost(uint64, tag="1")]
    pub window_seconds: u64,
    /// 현재 윈도우 내 주문 개수
    #[prost(uint32, tag="2")]
    pub current_count: u32,
    /// 최대 주문 개수
    #[prost(uint32, tag="3")]
    pub max_orders: u32,
    /// 사용률 (%)
    #[prost(double, tag="4")]
    pub usage_percent: f64,
}
/// LP 가격 정보
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LpPricing {
    /// ETF 가격 (원 단위)
    #[prost(string, tag="1")]
    pub etf_price: ::prost::alloc::string::String,
    // 구성 종목 가격 맵 (종목 코드 -> 가격, 원 단위)
    //   map<string, string> constituents_price = 2;

    /// ETF NAV (원 단위)
    #[prost(string, tag="3")]
    pub etf_nav: ::prost::alloc::string::String,
}
/// ========== Request/Response Messages ==========
/// GetEtfLp
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetEtfLpRequest {
    #[prost(string, tag="1")]
    pub etf: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub fund: ::prost::alloc::string::String,
}
/// ListEtfLps
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListEtfLpsRequest {
    /// 페이지 크기 (optional)
    #[prost(uint32, optional, tag="1")]
    pub page_size: ::core::option::Option<u32>,
    /// 페이지 토큰 (optional, for pagination)
    #[prost(string, optional, tag="2")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Available Sequence and Operator
    /// * etf_symbol
    ///    * `equal`, `contains`
    /// * fund_code
    ///    * `equal`, `contains`
    ///
    /// Examples
    /// * filter=etf_symbol:"005930"
    /// * filter=fund_code="0159"
    #[prost(string, tag="3")]
    pub filter: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListEtfLpsResponse {
    /// ETF 목록
    #[prost(message, repeated, tag="1")]
    pub etf_lps: ::prost::alloc::vec::Vec<EtfLp>,
    /// 다음 페이지 토큰
    #[prost(string, tag="2")]
    pub next_page_token: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListEtfLpStatusesRequest {
    /// 페이지 크기 (optional)
    #[prost(uint32, optional, tag="1")]
    pub page_size: ::core::option::Option<u32>,
    /// 페이지 토큰 (optional, for pagination)
    #[prost(string, optional, tag="2")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    // Available Sequence and Operator
    // * etf_symbol
    //    * `equal`, `contains`
    // * fund_code
    //    * `equal`, `contains`
    // * state
    //    * `equal`
    // * fill_satistics.buy_filled_quantity
    //    * `greater_than`, `less_than`
    //
    // Examples
    // * filter=etf_symbol:"005930"
    // * filter=fund_code="0159"
    // * filter=state=ETF_LP_STATE_RUNNING
    // * filter=fill_statistics.buy_filled_quantity > 1000

    #[prost(string, tag="3")]
    pub filter: ::prost::alloc::string::String,
    /// 오더링 조건. (optional, AIP-132)
    ///
    /// Supported Fields
    /// * "fill_statistics.buy_filled_quantity", "fill_statistics.sell_filled_quantity"
    ///
    /// Examples
    /// * order_by=fill_statistics.buy_filled_quantity desc
    #[prost(string, tag="5")]
    pub order_by: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListEtfLpStatusesResponse {
    /// ETF 목록
    #[prost(message, repeated, tag="1")]
    pub etf_lp_statuses: ::prost::alloc::vec::Vec<EtfLpStatus>,
    /// 다음 페이지 토큰
    #[prost(string, tag="2")]
    pub next_page_token: ::prost::alloc::string::String,
}
/// UpdateEtfLp
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateEtfLpRequest {
    #[prost(message, optional, tag="1")]
    pub lp: ::core::option::Option<EtfLp>,
    #[prost(message, optional, tag="2")]
    pub update_mask: ::core::option::Option<super::super::super::google::protobuf::FieldMask>,
}
/// GetEtfLpStatus
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetEtfLpStatusRequest {
    #[prost(string, tag="1")]
    pub etf: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub fund: ::prost::alloc::string::String,
}
/// StreamEtfLpStatus
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamEtfLpStatusUpdateRequest {
    #[prost(string, tag="1")]
    pub etf: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub fund: ::prost::alloc::string::String,
}
/// ETF LP 시작 요청
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StartEtfLpRequest {
    #[prost(string, tag="1")]
    pub etf: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub fund: ::prost::alloc::string::String,
}
/// ETF LP 시작 응답
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StartEtfLpResponse {
    /// LP 상태
    #[prost(message, optional, tag="1")]
    pub status: ::core::option::Option<EtfLpStatus>,
    /// 메시지
    #[prost(string, tag="2")]
    pub message: ::prost::alloc::string::String,
}
/// ETF LP 중지 요청
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StopEtfLpRequest {
    #[prost(string, tag="1")]
    pub etf: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub fund: ::prost::alloc::string::String,
}
/// ETF LP 중지 응답
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StopEtfLpResponse {
    /// LP 상태
    #[prost(message, optional, tag="1")]
    pub status: ::core::option::Option<EtfLpStatus>,
    /// 메시지
    #[prost(string, tag="2")]
    pub message: ::prost::alloc::string::String,
}
/// StreamEtfErrors 요청
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamLpEventsRequest {
    #[prost(string, tag="1")]
    pub etf: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub fund: ::prost::alloc::string::String,
}
/// ETF LP 에러 이벤트
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EtfLpEvent {
    /// ETF 심볼
    #[prost(string, tag="1")]
    pub symbol: ::prost::alloc::string::String,
    /// 작업 타입
    #[prost(enumeration="TaskType", tag="2")]
    pub task_type: i32,
    /// 이벤트 타입
    #[prost(enumeration="LpEventType", tag="3")]
    pub r#type: i32,
    /// 상세 메시지
    #[prost(string, tag="4")]
    pub message: ::prost::alloc::string::String,
    /// 발생 시간
    #[prost(message, optional, tag="5")]
    pub timestamp: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
    /// 이벤트 레벨
    #[prost(enumeration="LpEventLevel", tag="6")]
    pub level: i32,
}
/// 주문 업데이트 스트리밍 요청
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetUserOrderBookRequest {
    #[prost(string, tag="1")]
    pub etf: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub fund: ::prost::alloc::string::String,
}
/// 주문 업데이트 정보
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserOrderbookData {
    /// 매수 호가 (10단계, AIP-144)
    #[prost(string, repeated, tag="1")]
    pub bid_prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// 매도 호가 (10단계)
    #[prost(string, repeated, tag="2")]
    pub ask_prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// 매수 수량 (10단계)
    #[prost(int64, repeated, tag="3")]
    pub bid_quantities: ::prost::alloc::vec::Vec<i64>,
    /// 매도 수량 (10단계)
    #[prost(int64, repeated, tag="4")]
    pub ask_quantities: ::prost::alloc::vec::Vec<i64>,
}
/// 순매매량 기반 조정 전략
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum PositionAdjustmentStrategy {
    Unspecified = 0,
    /// 회피: 순매수 과다 시 매수offset 증가 (덜 공격적으로 매수)
    Avoidance = 1,
    /// 매매회전: 순매수 과다 시 매도offset 감소 (더 공격적으로 매도)
    Turnover = 2,
    /// 모두 적용: 순매수 과다 시 매수offset 증가 및 매도offset 감소
    All = 10,
}
impl PositionAdjustmentStrategy {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            PositionAdjustmentStrategy::Unspecified => "POSITION_ADJUSTMENT_STRATEGY_UNSPECIFIED",
            PositionAdjustmentStrategy::Avoidance => "POSITION_ADJUSTMENT_STRATEGY_AVOIDANCE",
            PositionAdjustmentStrategy::Turnover => "POSITION_ADJUSTMENT_STRATEGY_TURNOVER",
            PositionAdjustmentStrategy::All => "POSITION_ADJUSTMENT_STRATEGY_ALL",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "POSITION_ADJUSTMENT_STRATEGY_UNSPECIFIED" => Some(Self::Unspecified),
            "POSITION_ADJUSTMENT_STRATEGY_AVOIDANCE" => Some(Self::Avoidance),
            "POSITION_ADJUSTMENT_STRATEGY_TURNOVER" => Some(Self::Turnover),
            "POSITION_ADJUSTMENT_STRATEGY_ALL" => Some(Self::All),
            _ => None,
        }
    }
}
/// ETF LP 상태 enum
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum EtfLpState {
    Unspecified = 0,
    Idle = 1,
    Running = 2,
    Stopping = 3,
    Error = 4,
}
impl EtfLpState {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            EtfLpState::Unspecified => "ETF_LP_STATE_UNSPECIFIED",
            EtfLpState::Idle => "ETF_LP_STATE_IDLE",
            EtfLpState::Running => "ETF_LP_STATE_RUNNING",
            EtfLpState::Stopping => "ETF_LP_STATE_STOPPING",
            EtfLpState::Error => "ETF_LP_STATE_ERROR",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "ETF_LP_STATE_UNSPECIFIED" => Some(Self::Unspecified),
            "ETF_LP_STATE_IDLE" => Some(Self::Idle),
            "ETF_LP_STATE_RUNNING" => Some(Self::Running),
            "ETF_LP_STATE_STOPPING" => Some(Self::Stopping),
            "ETF_LP_STATE_ERROR" => Some(Self::Error),
            _ => None,
        }
    }
}
/// 작업 타입
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum TaskType {
    Unspecified = 0,
    Quote = 1,
    Hedge = 2,
}
impl TaskType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            TaskType::Unspecified => "TASK_TYPE_UNSPECIFIED",
            TaskType::Quote => "TASK_TYPE_QUOTE",
            TaskType::Hedge => "TASK_TYPE_HEDGE",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "TASK_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
            "TASK_TYPE_QUOTE" => Some(Self::Quote),
            "TASK_TYPE_HEDGE" => Some(Self::Hedge),
            _ => None,
        }
    }
}
/// 이벤트 타입
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum LpEventType {
    Unspecified = 0,
    /// 초기화 실패
    Initialization = 1,
    /// 가격 업데이트 실패
    PriceUpdate = 2,
    /// 주문 제출 실패
    OrderSubmit = 3,
    /// 주문 처리 실패
    OrderProcessing = 4,
    /// NAV 계산 실패
    NavCalculation = 5,
    /// 오더북 업데이트 실패
    OrderBookUpdate = 6,
    /// 주문 한도 초과
    OrderLimitExceeded = 7,
    /// 펀드 한도 초과
    FundLimitExceeded = 8,
    /// 주식 재고 초과
    StockInventoryExceeded = 9,
    /// 시스템 에러
    SystemError = 12,
    /// 시장 세션 관련 에러
    MarketSession = 13,
    /// 펀드 정보 업데이트 실패
    FundUpdate = 14,
    /// 오프셋 조정 (시간 기반) 실행
    OffsetAdjustmentTimeStrategy = 15,
    /// 오프셋 조정 (포지션 기반) 실행
    OffsetAdjustmentPositionStrategy = 16,
}
impl LpEventType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            LpEventType::Unspecified => "LP_EVENT_TYPE_UNSPECIFIED",
            LpEventType::Initialization => "LP_EVENT_TYPE_INITIALIZATION",
            LpEventType::PriceUpdate => "LP_EVENT_TYPE_PRICE_UPDATE",
            LpEventType::OrderSubmit => "LP_EVENT_TYPE_ORDER_SUBMIT",
            LpEventType::OrderProcessing => "LP_EVENT_TYPE_ORDER_PROCESSING",
            LpEventType::NavCalculation => "LP_EVENT_TYPE_NAV_CALCULATION",
            LpEventType::OrderBookUpdate => "LP_EVENT_TYPE_ORDER_BOOK_UPDATE",
            LpEventType::OrderLimitExceeded => "LP_EVENT_TYPE_ORDER_LIMIT_EXCEEDED",
            LpEventType::FundLimitExceeded => "LP_EVENT_TYPE_FUND_LIMIT_EXCEEDED",
            LpEventType::StockInventoryExceeded => "LP_EVENT_TYPE_STOCK_INVENTORY_EXCEEDED",
            LpEventType::SystemError => "LP_EVENT_TYPE_SYSTEM_ERROR",
            LpEventType::MarketSession => "LP_EVENT_TYPE_MARKET_SESSION",
            LpEventType::FundUpdate => "LP_EVENT_TYPE_FUND_UPDATE",
            LpEventType::OffsetAdjustmentTimeStrategy => "LP_EVENT_TYPE_OFFSET_ADJUSTMENT_TIME_STRATEGY",
            LpEventType::OffsetAdjustmentPositionStrategy => "LP_EVENT_TYPE_OFFSET_ADJUSTMENT_POSITION_STRATEGY",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "LP_EVENT_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
            "LP_EVENT_TYPE_INITIALIZATION" => Some(Self::Initialization),
            "LP_EVENT_TYPE_PRICE_UPDATE" => Some(Self::PriceUpdate),
            "LP_EVENT_TYPE_ORDER_SUBMIT" => Some(Self::OrderSubmit),
            "LP_EVENT_TYPE_ORDER_PROCESSING" => Some(Self::OrderProcessing),
            "LP_EVENT_TYPE_NAV_CALCULATION" => Some(Self::NavCalculation),
            "LP_EVENT_TYPE_ORDER_BOOK_UPDATE" => Some(Self::OrderBookUpdate),
            "LP_EVENT_TYPE_ORDER_LIMIT_EXCEEDED" => Some(Self::OrderLimitExceeded),
            "LP_EVENT_TYPE_FUND_LIMIT_EXCEEDED" => Some(Self::FundLimitExceeded),
            "LP_EVENT_TYPE_STOCK_INVENTORY_EXCEEDED" => Some(Self::StockInventoryExceeded),
            "LP_EVENT_TYPE_SYSTEM_ERROR" => Some(Self::SystemError),
            "LP_EVENT_TYPE_MARKET_SESSION" => Some(Self::MarketSession),
            "LP_EVENT_TYPE_FUND_UPDATE" => Some(Self::FundUpdate),
            "LP_EVENT_TYPE_OFFSET_ADJUSTMENT_TIME_STRATEGY" => Some(Self::OffsetAdjustmentTimeStrategy),
            "LP_EVENT_TYPE_OFFSET_ADJUSTMENT_POSITION_STRATEGY" => Some(Self::OffsetAdjustmentPositionStrategy),
            _ => None,
        }
    }
}
/// 이벤트 레벨
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum LpEventLevel {
    Unspecified = 0,
    /// 디버그 정보
    Debug = 1,
    /// 정보성 메시지
    Info = 2,
    /// 경고
    Warning = 3,
    /// 에러
    Error = 4,
    /// 치명적 에러
    Critical = 5,
}
impl LpEventLevel {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            LpEventLevel::Unspecified => "LP_EVENT_LEVEL_UNSPECIFIED",
            LpEventLevel::Debug => "LP_EVENT_LEVEL_DEBUG",
            LpEventLevel::Info => "LP_EVENT_LEVEL_INFO",
            LpEventLevel::Warning => "LP_EVENT_LEVEL_WARNING",
            LpEventLevel::Error => "LP_EVENT_LEVEL_ERROR",
            LpEventLevel::Critical => "LP_EVENT_LEVEL_CRITICAL",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "LP_EVENT_LEVEL_UNSPECIFIED" => Some(Self::Unspecified),
            "LP_EVENT_LEVEL_DEBUG" => Some(Self::Debug),
            "LP_EVENT_LEVEL_INFO" => Some(Self::Info),
            "LP_EVENT_LEVEL_WARNING" => Some(Self::Warning),
            "LP_EVENT_LEVEL_ERROR" => Some(Self::Error),
            "LP_EVENT_LEVEL_CRITICAL" => Some(Self::Critical),
            _ => None,
        }
    }
}
include!("kdo.v1.lp.tonic.rs");
include!("kdo.v1.lp.serde.rs");
// @@protoc_insertion_point(module)