All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.tinkoff.piapi.contract.v1.BrokerReport Maven / Gradle / Ivy

There is a newer version: 1.25
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: operations.proto

package ru.tinkoff.piapi.contract.v1;

/**
 * Protobuf type {@code tinkoff.public.invest.api.contract.v1.BrokerReport}
 */
public final class BrokerReport extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.BrokerReport)
    BrokerReportOrBuilder {
private static final long serialVersionUID = 0L;
  // Use BrokerReport.newBuilder() to construct.
  private BrokerReport(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private BrokerReport() {
    tradeId_ = "";
    orderId_ = "";
    figi_ = "";
    executeSign_ = "";
    exchange_ = "";
    classCode_ = "";
    direction_ = "";
    name_ = "";
    ticker_ = "";
    party_ = "";
    brokerStatus_ = "";
    separateAgreementType_ = "";
    separateAgreementNumber_ = "";
    separateAgreementDate_ = "";
    deliveryType_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new BrokerReport();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_BrokerReport_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_BrokerReport_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            ru.tinkoff.piapi.contract.v1.BrokerReport.class, ru.tinkoff.piapi.contract.v1.BrokerReport.Builder.class);
  }

  public static final int TRADE_ID_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object tradeId_ = "";
  /**
   * 
   *Номер сделки.
   * 
* * string trade_id = 1; * @return The tradeId. */ @java.lang.Override public java.lang.String getTradeId() { java.lang.Object ref = tradeId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tradeId_ = s; return s; } } /** *
   *Номер сделки.
   * 
* * string trade_id = 1; * @return The bytes for tradeId. */ @java.lang.Override public com.google.protobuf.ByteString getTradeIdBytes() { java.lang.Object ref = tradeId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tradeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDER_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object orderId_ = ""; /** *
   *Номер поручения.
   * 
* * string order_id = 2; * @return The orderId. */ @java.lang.Override public java.lang.String getOrderId() { java.lang.Object ref = orderId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderId_ = s; return s; } } /** *
   *Номер поручения.
   * 
* * string order_id = 2; * @return The bytes for orderId. */ @java.lang.Override public com.google.protobuf.ByteString getOrderIdBytes() { java.lang.Object ref = orderId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIGI_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object figi_ = ""; /** *
   *Figi-идентификатор инструмента.
   * 
* * string figi = 3; * @return The figi. */ @java.lang.Override public java.lang.String getFigi() { java.lang.Object ref = figi_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); figi_ = s; return s; } } /** *
   *Figi-идентификатор инструмента.
   * 
* * string figi = 3; * @return The bytes for figi. */ @java.lang.Override public com.google.protobuf.ByteString getFigiBytes() { java.lang.Object ref = figi_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); figi_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXECUTE_SIGN_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object executeSign_ = ""; /** *
   *Признак исполнения.
   * 
* * string execute_sign = 4; * @return The executeSign. */ @java.lang.Override public java.lang.String getExecuteSign() { java.lang.Object ref = executeSign_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); executeSign_ = s; return s; } } /** *
   *Признак исполнения.
   * 
* * string execute_sign = 4; * @return The bytes for executeSign. */ @java.lang.Override public com.google.protobuf.ByteString getExecuteSignBytes() { java.lang.Object ref = executeSign_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); executeSign_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRADE_DATETIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp tradeDatetime_; /** *
   *Дата и время заключения в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp trade_datetime = 5; * @return Whether the tradeDatetime field is set. */ @java.lang.Override public boolean hasTradeDatetime() { return tradeDatetime_ != null; } /** *
   *Дата и время заключения в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp trade_datetime = 5; * @return The tradeDatetime. */ @java.lang.Override public com.google.protobuf.Timestamp getTradeDatetime() { return tradeDatetime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : tradeDatetime_; } /** *
   *Дата и время заключения в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp trade_datetime = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTradeDatetimeOrBuilder() { return tradeDatetime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : tradeDatetime_; } public static final int EXCHANGE_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object exchange_ = ""; /** *
   *Торговая площадка.
   * 
* * string exchange = 6; * @return The exchange. */ @java.lang.Override public java.lang.String getExchange() { java.lang.Object ref = exchange_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); exchange_ = s; return s; } } /** *
   *Торговая площадка.
   * 
* * string exchange = 6; * @return The bytes for exchange. */ @java.lang.Override public com.google.protobuf.ByteString getExchangeBytes() { java.lang.Object ref = exchange_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exchange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLASS_CODE_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object classCode_ = ""; /** *
   *Режим торгов.
   * 
* * string class_code = 7; * @return The classCode. */ @java.lang.Override public java.lang.String getClassCode() { java.lang.Object ref = classCode_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); classCode_ = s; return s; } } /** *
   *Режим торгов.
   * 
* * string class_code = 7; * @return The bytes for classCode. */ @java.lang.Override public com.google.protobuf.ByteString getClassCodeBytes() { java.lang.Object ref = classCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DIRECTION_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object direction_ = ""; /** *
   *Вид сделки.
   * 
* * string direction = 8; * @return The direction. */ @java.lang.Override public java.lang.String getDirection() { java.lang.Object ref = direction_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; } } /** *
   *Вид сделки.
   * 
* * string direction = 8; * @return The bytes for direction. */ @java.lang.Override public com.google.protobuf.ByteString getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); direction_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
   *Сокращённое наименование актива.
   * 
* * string name = 9; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
   *Сокращённое наименование актива.
   * 
* * string name = 9; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKER_FIELD_NUMBER = 10; @SuppressWarnings("serial") private volatile java.lang.Object ticker_ = ""; /** *
   *Код актива.
   * 
* * string ticker = 10; * @return The ticker. */ @java.lang.Override public java.lang.String getTicker() { java.lang.Object ref = ticker_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticker_ = s; return s; } } /** *
   *Код актива.
   * 
* * string ticker = 10; * @return The bytes for ticker. */ @java.lang.Override public com.google.protobuf.ByteString getTickerBytes() { java.lang.Object ref = ticker_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticker_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRICE_FIELD_NUMBER = 11; private ru.tinkoff.piapi.contract.v1.MoneyValue price_; /** *
   *Цена за единицу.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; * @return Whether the price field is set. */ @java.lang.Override public boolean hasPrice() { return price_ != null; } /** *
   *Цена за единицу.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; * @return The price. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getPrice() { return price_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : price_; } /** *
   *Цена за единицу.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getPriceOrBuilder() { return price_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : price_; } public static final int QUANTITY_FIELD_NUMBER = 12; private long quantity_ = 0L; /** *
   *Количество.
   * 
* * int64 quantity = 12; * @return The quantity. */ @java.lang.Override public long getQuantity() { return quantity_; } public static final int ORDER_AMOUNT_FIELD_NUMBER = 13; private ru.tinkoff.piapi.contract.v1.MoneyValue orderAmount_; /** *
   *Сумма (без НКД).
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; * @return Whether the orderAmount field is set. */ @java.lang.Override public boolean hasOrderAmount() { return orderAmount_ != null; } /** *
   *Сумма (без НКД).
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; * @return The orderAmount. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getOrderAmount() { return orderAmount_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : orderAmount_; } /** *
   *Сумма (без НКД).
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getOrderAmountOrBuilder() { return orderAmount_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : orderAmount_; } public static final int ACI_VALUE_FIELD_NUMBER = 14; private ru.tinkoff.piapi.contract.v1.Quotation aciValue_; /** *
   *НКД.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; * @return Whether the aciValue field is set. */ @java.lang.Override public boolean hasAciValue() { return aciValue_ != null; } /** *
   *НКД.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; * @return The aciValue. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.Quotation getAciValue() { return aciValue_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : aciValue_; } /** *
   *НКД.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getAciValueOrBuilder() { return aciValue_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : aciValue_; } public static final int TOTAL_ORDER_AMOUNT_FIELD_NUMBER = 15; private ru.tinkoff.piapi.contract.v1.MoneyValue totalOrderAmount_; /** *
   *Сумма сделки.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; * @return Whether the totalOrderAmount field is set. */ @java.lang.Override public boolean hasTotalOrderAmount() { return totalOrderAmount_ != null; } /** *
   *Сумма сделки.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; * @return The totalOrderAmount. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getTotalOrderAmount() { return totalOrderAmount_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : totalOrderAmount_; } /** *
   *Сумма сделки.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getTotalOrderAmountOrBuilder() { return totalOrderAmount_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : totalOrderAmount_; } public static final int BROKER_COMMISSION_FIELD_NUMBER = 16; private ru.tinkoff.piapi.contract.v1.MoneyValue brokerCommission_; /** *
   *Комиссия брокера.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; * @return Whether the brokerCommission field is set. */ @java.lang.Override public boolean hasBrokerCommission() { return brokerCommission_ != null; } /** *
   *Комиссия брокера.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; * @return The brokerCommission. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getBrokerCommission() { return brokerCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : brokerCommission_; } /** *
   *Комиссия брокера.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getBrokerCommissionOrBuilder() { return brokerCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : brokerCommission_; } public static final int EXCHANGE_COMMISSION_FIELD_NUMBER = 17; private ru.tinkoff.piapi.contract.v1.MoneyValue exchangeCommission_; /** *
   *Комиссия биржи.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; * @return Whether the exchangeCommission field is set. */ @java.lang.Override public boolean hasExchangeCommission() { return exchangeCommission_ != null; } /** *
   *Комиссия биржи.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; * @return The exchangeCommission. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getExchangeCommission() { return exchangeCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : exchangeCommission_; } /** *
   *Комиссия биржи.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getExchangeCommissionOrBuilder() { return exchangeCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : exchangeCommission_; } public static final int EXCHANGE_CLEARING_COMMISSION_FIELD_NUMBER = 18; private ru.tinkoff.piapi.contract.v1.MoneyValue exchangeClearingCommission_; /** *
   *Комиссия клир. центра.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; * @return Whether the exchangeClearingCommission field is set. */ @java.lang.Override public boolean hasExchangeClearingCommission() { return exchangeClearingCommission_ != null; } /** *
   *Комиссия клир. центра.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; * @return The exchangeClearingCommission. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getExchangeClearingCommission() { return exchangeClearingCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : exchangeClearingCommission_; } /** *
   *Комиссия клир. центра.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getExchangeClearingCommissionOrBuilder() { return exchangeClearingCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : exchangeClearingCommission_; } public static final int REPO_RATE_FIELD_NUMBER = 19; private ru.tinkoff.piapi.contract.v1.Quotation repoRate_; /** *
   *Ставка РЕПО (%).
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; * @return Whether the repoRate field is set. */ @java.lang.Override public boolean hasRepoRate() { return repoRate_ != null; } /** *
   *Ставка РЕПО (%).
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; * @return The repoRate. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.Quotation getRepoRate() { return repoRate_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : repoRate_; } /** *
   *Ставка РЕПО (%).
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getRepoRateOrBuilder() { return repoRate_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : repoRate_; } public static final int PARTY_FIELD_NUMBER = 20; @SuppressWarnings("serial") private volatile java.lang.Object party_ = ""; /** *
   *Контрагент/Брокер.
   * 
* * string party = 20; * @return The party. */ @java.lang.Override public java.lang.String getParty() { java.lang.Object ref = party_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); party_ = s; return s; } } /** *
   *Контрагент/Брокер.
   * 
* * string party = 20; * @return The bytes for party. */ @java.lang.Override public com.google.protobuf.ByteString getPartyBytes() { java.lang.Object ref = party_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); party_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLEAR_VALUE_DATE_FIELD_NUMBER = 21; private com.google.protobuf.Timestamp clearValueDate_; /** *
   *Дата расчётов в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp clear_value_date = 21; * @return Whether the clearValueDate field is set. */ @java.lang.Override public boolean hasClearValueDate() { return clearValueDate_ != null; } /** *
   *Дата расчётов в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp clear_value_date = 21; * @return The clearValueDate. */ @java.lang.Override public com.google.protobuf.Timestamp getClearValueDate() { return clearValueDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : clearValueDate_; } /** *
   *Дата расчётов в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp clear_value_date = 21; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getClearValueDateOrBuilder() { return clearValueDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : clearValueDate_; } public static final int SEC_VALUE_DATE_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp secValueDate_; /** *
   *Дата поставки в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp sec_value_date = 22; * @return Whether the secValueDate field is set. */ @java.lang.Override public boolean hasSecValueDate() { return secValueDate_ != null; } /** *
   *Дата поставки в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp sec_value_date = 22; * @return The secValueDate. */ @java.lang.Override public com.google.protobuf.Timestamp getSecValueDate() { return secValueDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : secValueDate_; } /** *
   *Дата поставки в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp sec_value_date = 22; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSecValueDateOrBuilder() { return secValueDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : secValueDate_; } public static final int BROKER_STATUS_FIELD_NUMBER = 23; @SuppressWarnings("serial") private volatile java.lang.Object brokerStatus_ = ""; /** *
   *Статус брокера.
   * 
* * string broker_status = 23; * @return The brokerStatus. */ @java.lang.Override public java.lang.String getBrokerStatus() { java.lang.Object ref = brokerStatus_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brokerStatus_ = s; return s; } } /** *
   *Статус брокера.
   * 
* * string broker_status = 23; * @return The bytes for brokerStatus. */ @java.lang.Override public com.google.protobuf.ByteString getBrokerStatusBytes() { java.lang.Object ref = brokerStatus_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); brokerStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEPARATE_AGREEMENT_TYPE_FIELD_NUMBER = 24; @SuppressWarnings("serial") private volatile java.lang.Object separateAgreementType_ = ""; /** *
   *Тип дог.
   * 
* * string separate_agreement_type = 24; * @return The separateAgreementType. */ @java.lang.Override public java.lang.String getSeparateAgreementType() { java.lang.Object ref = separateAgreementType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); separateAgreementType_ = s; return s; } } /** *
   *Тип дог.
   * 
* * string separate_agreement_type = 24; * @return The bytes for separateAgreementType. */ @java.lang.Override public com.google.protobuf.ByteString getSeparateAgreementTypeBytes() { java.lang.Object ref = separateAgreementType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); separateAgreementType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEPARATE_AGREEMENT_NUMBER_FIELD_NUMBER = 25; @SuppressWarnings("serial") private volatile java.lang.Object separateAgreementNumber_ = ""; /** *
   *Номер дог.
   * 
* * string separate_agreement_number = 25; * @return The separateAgreementNumber. */ @java.lang.Override public java.lang.String getSeparateAgreementNumber() { java.lang.Object ref = separateAgreementNumber_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); separateAgreementNumber_ = s; return s; } } /** *
   *Номер дог.
   * 
* * string separate_agreement_number = 25; * @return The bytes for separateAgreementNumber. */ @java.lang.Override public com.google.protobuf.ByteString getSeparateAgreementNumberBytes() { java.lang.Object ref = separateAgreementNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); separateAgreementNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEPARATE_AGREEMENT_DATE_FIELD_NUMBER = 26; @SuppressWarnings("serial") private volatile java.lang.Object separateAgreementDate_ = ""; /** *
   *Дата дог.
   * 
* * string separate_agreement_date = 26; * @return The separateAgreementDate. */ @java.lang.Override public java.lang.String getSeparateAgreementDate() { java.lang.Object ref = separateAgreementDate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); separateAgreementDate_ = s; return s; } } /** *
   *Дата дог.
   * 
* * string separate_agreement_date = 26; * @return The bytes for separateAgreementDate. */ @java.lang.Override public com.google.protobuf.ByteString getSeparateAgreementDateBytes() { java.lang.Object ref = separateAgreementDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); separateAgreementDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DELIVERY_TYPE_FIELD_NUMBER = 27; @SuppressWarnings("serial") private volatile java.lang.Object deliveryType_ = ""; /** *
   *Тип расчёта по сделке.
   * 
* * string delivery_type = 27; * @return The deliveryType. */ @java.lang.Override public java.lang.String getDeliveryType() { java.lang.Object ref = deliveryType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryType_ = s; return s; } } /** *
   *Тип расчёта по сделке.
   * 
* * string delivery_type = 27; * @return The bytes for deliveryType. */ @java.lang.Override public com.google.protobuf.ByteString getDeliveryTypeBytes() { java.lang.Object ref = deliveryType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deliveryType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tradeId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tradeId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, orderId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(figi_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, figi_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executeSign_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, executeSign_); } if (tradeDatetime_ != null) { output.writeMessage(5, getTradeDatetime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exchange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, exchange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(classCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, classCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(direction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, direction_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ticker_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ticker_); } if (price_ != null) { output.writeMessage(11, getPrice()); } if (quantity_ != 0L) { output.writeInt64(12, quantity_); } if (orderAmount_ != null) { output.writeMessage(13, getOrderAmount()); } if (aciValue_ != null) { output.writeMessage(14, getAciValue()); } if (totalOrderAmount_ != null) { output.writeMessage(15, getTotalOrderAmount()); } if (brokerCommission_ != null) { output.writeMessage(16, getBrokerCommission()); } if (exchangeCommission_ != null) { output.writeMessage(17, getExchangeCommission()); } if (exchangeClearingCommission_ != null) { output.writeMessage(18, getExchangeClearingCommission()); } if (repoRate_ != null) { output.writeMessage(19, getRepoRate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(party_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, party_); } if (clearValueDate_ != null) { output.writeMessage(21, getClearValueDate()); } if (secValueDate_ != null) { output.writeMessage(22, getSecValueDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(brokerStatus_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 23, brokerStatus_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(separateAgreementType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, separateAgreementType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(separateAgreementNumber_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 25, separateAgreementNumber_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(separateAgreementDate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 26, separateAgreementDate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 27, deliveryType_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tradeId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tradeId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, orderId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(figi_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, figi_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executeSign_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, executeSign_); } if (tradeDatetime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getTradeDatetime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exchange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, exchange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(classCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, classCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(direction_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, direction_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ticker_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, ticker_); } if (price_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getPrice()); } if (quantity_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(12, quantity_); } if (orderAmount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getOrderAmount()); } if (aciValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getAciValue()); } if (totalOrderAmount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getTotalOrderAmount()); } if (brokerCommission_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getBrokerCommission()); } if (exchangeCommission_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getExchangeCommission()); } if (exchangeClearingCommission_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getExchangeClearingCommission()); } if (repoRate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getRepoRate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(party_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, party_); } if (clearValueDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getClearValueDate()); } if (secValueDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getSecValueDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(brokerStatus_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, brokerStatus_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(separateAgreementType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, separateAgreementType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(separateAgreementNumber_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, separateAgreementNumber_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(separateAgreementDate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, separateAgreementDate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, deliveryType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ru.tinkoff.piapi.contract.v1.BrokerReport)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.BrokerReport other = (ru.tinkoff.piapi.contract.v1.BrokerReport) obj; if (!getTradeId() .equals(other.getTradeId())) return false; if (!getOrderId() .equals(other.getOrderId())) return false; if (!getFigi() .equals(other.getFigi())) return false; if (!getExecuteSign() .equals(other.getExecuteSign())) return false; if (hasTradeDatetime() != other.hasTradeDatetime()) return false; if (hasTradeDatetime()) { if (!getTradeDatetime() .equals(other.getTradeDatetime())) return false; } if (!getExchange() .equals(other.getExchange())) return false; if (!getClassCode() .equals(other.getClassCode())) return false; if (!getDirection() .equals(other.getDirection())) return false; if (!getName() .equals(other.getName())) return false; if (!getTicker() .equals(other.getTicker())) return false; if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { if (!getPrice() .equals(other.getPrice())) return false; } if (getQuantity() != other.getQuantity()) return false; if (hasOrderAmount() != other.hasOrderAmount()) return false; if (hasOrderAmount()) { if (!getOrderAmount() .equals(other.getOrderAmount())) return false; } if (hasAciValue() != other.hasAciValue()) return false; if (hasAciValue()) { if (!getAciValue() .equals(other.getAciValue())) return false; } if (hasTotalOrderAmount() != other.hasTotalOrderAmount()) return false; if (hasTotalOrderAmount()) { if (!getTotalOrderAmount() .equals(other.getTotalOrderAmount())) return false; } if (hasBrokerCommission() != other.hasBrokerCommission()) return false; if (hasBrokerCommission()) { if (!getBrokerCommission() .equals(other.getBrokerCommission())) return false; } if (hasExchangeCommission() != other.hasExchangeCommission()) return false; if (hasExchangeCommission()) { if (!getExchangeCommission() .equals(other.getExchangeCommission())) return false; } if (hasExchangeClearingCommission() != other.hasExchangeClearingCommission()) return false; if (hasExchangeClearingCommission()) { if (!getExchangeClearingCommission() .equals(other.getExchangeClearingCommission())) return false; } if (hasRepoRate() != other.hasRepoRate()) return false; if (hasRepoRate()) { if (!getRepoRate() .equals(other.getRepoRate())) return false; } if (!getParty() .equals(other.getParty())) return false; if (hasClearValueDate() != other.hasClearValueDate()) return false; if (hasClearValueDate()) { if (!getClearValueDate() .equals(other.getClearValueDate())) return false; } if (hasSecValueDate() != other.hasSecValueDate()) return false; if (hasSecValueDate()) { if (!getSecValueDate() .equals(other.getSecValueDate())) return false; } if (!getBrokerStatus() .equals(other.getBrokerStatus())) return false; if (!getSeparateAgreementType() .equals(other.getSeparateAgreementType())) return false; if (!getSeparateAgreementNumber() .equals(other.getSeparateAgreementNumber())) return false; if (!getSeparateAgreementDate() .equals(other.getSeparateAgreementDate())) return false; if (!getDeliveryType() .equals(other.getDeliveryType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TRADE_ID_FIELD_NUMBER; hash = (53 * hash) + getTradeId().hashCode(); hash = (37 * hash) + ORDER_ID_FIELD_NUMBER; hash = (53 * hash) + getOrderId().hashCode(); hash = (37 * hash) + FIGI_FIELD_NUMBER; hash = (53 * hash) + getFigi().hashCode(); hash = (37 * hash) + EXECUTE_SIGN_FIELD_NUMBER; hash = (53 * hash) + getExecuteSign().hashCode(); if (hasTradeDatetime()) { hash = (37 * hash) + TRADE_DATETIME_FIELD_NUMBER; hash = (53 * hash) + getTradeDatetime().hashCode(); } hash = (37 * hash) + EXCHANGE_FIELD_NUMBER; hash = (53 * hash) + getExchange().hashCode(); hash = (37 * hash) + CLASS_CODE_FIELD_NUMBER; hash = (53 * hash) + getClassCode().hashCode(); hash = (37 * hash) + DIRECTION_FIELD_NUMBER; hash = (53 * hash) + getDirection().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + TICKER_FIELD_NUMBER; hash = (53 * hash) + getTicker().hashCode(); if (hasPrice()) { hash = (37 * hash) + PRICE_FIELD_NUMBER; hash = (53 * hash) + getPrice().hashCode(); } hash = (37 * hash) + QUANTITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getQuantity()); if (hasOrderAmount()) { hash = (37 * hash) + ORDER_AMOUNT_FIELD_NUMBER; hash = (53 * hash) + getOrderAmount().hashCode(); } if (hasAciValue()) { hash = (37 * hash) + ACI_VALUE_FIELD_NUMBER; hash = (53 * hash) + getAciValue().hashCode(); } if (hasTotalOrderAmount()) { hash = (37 * hash) + TOTAL_ORDER_AMOUNT_FIELD_NUMBER; hash = (53 * hash) + getTotalOrderAmount().hashCode(); } if (hasBrokerCommission()) { hash = (37 * hash) + BROKER_COMMISSION_FIELD_NUMBER; hash = (53 * hash) + getBrokerCommission().hashCode(); } if (hasExchangeCommission()) { hash = (37 * hash) + EXCHANGE_COMMISSION_FIELD_NUMBER; hash = (53 * hash) + getExchangeCommission().hashCode(); } if (hasExchangeClearingCommission()) { hash = (37 * hash) + EXCHANGE_CLEARING_COMMISSION_FIELD_NUMBER; hash = (53 * hash) + getExchangeClearingCommission().hashCode(); } if (hasRepoRate()) { hash = (37 * hash) + REPO_RATE_FIELD_NUMBER; hash = (53 * hash) + getRepoRate().hashCode(); } hash = (37 * hash) + PARTY_FIELD_NUMBER; hash = (53 * hash) + getParty().hashCode(); if (hasClearValueDate()) { hash = (37 * hash) + CLEAR_VALUE_DATE_FIELD_NUMBER; hash = (53 * hash) + getClearValueDate().hashCode(); } if (hasSecValueDate()) { hash = (37 * hash) + SEC_VALUE_DATE_FIELD_NUMBER; hash = (53 * hash) + getSecValueDate().hashCode(); } hash = (37 * hash) + BROKER_STATUS_FIELD_NUMBER; hash = (53 * hash) + getBrokerStatus().hashCode(); hash = (37 * hash) + SEPARATE_AGREEMENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getSeparateAgreementType().hashCode(); hash = (37 * hash) + SEPARATE_AGREEMENT_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getSeparateAgreementNumber().hashCode(); hash = (37 * hash) + SEPARATE_AGREEMENT_DATE_FIELD_NUMBER; hash = (53 * hash) + getSeparateAgreementDate().hashCode(); hash = (37 * hash) + DELIVERY_TYPE_FIELD_NUMBER; hash = (53 * hash) + getDeliveryType().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.BrokerReport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ru.tinkoff.piapi.contract.v1.BrokerReport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code tinkoff.public.invest.api.contract.v1.BrokerReport} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.BrokerReport) ru.tinkoff.piapi.contract.v1.BrokerReportOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_BrokerReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_BrokerReport_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.BrokerReport.class, ru.tinkoff.piapi.contract.v1.BrokerReport.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.BrokerReport.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; tradeId_ = ""; orderId_ = ""; figi_ = ""; executeSign_ = ""; tradeDatetime_ = null; if (tradeDatetimeBuilder_ != null) { tradeDatetimeBuilder_.dispose(); tradeDatetimeBuilder_ = null; } exchange_ = ""; classCode_ = ""; direction_ = ""; name_ = ""; ticker_ = ""; price_ = null; if (priceBuilder_ != null) { priceBuilder_.dispose(); priceBuilder_ = null; } quantity_ = 0L; orderAmount_ = null; if (orderAmountBuilder_ != null) { orderAmountBuilder_.dispose(); orderAmountBuilder_ = null; } aciValue_ = null; if (aciValueBuilder_ != null) { aciValueBuilder_.dispose(); aciValueBuilder_ = null; } totalOrderAmount_ = null; if (totalOrderAmountBuilder_ != null) { totalOrderAmountBuilder_.dispose(); totalOrderAmountBuilder_ = null; } brokerCommission_ = null; if (brokerCommissionBuilder_ != null) { brokerCommissionBuilder_.dispose(); brokerCommissionBuilder_ = null; } exchangeCommission_ = null; if (exchangeCommissionBuilder_ != null) { exchangeCommissionBuilder_.dispose(); exchangeCommissionBuilder_ = null; } exchangeClearingCommission_ = null; if (exchangeClearingCommissionBuilder_ != null) { exchangeClearingCommissionBuilder_.dispose(); exchangeClearingCommissionBuilder_ = null; } repoRate_ = null; if (repoRateBuilder_ != null) { repoRateBuilder_.dispose(); repoRateBuilder_ = null; } party_ = ""; clearValueDate_ = null; if (clearValueDateBuilder_ != null) { clearValueDateBuilder_.dispose(); clearValueDateBuilder_ = null; } secValueDate_ = null; if (secValueDateBuilder_ != null) { secValueDateBuilder_.dispose(); secValueDateBuilder_ = null; } brokerStatus_ = ""; separateAgreementType_ = ""; separateAgreementNumber_ = ""; separateAgreementDate_ = ""; deliveryType_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_BrokerReport_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.BrokerReport getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.BrokerReport.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.BrokerReport build() { ru.tinkoff.piapi.contract.v1.BrokerReport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.BrokerReport buildPartial() { ru.tinkoff.piapi.contract.v1.BrokerReport result = new ru.tinkoff.piapi.contract.v1.BrokerReport(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ru.tinkoff.piapi.contract.v1.BrokerReport result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.tradeId_ = tradeId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.orderId_ = orderId_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.figi_ = figi_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.executeSign_ = executeSign_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.tradeDatetime_ = tradeDatetimeBuilder_ == null ? tradeDatetime_ : tradeDatetimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.exchange_ = exchange_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.classCode_ = classCode_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.direction_ = direction_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.ticker_ = ticker_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.price_ = priceBuilder_ == null ? price_ : priceBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { result.quantity_ = quantity_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.orderAmount_ = orderAmountBuilder_ == null ? orderAmount_ : orderAmountBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { result.aciValue_ = aciValueBuilder_ == null ? aciValue_ : aciValueBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { result.totalOrderAmount_ = totalOrderAmountBuilder_ == null ? totalOrderAmount_ : totalOrderAmountBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.brokerCommission_ = brokerCommissionBuilder_ == null ? brokerCommission_ : brokerCommissionBuilder_.build(); } if (((from_bitField0_ & 0x00010000) != 0)) { result.exchangeCommission_ = exchangeCommissionBuilder_ == null ? exchangeCommission_ : exchangeCommissionBuilder_.build(); } if (((from_bitField0_ & 0x00020000) != 0)) { result.exchangeClearingCommission_ = exchangeClearingCommissionBuilder_ == null ? exchangeClearingCommission_ : exchangeClearingCommissionBuilder_.build(); } if (((from_bitField0_ & 0x00040000) != 0)) { result.repoRate_ = repoRateBuilder_ == null ? repoRate_ : repoRateBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { result.party_ = party_; } if (((from_bitField0_ & 0x00100000) != 0)) { result.clearValueDate_ = clearValueDateBuilder_ == null ? clearValueDate_ : clearValueDateBuilder_.build(); } if (((from_bitField0_ & 0x00200000) != 0)) { result.secValueDate_ = secValueDateBuilder_ == null ? secValueDate_ : secValueDateBuilder_.build(); } if (((from_bitField0_ & 0x00400000) != 0)) { result.brokerStatus_ = brokerStatus_; } if (((from_bitField0_ & 0x00800000) != 0)) { result.separateAgreementType_ = separateAgreementType_; } if (((from_bitField0_ & 0x01000000) != 0)) { result.separateAgreementNumber_ = separateAgreementNumber_; } if (((from_bitField0_ & 0x02000000) != 0)) { result.separateAgreementDate_ = separateAgreementDate_; } if (((from_bitField0_ & 0x04000000) != 0)) { result.deliveryType_ = deliveryType_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.BrokerReport) { return mergeFrom((ru.tinkoff.piapi.contract.v1.BrokerReport)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.BrokerReport other) { if (other == ru.tinkoff.piapi.contract.v1.BrokerReport.getDefaultInstance()) return this; if (!other.getTradeId().isEmpty()) { tradeId_ = other.tradeId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getOrderId().isEmpty()) { orderId_ = other.orderId_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getFigi().isEmpty()) { figi_ = other.figi_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getExecuteSign().isEmpty()) { executeSign_ = other.executeSign_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasTradeDatetime()) { mergeTradeDatetime(other.getTradeDatetime()); } if (!other.getExchange().isEmpty()) { exchange_ = other.exchange_; bitField0_ |= 0x00000020; onChanged(); } if (!other.getClassCode().isEmpty()) { classCode_ = other.classCode_; bitField0_ |= 0x00000040; onChanged(); } if (!other.getDirection().isEmpty()) { direction_ = other.direction_; bitField0_ |= 0x00000080; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000100; onChanged(); } if (!other.getTicker().isEmpty()) { ticker_ = other.ticker_; bitField0_ |= 0x00000200; onChanged(); } if (other.hasPrice()) { mergePrice(other.getPrice()); } if (other.getQuantity() != 0L) { setQuantity(other.getQuantity()); } if (other.hasOrderAmount()) { mergeOrderAmount(other.getOrderAmount()); } if (other.hasAciValue()) { mergeAciValue(other.getAciValue()); } if (other.hasTotalOrderAmount()) { mergeTotalOrderAmount(other.getTotalOrderAmount()); } if (other.hasBrokerCommission()) { mergeBrokerCommission(other.getBrokerCommission()); } if (other.hasExchangeCommission()) { mergeExchangeCommission(other.getExchangeCommission()); } if (other.hasExchangeClearingCommission()) { mergeExchangeClearingCommission(other.getExchangeClearingCommission()); } if (other.hasRepoRate()) { mergeRepoRate(other.getRepoRate()); } if (!other.getParty().isEmpty()) { party_ = other.party_; bitField0_ |= 0x00080000; onChanged(); } if (other.hasClearValueDate()) { mergeClearValueDate(other.getClearValueDate()); } if (other.hasSecValueDate()) { mergeSecValueDate(other.getSecValueDate()); } if (!other.getBrokerStatus().isEmpty()) { brokerStatus_ = other.brokerStatus_; bitField0_ |= 0x00400000; onChanged(); } if (!other.getSeparateAgreementType().isEmpty()) { separateAgreementType_ = other.separateAgreementType_; bitField0_ |= 0x00800000; onChanged(); } if (!other.getSeparateAgreementNumber().isEmpty()) { separateAgreementNumber_ = other.separateAgreementNumber_; bitField0_ |= 0x01000000; onChanged(); } if (!other.getSeparateAgreementDate().isEmpty()) { separateAgreementDate_ = other.separateAgreementDate_; bitField0_ |= 0x02000000; onChanged(); } if (!other.getDeliveryType().isEmpty()) { deliveryType_ = other.deliveryType_; bitField0_ |= 0x04000000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { tradeId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { orderId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { figi_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { executeSign_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getTradeDatetimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { exchange_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 50 case 58: { classCode_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 case 66: { direction_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000080; break; } // case 66 case 74: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 74 case 82: { ticker_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000200; break; } // case 82 case 90: { input.readMessage( getPriceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 90 case 96: { quantity_ = input.readInt64(); bitField0_ |= 0x00000800; break; } // case 96 case 106: { input.readMessage( getOrderAmountFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 106 case 114: { input.readMessage( getAciValueFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 114 case 122: { input.readMessage( getTotalOrderAmountFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00004000; break; } // case 122 case 130: { input.readMessage( getBrokerCommissionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00008000; break; } // case 130 case 138: { input.readMessage( getExchangeCommissionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00010000; break; } // case 138 case 146: { input.readMessage( getExchangeClearingCommissionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00020000; break; } // case 146 case 154: { input.readMessage( getRepoRateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00040000; break; } // case 154 case 162: { party_ = input.readStringRequireUtf8(); bitField0_ |= 0x00080000; break; } // case 162 case 170: { input.readMessage( getClearValueDateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00100000; break; } // case 170 case 178: { input.readMessage( getSecValueDateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00200000; break; } // case 178 case 186: { brokerStatus_ = input.readStringRequireUtf8(); bitField0_ |= 0x00400000; break; } // case 186 case 194: { separateAgreementType_ = input.readStringRequireUtf8(); bitField0_ |= 0x00800000; break; } // case 194 case 202: { separateAgreementNumber_ = input.readStringRequireUtf8(); bitField0_ |= 0x01000000; break; } // case 202 case 210: { separateAgreementDate_ = input.readStringRequireUtf8(); bitField0_ |= 0x02000000; break; } // case 210 case 218: { deliveryType_ = input.readStringRequireUtf8(); bitField0_ |= 0x04000000; break; } // case 218 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object tradeId_ = ""; /** *
     *Номер сделки.
     * 
* * string trade_id = 1; * @return The tradeId. */ public java.lang.String getTradeId() { java.lang.Object ref = tradeId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tradeId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Номер сделки.
     * 
* * string trade_id = 1; * @return The bytes for tradeId. */ public com.google.protobuf.ByteString getTradeIdBytes() { java.lang.Object ref = tradeId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tradeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Номер сделки.
     * 
* * string trade_id = 1; * @param value The tradeId to set. * @return This builder for chaining. */ public Builder setTradeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tradeId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Номер сделки.
     * 
* * string trade_id = 1; * @return This builder for chaining. */ public Builder clearTradeId() { tradeId_ = getDefaultInstance().getTradeId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     *Номер сделки.
     * 
* * string trade_id = 1; * @param value The bytes for tradeId to set. * @return This builder for chaining. */ public Builder setTradeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tradeId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object orderId_ = ""; /** *
     *Номер поручения.
     * 
* * string order_id = 2; * @return The orderId. */ public java.lang.String getOrderId() { java.lang.Object ref = orderId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Номер поручения.
     * 
* * string order_id = 2; * @return The bytes for orderId. */ public com.google.protobuf.ByteString getOrderIdBytes() { java.lang.Object ref = orderId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Номер поручения.
     * 
* * string order_id = 2; * @param value The orderId to set. * @return This builder for chaining. */ public Builder setOrderId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     *Номер поручения.
     * 
* * string order_id = 2; * @return This builder for chaining. */ public Builder clearOrderId() { orderId_ = getDefaultInstance().getOrderId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     *Номер поручения.
     * 
* * string order_id = 2; * @param value The bytes for orderId to set. * @return This builder for chaining. */ public Builder setOrderIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object figi_ = ""; /** *
     *Figi-идентификатор инструмента.
     * 
* * string figi = 3; * @return The figi. */ public java.lang.String getFigi() { java.lang.Object ref = figi_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); figi_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Figi-идентификатор инструмента.
     * 
* * string figi = 3; * @return The bytes for figi. */ public com.google.protobuf.ByteString getFigiBytes() { java.lang.Object ref = figi_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); figi_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Figi-идентификатор инструмента.
     * 
* * string figi = 3; * @param value The figi to set. * @return This builder for chaining. */ public Builder setFigi( java.lang.String value) { if (value == null) { throw new NullPointerException(); } figi_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     *Figi-идентификатор инструмента.
     * 
* * string figi = 3; * @return This builder for chaining. */ public Builder clearFigi() { figi_ = getDefaultInstance().getFigi(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     *Figi-идентификатор инструмента.
     * 
* * string figi = 3; * @param value The bytes for figi to set. * @return This builder for chaining. */ public Builder setFigiBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); figi_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object executeSign_ = ""; /** *
     *Признак исполнения.
     * 
* * string execute_sign = 4; * @return The executeSign. */ public java.lang.String getExecuteSign() { java.lang.Object ref = executeSign_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); executeSign_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Признак исполнения.
     * 
* * string execute_sign = 4; * @return The bytes for executeSign. */ public com.google.protobuf.ByteString getExecuteSignBytes() { java.lang.Object ref = executeSign_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); executeSign_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Признак исполнения.
     * 
* * string execute_sign = 4; * @param value The executeSign to set. * @return This builder for chaining. */ public Builder setExecuteSign( java.lang.String value) { if (value == null) { throw new NullPointerException(); } executeSign_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     *Признак исполнения.
     * 
* * string execute_sign = 4; * @return This builder for chaining. */ public Builder clearExecuteSign() { executeSign_ = getDefaultInstance().getExecuteSign(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     *Признак исполнения.
     * 
* * string execute_sign = 4; * @param value The bytes for executeSign to set. * @return This builder for chaining. */ public Builder setExecuteSignBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); executeSign_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private com.google.protobuf.Timestamp tradeDatetime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> tradeDatetimeBuilder_; /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; * @return Whether the tradeDatetime field is set. */ public boolean hasTradeDatetime() { return ((bitField0_ & 0x00000010) != 0); } /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; * @return The tradeDatetime. */ public com.google.protobuf.Timestamp getTradeDatetime() { if (tradeDatetimeBuilder_ == null) { return tradeDatetime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : tradeDatetime_; } else { return tradeDatetimeBuilder_.getMessage(); } } /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; */ public Builder setTradeDatetime(com.google.protobuf.Timestamp value) { if (tradeDatetimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tradeDatetime_ = value; } else { tradeDatetimeBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; */ public Builder setTradeDatetime( com.google.protobuf.Timestamp.Builder builderForValue) { if (tradeDatetimeBuilder_ == null) { tradeDatetime_ = builderForValue.build(); } else { tradeDatetimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; */ public Builder mergeTradeDatetime(com.google.protobuf.Timestamp value) { if (tradeDatetimeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && tradeDatetime_ != null && tradeDatetime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getTradeDatetimeBuilder().mergeFrom(value); } else { tradeDatetime_ = value; } } else { tradeDatetimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; */ public Builder clearTradeDatetime() { bitField0_ = (bitField0_ & ~0x00000010); tradeDatetime_ = null; if (tradeDatetimeBuilder_ != null) { tradeDatetimeBuilder_.dispose(); tradeDatetimeBuilder_ = null; } onChanged(); return this; } /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; */ public com.google.protobuf.Timestamp.Builder getTradeDatetimeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getTradeDatetimeFieldBuilder().getBuilder(); } /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; */ public com.google.protobuf.TimestampOrBuilder getTradeDatetimeOrBuilder() { if (tradeDatetimeBuilder_ != null) { return tradeDatetimeBuilder_.getMessageOrBuilder(); } else { return tradeDatetime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : tradeDatetime_; } } /** *
     *Дата и время заключения в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp trade_datetime = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTradeDatetimeFieldBuilder() { if (tradeDatetimeBuilder_ == null) { tradeDatetimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getTradeDatetime(), getParentForChildren(), isClean()); tradeDatetime_ = null; } return tradeDatetimeBuilder_; } private java.lang.Object exchange_ = ""; /** *
     *Торговая площадка.
     * 
* * string exchange = 6; * @return The exchange. */ public java.lang.String getExchange() { java.lang.Object ref = exchange_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); exchange_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Торговая площадка.
     * 
* * string exchange = 6; * @return The bytes for exchange. */ public com.google.protobuf.ByteString getExchangeBytes() { java.lang.Object ref = exchange_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exchange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Торговая площадка.
     * 
* * string exchange = 6; * @param value The exchange to set. * @return This builder for chaining. */ public Builder setExchange( java.lang.String value) { if (value == null) { throw new NullPointerException(); } exchange_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     *Торговая площадка.
     * 
* * string exchange = 6; * @return This builder for chaining. */ public Builder clearExchange() { exchange_ = getDefaultInstance().getExchange(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** *
     *Торговая площадка.
     * 
* * string exchange = 6; * @param value The bytes for exchange to set. * @return This builder for chaining. */ public Builder setExchangeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); exchange_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private java.lang.Object classCode_ = ""; /** *
     *Режим торгов.
     * 
* * string class_code = 7; * @return The classCode. */ public java.lang.String getClassCode() { java.lang.Object ref = classCode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); classCode_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Режим торгов.
     * 
* * string class_code = 7; * @return The bytes for classCode. */ public com.google.protobuf.ByteString getClassCodeBytes() { java.lang.Object ref = classCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Режим торгов.
     * 
* * string class_code = 7; * @param value The classCode to set. * @return This builder for chaining. */ public Builder setClassCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } classCode_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     *Режим торгов.
     * 
* * string class_code = 7; * @return This builder for chaining. */ public Builder clearClassCode() { classCode_ = getDefaultInstance().getClassCode(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
     *Режим торгов.
     * 
* * string class_code = 7; * @param value The bytes for classCode to set. * @return This builder for chaining. */ public Builder setClassCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); classCode_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private java.lang.Object direction_ = ""; /** *
     *Вид сделки.
     * 
* * string direction = 8; * @return The direction. */ public java.lang.String getDirection() { java.lang.Object ref = direction_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); direction_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Вид сделки.
     * 
* * string direction = 8; * @return The bytes for direction. */ public com.google.protobuf.ByteString getDirectionBytes() { java.lang.Object ref = direction_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); direction_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Вид сделки.
     * 
* * string direction = 8; * @param value The direction to set. * @return This builder for chaining. */ public Builder setDirection( java.lang.String value) { if (value == null) { throw new NullPointerException(); } direction_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     *Вид сделки.
     * 
* * string direction = 8; * @return This builder for chaining. */ public Builder clearDirection() { direction_ = getDefaultInstance().getDirection(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** *
     *Вид сделки.
     * 
* * string direction = 8; * @param value The bytes for direction to set. * @return This builder for chaining. */ public Builder setDirectionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); direction_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
     *Сокращённое наименование актива.
     * 
* * string name = 9; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Сокращённое наименование актива.
     * 
* * string name = 9; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Сокращённое наименование актива.
     * 
* * string name = 9; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     *Сокращённое наименование актива.
     * 
* * string name = 9; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** *
     *Сокращённое наименование актива.
     * 
* * string name = 9; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private java.lang.Object ticker_ = ""; /** *
     *Код актива.
     * 
* * string ticker = 10; * @return The ticker. */ public java.lang.String getTicker() { java.lang.Object ref = ticker_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticker_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Код актива.
     * 
* * string ticker = 10; * @return The bytes for ticker. */ public com.google.protobuf.ByteString getTickerBytes() { java.lang.Object ref = ticker_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticker_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Код актива.
     * 
* * string ticker = 10; * @param value The ticker to set. * @return This builder for chaining. */ public Builder setTicker( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticker_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     *Код актива.
     * 
* * string ticker = 10; * @return This builder for chaining. */ public Builder clearTicker() { ticker_ = getDefaultInstance().getTicker(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** *
     *Код актива.
     * 
* * string ticker = 10; * @param value The bytes for ticker to set. * @return This builder for chaining. */ public Builder setTickerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticker_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } private ru.tinkoff.piapi.contract.v1.MoneyValue price_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> priceBuilder_; /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; * @return Whether the price field is set. */ public boolean hasPrice() { return ((bitField0_ & 0x00000400) != 0); } /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; * @return The price. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getPrice() { if (priceBuilder_ == null) { return price_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : price_; } else { return priceBuilder_.getMessage(); } } /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; */ public Builder setPrice(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (priceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } price_ = value; } else { priceBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; */ public Builder setPrice( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); } else { priceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; */ public Builder mergePrice(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (priceBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && price_ != null && price_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getPriceBuilder().mergeFrom(value); } else { price_ = value; } } else { priceBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; */ public Builder clearPrice() { bitField0_ = (bitField0_ & ~0x00000400); price_ = null; if (priceBuilder_ != null) { priceBuilder_.dispose(); priceBuilder_ = null; } onChanged(); return this; } /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getPriceBuilder() { bitField0_ |= 0x00000400; onChanged(); return getPriceFieldBuilder().getBuilder(); } /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { return price_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : price_; } } /** *
     *Цена за единицу.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue price = 11; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getPrice(), getParentForChildren(), isClean()); price_ = null; } return priceBuilder_; } private long quantity_ ; /** *
     *Количество.
     * 
* * int64 quantity = 12; * @return The quantity. */ @java.lang.Override public long getQuantity() { return quantity_; } /** *
     *Количество.
     * 
* * int64 quantity = 12; * @param value The quantity to set. * @return This builder for chaining. */ public Builder setQuantity(long value) { quantity_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     *Количество.
     * 
* * int64 quantity = 12; * @return This builder for chaining. */ public Builder clearQuantity() { bitField0_ = (bitField0_ & ~0x00000800); quantity_ = 0L; onChanged(); return this; } private ru.tinkoff.piapi.contract.v1.MoneyValue orderAmount_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> orderAmountBuilder_; /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; * @return Whether the orderAmount field is set. */ public boolean hasOrderAmount() { return ((bitField0_ & 0x00001000) != 0); } /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; * @return The orderAmount. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getOrderAmount() { if (orderAmountBuilder_ == null) { return orderAmount_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : orderAmount_; } else { return orderAmountBuilder_.getMessage(); } } /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; */ public Builder setOrderAmount(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (orderAmountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } orderAmount_ = value; } else { orderAmountBuilder_.setMessage(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; */ public Builder setOrderAmount( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (orderAmountBuilder_ == null) { orderAmount_ = builderForValue.build(); } else { orderAmountBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; */ public Builder mergeOrderAmount(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (orderAmountBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && orderAmount_ != null && orderAmount_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getOrderAmountBuilder().mergeFrom(value); } else { orderAmount_ = value; } } else { orderAmountBuilder_.mergeFrom(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; */ public Builder clearOrderAmount() { bitField0_ = (bitField0_ & ~0x00001000); orderAmount_ = null; if (orderAmountBuilder_ != null) { orderAmountBuilder_.dispose(); orderAmountBuilder_ = null; } onChanged(); return this; } /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getOrderAmountBuilder() { bitField0_ |= 0x00001000; onChanged(); return getOrderAmountFieldBuilder().getBuilder(); } /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getOrderAmountOrBuilder() { if (orderAmountBuilder_ != null) { return orderAmountBuilder_.getMessageOrBuilder(); } else { return orderAmount_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : orderAmount_; } } /** *
     *Сумма (без НКД).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue order_amount = 13; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getOrderAmountFieldBuilder() { if (orderAmountBuilder_ == null) { orderAmountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getOrderAmount(), getParentForChildren(), isClean()); orderAmount_ = null; } return orderAmountBuilder_; } private ru.tinkoff.piapi.contract.v1.Quotation aciValue_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> aciValueBuilder_; /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; * @return Whether the aciValue field is set. */ public boolean hasAciValue() { return ((bitField0_ & 0x00002000) != 0); } /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; * @return The aciValue. */ public ru.tinkoff.piapi.contract.v1.Quotation getAciValue() { if (aciValueBuilder_ == null) { return aciValue_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : aciValue_; } else { return aciValueBuilder_.getMessage(); } } /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; */ public Builder setAciValue(ru.tinkoff.piapi.contract.v1.Quotation value) { if (aciValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } aciValue_ = value; } else { aciValueBuilder_.setMessage(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; */ public Builder setAciValue( ru.tinkoff.piapi.contract.v1.Quotation.Builder builderForValue) { if (aciValueBuilder_ == null) { aciValue_ = builderForValue.build(); } else { aciValueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; */ public Builder mergeAciValue(ru.tinkoff.piapi.contract.v1.Quotation value) { if (aciValueBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && aciValue_ != null && aciValue_ != ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance()) { getAciValueBuilder().mergeFrom(value); } else { aciValue_ = value; } } else { aciValueBuilder_.mergeFrom(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; */ public Builder clearAciValue() { bitField0_ = (bitField0_ & ~0x00002000); aciValue_ = null; if (aciValueBuilder_ != null) { aciValueBuilder_.dispose(); aciValueBuilder_ = null; } onChanged(); return this; } /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; */ public ru.tinkoff.piapi.contract.v1.Quotation.Builder getAciValueBuilder() { bitField0_ |= 0x00002000; onChanged(); return getAciValueFieldBuilder().getBuilder(); } /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; */ public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getAciValueOrBuilder() { if (aciValueBuilder_ != null) { return aciValueBuilder_.getMessageOrBuilder(); } else { return aciValue_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : aciValue_; } } /** *
     *НКД.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation aci_value = 14; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> getAciValueFieldBuilder() { if (aciValueBuilder_ == null) { aciValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder>( getAciValue(), getParentForChildren(), isClean()); aciValue_ = null; } return aciValueBuilder_; } private ru.tinkoff.piapi.contract.v1.MoneyValue totalOrderAmount_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> totalOrderAmountBuilder_; /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; * @return Whether the totalOrderAmount field is set. */ public boolean hasTotalOrderAmount() { return ((bitField0_ & 0x00004000) != 0); } /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; * @return The totalOrderAmount. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getTotalOrderAmount() { if (totalOrderAmountBuilder_ == null) { return totalOrderAmount_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : totalOrderAmount_; } else { return totalOrderAmountBuilder_.getMessage(); } } /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; */ public Builder setTotalOrderAmount(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (totalOrderAmountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } totalOrderAmount_ = value; } else { totalOrderAmountBuilder_.setMessage(value); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; */ public Builder setTotalOrderAmount( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (totalOrderAmountBuilder_ == null) { totalOrderAmount_ = builderForValue.build(); } else { totalOrderAmountBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; */ public Builder mergeTotalOrderAmount(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (totalOrderAmountBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && totalOrderAmount_ != null && totalOrderAmount_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getTotalOrderAmountBuilder().mergeFrom(value); } else { totalOrderAmount_ = value; } } else { totalOrderAmountBuilder_.mergeFrom(value); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; */ public Builder clearTotalOrderAmount() { bitField0_ = (bitField0_ & ~0x00004000); totalOrderAmount_ = null; if (totalOrderAmountBuilder_ != null) { totalOrderAmountBuilder_.dispose(); totalOrderAmountBuilder_ = null; } onChanged(); return this; } /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getTotalOrderAmountBuilder() { bitField0_ |= 0x00004000; onChanged(); return getTotalOrderAmountFieldBuilder().getBuilder(); } /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getTotalOrderAmountOrBuilder() { if (totalOrderAmountBuilder_ != null) { return totalOrderAmountBuilder_.getMessageOrBuilder(); } else { return totalOrderAmount_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : totalOrderAmount_; } } /** *
     *Сумма сделки.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue total_order_amount = 15; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getTotalOrderAmountFieldBuilder() { if (totalOrderAmountBuilder_ == null) { totalOrderAmountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getTotalOrderAmount(), getParentForChildren(), isClean()); totalOrderAmount_ = null; } return totalOrderAmountBuilder_; } private ru.tinkoff.piapi.contract.v1.MoneyValue brokerCommission_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> brokerCommissionBuilder_; /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; * @return Whether the brokerCommission field is set. */ public boolean hasBrokerCommission() { return ((bitField0_ & 0x00008000) != 0); } /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; * @return The brokerCommission. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getBrokerCommission() { if (brokerCommissionBuilder_ == null) { return brokerCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : brokerCommission_; } else { return brokerCommissionBuilder_.getMessage(); } } /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; */ public Builder setBrokerCommission(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (brokerCommissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } brokerCommission_ = value; } else { brokerCommissionBuilder_.setMessage(value); } bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; */ public Builder setBrokerCommission( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (brokerCommissionBuilder_ == null) { brokerCommission_ = builderForValue.build(); } else { brokerCommissionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; */ public Builder mergeBrokerCommission(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (brokerCommissionBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && brokerCommission_ != null && brokerCommission_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getBrokerCommissionBuilder().mergeFrom(value); } else { brokerCommission_ = value; } } else { brokerCommissionBuilder_.mergeFrom(value); } bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; */ public Builder clearBrokerCommission() { bitField0_ = (bitField0_ & ~0x00008000); brokerCommission_ = null; if (brokerCommissionBuilder_ != null) { brokerCommissionBuilder_.dispose(); brokerCommissionBuilder_ = null; } onChanged(); return this; } /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getBrokerCommissionBuilder() { bitField0_ |= 0x00008000; onChanged(); return getBrokerCommissionFieldBuilder().getBuilder(); } /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getBrokerCommissionOrBuilder() { if (brokerCommissionBuilder_ != null) { return brokerCommissionBuilder_.getMessageOrBuilder(); } else { return brokerCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : brokerCommission_; } } /** *
     *Комиссия брокера.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue broker_commission = 16; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getBrokerCommissionFieldBuilder() { if (brokerCommissionBuilder_ == null) { brokerCommissionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getBrokerCommission(), getParentForChildren(), isClean()); brokerCommission_ = null; } return brokerCommissionBuilder_; } private ru.tinkoff.piapi.contract.v1.MoneyValue exchangeCommission_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> exchangeCommissionBuilder_; /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; * @return Whether the exchangeCommission field is set. */ public boolean hasExchangeCommission() { return ((bitField0_ & 0x00010000) != 0); } /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; * @return The exchangeCommission. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getExchangeCommission() { if (exchangeCommissionBuilder_ == null) { return exchangeCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : exchangeCommission_; } else { return exchangeCommissionBuilder_.getMessage(); } } /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; */ public Builder setExchangeCommission(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (exchangeCommissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } exchangeCommission_ = value; } else { exchangeCommissionBuilder_.setMessage(value); } bitField0_ |= 0x00010000; onChanged(); return this; } /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; */ public Builder setExchangeCommission( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (exchangeCommissionBuilder_ == null) { exchangeCommission_ = builderForValue.build(); } else { exchangeCommissionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; onChanged(); return this; } /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; */ public Builder mergeExchangeCommission(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (exchangeCommissionBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0) && exchangeCommission_ != null && exchangeCommission_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getExchangeCommissionBuilder().mergeFrom(value); } else { exchangeCommission_ = value; } } else { exchangeCommissionBuilder_.mergeFrom(value); } bitField0_ |= 0x00010000; onChanged(); return this; } /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; */ public Builder clearExchangeCommission() { bitField0_ = (bitField0_ & ~0x00010000); exchangeCommission_ = null; if (exchangeCommissionBuilder_ != null) { exchangeCommissionBuilder_.dispose(); exchangeCommissionBuilder_ = null; } onChanged(); return this; } /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getExchangeCommissionBuilder() { bitField0_ |= 0x00010000; onChanged(); return getExchangeCommissionFieldBuilder().getBuilder(); } /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getExchangeCommissionOrBuilder() { if (exchangeCommissionBuilder_ != null) { return exchangeCommissionBuilder_.getMessageOrBuilder(); } else { return exchangeCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : exchangeCommission_; } } /** *
     *Комиссия биржи.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_commission = 17; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getExchangeCommissionFieldBuilder() { if (exchangeCommissionBuilder_ == null) { exchangeCommissionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getExchangeCommission(), getParentForChildren(), isClean()); exchangeCommission_ = null; } return exchangeCommissionBuilder_; } private ru.tinkoff.piapi.contract.v1.MoneyValue exchangeClearingCommission_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> exchangeClearingCommissionBuilder_; /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; * @return Whether the exchangeClearingCommission field is set. */ public boolean hasExchangeClearingCommission() { return ((bitField0_ & 0x00020000) != 0); } /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; * @return The exchangeClearingCommission. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getExchangeClearingCommission() { if (exchangeClearingCommissionBuilder_ == null) { return exchangeClearingCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : exchangeClearingCommission_; } else { return exchangeClearingCommissionBuilder_.getMessage(); } } /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; */ public Builder setExchangeClearingCommission(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (exchangeClearingCommissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } exchangeClearingCommission_ = value; } else { exchangeClearingCommissionBuilder_.setMessage(value); } bitField0_ |= 0x00020000; onChanged(); return this; } /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; */ public Builder setExchangeClearingCommission( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (exchangeClearingCommissionBuilder_ == null) { exchangeClearingCommission_ = builderForValue.build(); } else { exchangeClearingCommissionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00020000; onChanged(); return this; } /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; */ public Builder mergeExchangeClearingCommission(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (exchangeClearingCommissionBuilder_ == null) { if (((bitField0_ & 0x00020000) != 0) && exchangeClearingCommission_ != null && exchangeClearingCommission_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getExchangeClearingCommissionBuilder().mergeFrom(value); } else { exchangeClearingCommission_ = value; } } else { exchangeClearingCommissionBuilder_.mergeFrom(value); } bitField0_ |= 0x00020000; onChanged(); return this; } /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; */ public Builder clearExchangeClearingCommission() { bitField0_ = (bitField0_ & ~0x00020000); exchangeClearingCommission_ = null; if (exchangeClearingCommissionBuilder_ != null) { exchangeClearingCommissionBuilder_.dispose(); exchangeClearingCommissionBuilder_ = null; } onChanged(); return this; } /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getExchangeClearingCommissionBuilder() { bitField0_ |= 0x00020000; onChanged(); return getExchangeClearingCommissionFieldBuilder().getBuilder(); } /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getExchangeClearingCommissionOrBuilder() { if (exchangeClearingCommissionBuilder_ != null) { return exchangeClearingCommissionBuilder_.getMessageOrBuilder(); } else { return exchangeClearingCommission_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : exchangeClearingCommission_; } } /** *
     *Комиссия клир. центра.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue exchange_clearing_commission = 18; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getExchangeClearingCommissionFieldBuilder() { if (exchangeClearingCommissionBuilder_ == null) { exchangeClearingCommissionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getExchangeClearingCommission(), getParentForChildren(), isClean()); exchangeClearingCommission_ = null; } return exchangeClearingCommissionBuilder_; } private ru.tinkoff.piapi.contract.v1.Quotation repoRate_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> repoRateBuilder_; /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; * @return Whether the repoRate field is set. */ public boolean hasRepoRate() { return ((bitField0_ & 0x00040000) != 0); } /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; * @return The repoRate. */ public ru.tinkoff.piapi.contract.v1.Quotation getRepoRate() { if (repoRateBuilder_ == null) { return repoRate_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : repoRate_; } else { return repoRateBuilder_.getMessage(); } } /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; */ public Builder setRepoRate(ru.tinkoff.piapi.contract.v1.Quotation value) { if (repoRateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } repoRate_ = value; } else { repoRateBuilder_.setMessage(value); } bitField0_ |= 0x00040000; onChanged(); return this; } /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; */ public Builder setRepoRate( ru.tinkoff.piapi.contract.v1.Quotation.Builder builderForValue) { if (repoRateBuilder_ == null) { repoRate_ = builderForValue.build(); } else { repoRateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00040000; onChanged(); return this; } /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; */ public Builder mergeRepoRate(ru.tinkoff.piapi.contract.v1.Quotation value) { if (repoRateBuilder_ == null) { if (((bitField0_ & 0x00040000) != 0) && repoRate_ != null && repoRate_ != ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance()) { getRepoRateBuilder().mergeFrom(value); } else { repoRate_ = value; } } else { repoRateBuilder_.mergeFrom(value); } bitField0_ |= 0x00040000; onChanged(); return this; } /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; */ public Builder clearRepoRate() { bitField0_ = (bitField0_ & ~0x00040000); repoRate_ = null; if (repoRateBuilder_ != null) { repoRateBuilder_.dispose(); repoRateBuilder_ = null; } onChanged(); return this; } /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; */ public ru.tinkoff.piapi.contract.v1.Quotation.Builder getRepoRateBuilder() { bitField0_ |= 0x00040000; onChanged(); return getRepoRateFieldBuilder().getBuilder(); } /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; */ public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getRepoRateOrBuilder() { if (repoRateBuilder_ != null) { return repoRateBuilder_.getMessageOrBuilder(); } else { return repoRate_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : repoRate_; } } /** *
     *Ставка РЕПО (%).
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation repo_rate = 19; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> getRepoRateFieldBuilder() { if (repoRateBuilder_ == null) { repoRateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder>( getRepoRate(), getParentForChildren(), isClean()); repoRate_ = null; } return repoRateBuilder_; } private java.lang.Object party_ = ""; /** *
     *Контрагент/Брокер.
     * 
* * string party = 20; * @return The party. */ public java.lang.String getParty() { java.lang.Object ref = party_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); party_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Контрагент/Брокер.
     * 
* * string party = 20; * @return The bytes for party. */ public com.google.protobuf.ByteString getPartyBytes() { java.lang.Object ref = party_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); party_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Контрагент/Брокер.
     * 
* * string party = 20; * @param value The party to set. * @return This builder for chaining. */ public Builder setParty( java.lang.String value) { if (value == null) { throw new NullPointerException(); } party_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** *
     *Контрагент/Брокер.
     * 
* * string party = 20; * @return This builder for chaining. */ public Builder clearParty() { party_ = getDefaultInstance().getParty(); bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } /** *
     *Контрагент/Брокер.
     * 
* * string party = 20; * @param value The bytes for party to set. * @return This builder for chaining. */ public Builder setPartyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); party_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } private com.google.protobuf.Timestamp clearValueDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> clearValueDateBuilder_; /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; * @return Whether the clearValueDate field is set. */ public boolean hasClearValueDate() { return ((bitField0_ & 0x00100000) != 0); } /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; * @return The clearValueDate. */ public com.google.protobuf.Timestamp getClearValueDate() { if (clearValueDateBuilder_ == null) { return clearValueDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : clearValueDate_; } else { return clearValueDateBuilder_.getMessage(); } } /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; */ public Builder setClearValueDate(com.google.protobuf.Timestamp value) { if (clearValueDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clearValueDate_ = value; } else { clearValueDateBuilder_.setMessage(value); } bitField0_ |= 0x00100000; onChanged(); return this; } /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; */ public Builder setClearValueDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (clearValueDateBuilder_ == null) { clearValueDate_ = builderForValue.build(); } else { clearValueDateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00100000; onChanged(); return this; } /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; */ public Builder mergeClearValueDate(com.google.protobuf.Timestamp value) { if (clearValueDateBuilder_ == null) { if (((bitField0_ & 0x00100000) != 0) && clearValueDate_ != null && clearValueDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getClearValueDateBuilder().mergeFrom(value); } else { clearValueDate_ = value; } } else { clearValueDateBuilder_.mergeFrom(value); } bitField0_ |= 0x00100000; onChanged(); return this; } /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; */ public Builder clearClearValueDate() { bitField0_ = (bitField0_ & ~0x00100000); clearValueDate_ = null; if (clearValueDateBuilder_ != null) { clearValueDateBuilder_.dispose(); clearValueDateBuilder_ = null; } onChanged(); return this; } /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; */ public com.google.protobuf.Timestamp.Builder getClearValueDateBuilder() { bitField0_ |= 0x00100000; onChanged(); return getClearValueDateFieldBuilder().getBuilder(); } /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; */ public com.google.protobuf.TimestampOrBuilder getClearValueDateOrBuilder() { if (clearValueDateBuilder_ != null) { return clearValueDateBuilder_.getMessageOrBuilder(); } else { return clearValueDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : clearValueDate_; } } /** *
     *Дата расчётов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp clear_value_date = 21; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getClearValueDateFieldBuilder() { if (clearValueDateBuilder_ == null) { clearValueDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getClearValueDate(), getParentForChildren(), isClean()); clearValueDate_ = null; } return clearValueDateBuilder_; } private com.google.protobuf.Timestamp secValueDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> secValueDateBuilder_; /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; * @return Whether the secValueDate field is set. */ public boolean hasSecValueDate() { return ((bitField0_ & 0x00200000) != 0); } /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; * @return The secValueDate. */ public com.google.protobuf.Timestamp getSecValueDate() { if (secValueDateBuilder_ == null) { return secValueDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : secValueDate_; } else { return secValueDateBuilder_.getMessage(); } } /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; */ public Builder setSecValueDate(com.google.protobuf.Timestamp value) { if (secValueDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } secValueDate_ = value; } else { secValueDateBuilder_.setMessage(value); } bitField0_ |= 0x00200000; onChanged(); return this; } /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; */ public Builder setSecValueDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (secValueDateBuilder_ == null) { secValueDate_ = builderForValue.build(); } else { secValueDateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00200000; onChanged(); return this; } /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; */ public Builder mergeSecValueDate(com.google.protobuf.Timestamp value) { if (secValueDateBuilder_ == null) { if (((bitField0_ & 0x00200000) != 0) && secValueDate_ != null && secValueDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSecValueDateBuilder().mergeFrom(value); } else { secValueDate_ = value; } } else { secValueDateBuilder_.mergeFrom(value); } bitField0_ |= 0x00200000; onChanged(); return this; } /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; */ public Builder clearSecValueDate() { bitField0_ = (bitField0_ & ~0x00200000); secValueDate_ = null; if (secValueDateBuilder_ != null) { secValueDateBuilder_.dispose(); secValueDateBuilder_ = null; } onChanged(); return this; } /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; */ public com.google.protobuf.Timestamp.Builder getSecValueDateBuilder() { bitField0_ |= 0x00200000; onChanged(); return getSecValueDateFieldBuilder().getBuilder(); } /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; */ public com.google.protobuf.TimestampOrBuilder getSecValueDateOrBuilder() { if (secValueDateBuilder_ != null) { return secValueDateBuilder_.getMessageOrBuilder(); } else { return secValueDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : secValueDate_; } } /** *
     *Дата поставки в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp sec_value_date = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getSecValueDateFieldBuilder() { if (secValueDateBuilder_ == null) { secValueDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getSecValueDate(), getParentForChildren(), isClean()); secValueDate_ = null; } return secValueDateBuilder_; } private java.lang.Object brokerStatus_ = ""; /** *
     *Статус брокера.
     * 
* * string broker_status = 23; * @return The brokerStatus. */ public java.lang.String getBrokerStatus() { java.lang.Object ref = brokerStatus_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brokerStatus_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Статус брокера.
     * 
* * string broker_status = 23; * @return The bytes for brokerStatus. */ public com.google.protobuf.ByteString getBrokerStatusBytes() { java.lang.Object ref = brokerStatus_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); brokerStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Статус брокера.
     * 
* * string broker_status = 23; * @param value The brokerStatus to set. * @return This builder for chaining. */ public Builder setBrokerStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } brokerStatus_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** *
     *Статус брокера.
     * 
* * string broker_status = 23; * @return This builder for chaining. */ public Builder clearBrokerStatus() { brokerStatus_ = getDefaultInstance().getBrokerStatus(); bitField0_ = (bitField0_ & ~0x00400000); onChanged(); return this; } /** *
     *Статус брокера.
     * 
* * string broker_status = 23; * @param value The bytes for brokerStatus to set. * @return This builder for chaining. */ public Builder setBrokerStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); brokerStatus_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } private java.lang.Object separateAgreementType_ = ""; /** *
     *Тип дог.
     * 
* * string separate_agreement_type = 24; * @return The separateAgreementType. */ public java.lang.String getSeparateAgreementType() { java.lang.Object ref = separateAgreementType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); separateAgreementType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Тип дог.
     * 
* * string separate_agreement_type = 24; * @return The bytes for separateAgreementType. */ public com.google.protobuf.ByteString getSeparateAgreementTypeBytes() { java.lang.Object ref = separateAgreementType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); separateAgreementType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Тип дог.
     * 
* * string separate_agreement_type = 24; * @param value The separateAgreementType to set. * @return This builder for chaining. */ public Builder setSeparateAgreementType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } separateAgreementType_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } /** *
     *Тип дог.
     * 
* * string separate_agreement_type = 24; * @return This builder for chaining. */ public Builder clearSeparateAgreementType() { separateAgreementType_ = getDefaultInstance().getSeparateAgreementType(); bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } /** *
     *Тип дог.
     * 
* * string separate_agreement_type = 24; * @param value The bytes for separateAgreementType to set. * @return This builder for chaining. */ public Builder setSeparateAgreementTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); separateAgreementType_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } private java.lang.Object separateAgreementNumber_ = ""; /** *
     *Номер дог.
     * 
* * string separate_agreement_number = 25; * @return The separateAgreementNumber. */ public java.lang.String getSeparateAgreementNumber() { java.lang.Object ref = separateAgreementNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); separateAgreementNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Номер дог.
     * 
* * string separate_agreement_number = 25; * @return The bytes for separateAgreementNumber. */ public com.google.protobuf.ByteString getSeparateAgreementNumberBytes() { java.lang.Object ref = separateAgreementNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); separateAgreementNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Номер дог.
     * 
* * string separate_agreement_number = 25; * @param value The separateAgreementNumber to set. * @return This builder for chaining. */ public Builder setSeparateAgreementNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } separateAgreementNumber_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } /** *
     *Номер дог.
     * 
* * string separate_agreement_number = 25; * @return This builder for chaining. */ public Builder clearSeparateAgreementNumber() { separateAgreementNumber_ = getDefaultInstance().getSeparateAgreementNumber(); bitField0_ = (bitField0_ & ~0x01000000); onChanged(); return this; } /** *
     *Номер дог.
     * 
* * string separate_agreement_number = 25; * @param value The bytes for separateAgreementNumber to set. * @return This builder for chaining. */ public Builder setSeparateAgreementNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); separateAgreementNumber_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } private java.lang.Object separateAgreementDate_ = ""; /** *
     *Дата дог.
     * 
* * string separate_agreement_date = 26; * @return The separateAgreementDate. */ public java.lang.String getSeparateAgreementDate() { java.lang.Object ref = separateAgreementDate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); separateAgreementDate_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Дата дог.
     * 
* * string separate_agreement_date = 26; * @return The bytes for separateAgreementDate. */ public com.google.protobuf.ByteString getSeparateAgreementDateBytes() { java.lang.Object ref = separateAgreementDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); separateAgreementDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Дата дог.
     * 
* * string separate_agreement_date = 26; * @param value The separateAgreementDate to set. * @return This builder for chaining. */ public Builder setSeparateAgreementDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } separateAgreementDate_ = value; bitField0_ |= 0x02000000; onChanged(); return this; } /** *
     *Дата дог.
     * 
* * string separate_agreement_date = 26; * @return This builder for chaining. */ public Builder clearSeparateAgreementDate() { separateAgreementDate_ = getDefaultInstance().getSeparateAgreementDate(); bitField0_ = (bitField0_ & ~0x02000000); onChanged(); return this; } /** *
     *Дата дог.
     * 
* * string separate_agreement_date = 26; * @param value The bytes for separateAgreementDate to set. * @return This builder for chaining. */ public Builder setSeparateAgreementDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); separateAgreementDate_ = value; bitField0_ |= 0x02000000; onChanged(); return this; } private java.lang.Object deliveryType_ = ""; /** *
     *Тип расчёта по сделке.
     * 
* * string delivery_type = 27; * @return The deliveryType. */ public java.lang.String getDeliveryType() { java.lang.Object ref = deliveryType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Тип расчёта по сделке.
     * 
* * string delivery_type = 27; * @return The bytes for deliveryType. */ public com.google.protobuf.ByteString getDeliveryTypeBytes() { java.lang.Object ref = deliveryType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deliveryType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Тип расчёта по сделке.
     * 
* * string delivery_type = 27; * @param value The deliveryType to set. * @return This builder for chaining. */ public Builder setDeliveryType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deliveryType_ = value; bitField0_ |= 0x04000000; onChanged(); return this; } /** *
     *Тип расчёта по сделке.
     * 
* * string delivery_type = 27; * @return This builder for chaining. */ public Builder clearDeliveryType() { deliveryType_ = getDefaultInstance().getDeliveryType(); bitField0_ = (bitField0_ & ~0x04000000); onChanged(); return this; } /** *
     *Тип расчёта по сделке.
     * 
* * string delivery_type = 27; * @param value The bytes for deliveryType to set. * @return This builder for chaining. */ public Builder setDeliveryTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deliveryType_ = value; bitField0_ |= 0x04000000; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tinkoff.public.invest.api.contract.v1.BrokerReport) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.BrokerReport) private static final ru.tinkoff.piapi.contract.v1.BrokerReport DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.BrokerReport(); } public static ru.tinkoff.piapi.contract.v1.BrokerReport getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BrokerReport parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.BrokerReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy