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

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

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

package ru.tinkoff.piapi.contract.v1;

/**
 * 
 *Информация о выплате.
 * 
* * Protobuf type {@code tinkoff.public.invest.api.contract.v1.Dividend} */ public final class Dividend extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.Dividend) DividendOrBuilder { private static final long serialVersionUID = 0L; // Use Dividend.newBuilder() to construct. private Dividend(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Dividend() { dividendType_ = ""; regularity_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Dividend(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_Dividend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_Dividend_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.Dividend.class, ru.tinkoff.piapi.contract.v1.Dividend.Builder.class); } public static final int DIVIDEND_NET_FIELD_NUMBER = 1; private ru.tinkoff.piapi.contract.v1.MoneyValue dividendNet_; /** *
   *Величина дивиденда на 1 ценную бумагу (включая валюту).
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; * @return Whether the dividendNet field is set. */ @java.lang.Override public boolean hasDividendNet() { return dividendNet_ != null; } /** *
   *Величина дивиденда на 1 ценную бумагу (включая валюту).
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; * @return The dividendNet. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getDividendNet() { return dividendNet_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : dividendNet_; } /** *
   *Величина дивиденда на 1 ценную бумагу (включая валюту).
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getDividendNetOrBuilder() { return dividendNet_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : dividendNet_; } public static final int PAYMENT_DATE_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp paymentDate_; /** *
   *Дата фактических выплат в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp payment_date = 2; * @return Whether the paymentDate field is set. */ @java.lang.Override public boolean hasPaymentDate() { return paymentDate_ != null; } /** *
   *Дата фактических выплат в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp payment_date = 2; * @return The paymentDate. */ @java.lang.Override public com.google.protobuf.Timestamp getPaymentDate() { return paymentDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : paymentDate_; } /** *
   *Дата фактических выплат в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp payment_date = 2; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPaymentDateOrBuilder() { return paymentDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : paymentDate_; } public static final int DECLARED_DATE_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp declaredDate_; /** *
   *Дата объявления дивидендов в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp declared_date = 3; * @return Whether the declaredDate field is set. */ @java.lang.Override public boolean hasDeclaredDate() { return declaredDate_ != null; } /** *
   *Дата объявления дивидендов в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp declared_date = 3; * @return The declaredDate. */ @java.lang.Override public com.google.protobuf.Timestamp getDeclaredDate() { return declaredDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : declaredDate_; } /** *
   *Дата объявления дивидендов в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp declared_date = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeclaredDateOrBuilder() { return declaredDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : declaredDate_; } public static final int LAST_BUY_DATE_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp lastBuyDate_; /** *
   *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp last_buy_date = 4; * @return Whether the lastBuyDate field is set. */ @java.lang.Override public boolean hasLastBuyDate() { return lastBuyDate_ != null; } /** *
   *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp last_buy_date = 4; * @return The lastBuyDate. */ @java.lang.Override public com.google.protobuf.Timestamp getLastBuyDate() { return lastBuyDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastBuyDate_; } /** *
   *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp last_buy_date = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastBuyDateOrBuilder() { return lastBuyDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastBuyDate_; } public static final int DIVIDEND_TYPE_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object dividendType_ = ""; /** *
   *Тип выплаты. Возможные значения: Regular Cash – регулярные выплаты, Cancelled – выплата отменена, Daily Accrual – ежедневное начисление, Return of Capital – возврат капитала, прочие типы выплат.
   * 
* * string dividend_type = 5; * @return The dividendType. */ @java.lang.Override public java.lang.String getDividendType() { java.lang.Object ref = dividendType_; 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(); dividendType_ = s; return s; } } /** *
   *Тип выплаты. Возможные значения: Regular Cash – регулярные выплаты, Cancelled – выплата отменена, Daily Accrual – ежедневное начисление, Return of Capital – возврат капитала, прочие типы выплат.
   * 
* * string dividend_type = 5; * @return The bytes for dividendType. */ @java.lang.Override public com.google.protobuf.ByteString getDividendTypeBytes() { java.lang.Object ref = dividendType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dividendType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECORD_DATE_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp recordDate_; /** *
   *Дата фиксации реестра в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp record_date = 6; * @return Whether the recordDate field is set. */ @java.lang.Override public boolean hasRecordDate() { return recordDate_ != null; } /** *
   *Дата фиксации реестра в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp record_date = 6; * @return The recordDate. */ @java.lang.Override public com.google.protobuf.Timestamp getRecordDate() { return recordDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : recordDate_; } /** *
   *Дата фиксации реестра в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp record_date = 6; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRecordDateOrBuilder() { return recordDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : recordDate_; } public static final int REGULARITY_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object regularity_ = ""; /** *
   *Регулярность выплаты. Возможные значения: Annual – ежегодная, Semi-Anl – каждые полгода, прочие типы выплат.
   * 
* * string regularity = 7; * @return The regularity. */ @java.lang.Override public java.lang.String getRegularity() { java.lang.Object ref = regularity_; 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(); regularity_ = s; return s; } } /** *
   *Регулярность выплаты. Возможные значения: Annual – ежегодная, Semi-Anl – каждые полгода, прочие типы выплат.
   * 
* * string regularity = 7; * @return The bytes for regularity. */ @java.lang.Override public com.google.protobuf.ByteString getRegularityBytes() { java.lang.Object ref = regularity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regularity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLOSE_PRICE_FIELD_NUMBER = 8; private ru.tinkoff.piapi.contract.v1.MoneyValue closePrice_; /** *
   *Цена закрытия инструмента на момент ex_dividend_date.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; * @return Whether the closePrice field is set. */ @java.lang.Override public boolean hasClosePrice() { return closePrice_ != null; } /** *
   *Цена закрытия инструмента на момент ex_dividend_date.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; * @return The closePrice. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValue getClosePrice() { return closePrice_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : closePrice_; } /** *
   *Цена закрытия инструмента на момент ex_dividend_date.
   * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getClosePriceOrBuilder() { return closePrice_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : closePrice_; } public static final int YIELD_VALUE_FIELD_NUMBER = 9; private ru.tinkoff.piapi.contract.v1.Quotation yieldValue_; /** *
   *Величина доходности.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; * @return Whether the yieldValue field is set. */ @java.lang.Override public boolean hasYieldValue() { return yieldValue_ != null; } /** *
   *Величина доходности.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; * @return The yieldValue. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.Quotation getYieldValue() { return yieldValue_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : yieldValue_; } /** *
   *Величина доходности.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getYieldValueOrBuilder() { return yieldValue_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : yieldValue_; } public static final int CREATED_AT_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp createdAt_; /** *
   *Дата и время создания записи в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp created_at = 10; * @return Whether the createdAt field is set. */ @java.lang.Override public boolean hasCreatedAt() { return createdAt_ != null; } /** *
   *Дата и время создания записи в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp created_at = 10; * @return The createdAt. */ @java.lang.Override public com.google.protobuf.Timestamp getCreatedAt() { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } /** *
   *Дата и время создания записи в часовом поясе UTC.
   * 
* * .google.protobuf.Timestamp created_at = 10; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } 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 (dividendNet_ != null) { output.writeMessage(1, getDividendNet()); } if (paymentDate_ != null) { output.writeMessage(2, getPaymentDate()); } if (declaredDate_ != null) { output.writeMessage(3, getDeclaredDate()); } if (lastBuyDate_ != null) { output.writeMessage(4, getLastBuyDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dividendType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dividendType_); } if (recordDate_ != null) { output.writeMessage(6, getRecordDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regularity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, regularity_); } if (closePrice_ != null) { output.writeMessage(8, getClosePrice()); } if (yieldValue_ != null) { output.writeMessage(9, getYieldValue()); } if (createdAt_ != null) { output.writeMessage(10, getCreatedAt()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (dividendNet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDividendNet()); } if (paymentDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPaymentDate()); } if (declaredDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getDeclaredDate()); } if (lastBuyDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLastBuyDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dividendType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dividendType_); } if (recordDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getRecordDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regularity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, regularity_); } if (closePrice_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getClosePrice()); } if (yieldValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getYieldValue()); } if (createdAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getCreatedAt()); } 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.Dividend)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.Dividend other = (ru.tinkoff.piapi.contract.v1.Dividend) obj; if (hasDividendNet() != other.hasDividendNet()) return false; if (hasDividendNet()) { if (!getDividendNet() .equals(other.getDividendNet())) return false; } if (hasPaymentDate() != other.hasPaymentDate()) return false; if (hasPaymentDate()) { if (!getPaymentDate() .equals(other.getPaymentDate())) return false; } if (hasDeclaredDate() != other.hasDeclaredDate()) return false; if (hasDeclaredDate()) { if (!getDeclaredDate() .equals(other.getDeclaredDate())) return false; } if (hasLastBuyDate() != other.hasLastBuyDate()) return false; if (hasLastBuyDate()) { if (!getLastBuyDate() .equals(other.getLastBuyDate())) return false; } if (!getDividendType() .equals(other.getDividendType())) return false; if (hasRecordDate() != other.hasRecordDate()) return false; if (hasRecordDate()) { if (!getRecordDate() .equals(other.getRecordDate())) return false; } if (!getRegularity() .equals(other.getRegularity())) return false; if (hasClosePrice() != other.hasClosePrice()) return false; if (hasClosePrice()) { if (!getClosePrice() .equals(other.getClosePrice())) return false; } if (hasYieldValue() != other.hasYieldValue()) return false; if (hasYieldValue()) { if (!getYieldValue() .equals(other.getYieldValue())) return false; } if (hasCreatedAt() != other.hasCreatedAt()) return false; if (hasCreatedAt()) { if (!getCreatedAt() .equals(other.getCreatedAt())) 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(); if (hasDividendNet()) { hash = (37 * hash) + DIVIDEND_NET_FIELD_NUMBER; hash = (53 * hash) + getDividendNet().hashCode(); } if (hasPaymentDate()) { hash = (37 * hash) + PAYMENT_DATE_FIELD_NUMBER; hash = (53 * hash) + getPaymentDate().hashCode(); } if (hasDeclaredDate()) { hash = (37 * hash) + DECLARED_DATE_FIELD_NUMBER; hash = (53 * hash) + getDeclaredDate().hashCode(); } if (hasLastBuyDate()) { hash = (37 * hash) + LAST_BUY_DATE_FIELD_NUMBER; hash = (53 * hash) + getLastBuyDate().hashCode(); } hash = (37 * hash) + DIVIDEND_TYPE_FIELD_NUMBER; hash = (53 * hash) + getDividendType().hashCode(); if (hasRecordDate()) { hash = (37 * hash) + RECORD_DATE_FIELD_NUMBER; hash = (53 * hash) + getRecordDate().hashCode(); } hash = (37 * hash) + REGULARITY_FIELD_NUMBER; hash = (53 * hash) + getRegularity().hashCode(); if (hasClosePrice()) { hash = (37 * hash) + CLOSE_PRICE_FIELD_NUMBER; hash = (53 * hash) + getClosePrice().hashCode(); } if (hasYieldValue()) { hash = (37 * hash) + YIELD_VALUE_FIELD_NUMBER; hash = (53 * hash) + getYieldValue().hashCode(); } if (hasCreatedAt()) { hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; hash = (53 * hash) + getCreatedAt().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.Dividend parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.Dividend 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.Dividend parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.Dividend 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.Dividend parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.Dividend 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.Dividend parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.Dividend 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.Dividend parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.Dividend 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.Dividend 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.Dividend 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.Dividend 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.Dividend} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.Dividend) ru.tinkoff.piapi.contract.v1.DividendOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_Dividend_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_Dividend_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.Dividend.class, ru.tinkoff.piapi.contract.v1.Dividend.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.Dividend.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; dividendNet_ = null; if (dividendNetBuilder_ != null) { dividendNetBuilder_.dispose(); dividendNetBuilder_ = null; } paymentDate_ = null; if (paymentDateBuilder_ != null) { paymentDateBuilder_.dispose(); paymentDateBuilder_ = null; } declaredDate_ = null; if (declaredDateBuilder_ != null) { declaredDateBuilder_.dispose(); declaredDateBuilder_ = null; } lastBuyDate_ = null; if (lastBuyDateBuilder_ != null) { lastBuyDateBuilder_.dispose(); lastBuyDateBuilder_ = null; } dividendType_ = ""; recordDate_ = null; if (recordDateBuilder_ != null) { recordDateBuilder_.dispose(); recordDateBuilder_ = null; } regularity_ = ""; closePrice_ = null; if (closePriceBuilder_ != null) { closePriceBuilder_.dispose(); closePriceBuilder_ = null; } yieldValue_ = null; if (yieldValueBuilder_ != null) { yieldValueBuilder_.dispose(); yieldValueBuilder_ = null; } createdAt_ = null; if (createdAtBuilder_ != null) { createdAtBuilder_.dispose(); createdAtBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_Dividend_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.Dividend getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.Dividend.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.Dividend build() { ru.tinkoff.piapi.contract.v1.Dividend result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.Dividend buildPartial() { ru.tinkoff.piapi.contract.v1.Dividend result = new ru.tinkoff.piapi.contract.v1.Dividend(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ru.tinkoff.piapi.contract.v1.Dividend result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dividendNet_ = dividendNetBuilder_ == null ? dividendNet_ : dividendNetBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.paymentDate_ = paymentDateBuilder_ == null ? paymentDate_ : paymentDateBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.declaredDate_ = declaredDateBuilder_ == null ? declaredDate_ : declaredDateBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.lastBuyDate_ = lastBuyDateBuilder_ == null ? lastBuyDate_ : lastBuyDateBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.dividendType_ = dividendType_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.recordDate_ = recordDateBuilder_ == null ? recordDate_ : recordDateBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.regularity_ = regularity_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.closePrice_ = closePriceBuilder_ == null ? closePrice_ : closePriceBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { result.yieldValue_ = yieldValueBuilder_ == null ? yieldValue_ : yieldValueBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.createdAt_ = createdAtBuilder_ == null ? createdAt_ : createdAtBuilder_.build(); } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.Dividend) { return mergeFrom((ru.tinkoff.piapi.contract.v1.Dividend)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.Dividend other) { if (other == ru.tinkoff.piapi.contract.v1.Dividend.getDefaultInstance()) return this; if (other.hasDividendNet()) { mergeDividendNet(other.getDividendNet()); } if (other.hasPaymentDate()) { mergePaymentDate(other.getPaymentDate()); } if (other.hasDeclaredDate()) { mergeDeclaredDate(other.getDeclaredDate()); } if (other.hasLastBuyDate()) { mergeLastBuyDate(other.getLastBuyDate()); } if (!other.getDividendType().isEmpty()) { dividendType_ = other.dividendType_; bitField0_ |= 0x00000010; onChanged(); } if (other.hasRecordDate()) { mergeRecordDate(other.getRecordDate()); } if (!other.getRegularity().isEmpty()) { regularity_ = other.regularity_; bitField0_ |= 0x00000040; onChanged(); } if (other.hasClosePrice()) { mergeClosePrice(other.getClosePrice()); } if (other.hasYieldValue()) { mergeYieldValue(other.getYieldValue()); } if (other.hasCreatedAt()) { mergeCreatedAt(other.getCreatedAt()); } 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: { input.readMessage( getDividendNetFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getPaymentDateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getDeclaredDateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getLastBuyDateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { dividendType_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getRecordDateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { regularity_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getClosePriceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 74: { input.readMessage( getYieldValueFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 case 82: { input.readMessage( getCreatedAtFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 82 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 ru.tinkoff.piapi.contract.v1.MoneyValue dividendNet_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> dividendNetBuilder_; /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; * @return Whether the dividendNet field is set. */ public boolean hasDividendNet() { return ((bitField0_ & 0x00000001) != 0); } /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; * @return The dividendNet. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getDividendNet() { if (dividendNetBuilder_ == null) { return dividendNet_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : dividendNet_; } else { return dividendNetBuilder_.getMessage(); } } /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; */ public Builder setDividendNet(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (dividendNetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dividendNet_ = value; } else { dividendNetBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; */ public Builder setDividendNet( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (dividendNetBuilder_ == null) { dividendNet_ = builderForValue.build(); } else { dividendNetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; */ public Builder mergeDividendNet(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (dividendNetBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && dividendNet_ != null && dividendNet_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getDividendNetBuilder().mergeFrom(value); } else { dividendNet_ = value; } } else { dividendNetBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; */ public Builder clearDividendNet() { bitField0_ = (bitField0_ & ~0x00000001); dividendNet_ = null; if (dividendNetBuilder_ != null) { dividendNetBuilder_.dispose(); dividendNetBuilder_ = null; } onChanged(); return this; } /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getDividendNetBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDividendNetFieldBuilder().getBuilder(); } /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getDividendNetOrBuilder() { if (dividendNetBuilder_ != null) { return dividendNetBuilder_.getMessageOrBuilder(); } else { return dividendNet_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : dividendNet_; } } /** *
     *Величина дивиденда на 1 ценную бумагу (включая валюту).
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue dividend_net = 1; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getDividendNetFieldBuilder() { if (dividendNetBuilder_ == null) { dividendNetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getDividendNet(), getParentForChildren(), isClean()); dividendNet_ = null; } return dividendNetBuilder_; } private com.google.protobuf.Timestamp paymentDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> paymentDateBuilder_; /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; * @return Whether the paymentDate field is set. */ public boolean hasPaymentDate() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; * @return The paymentDate. */ public com.google.protobuf.Timestamp getPaymentDate() { if (paymentDateBuilder_ == null) { return paymentDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : paymentDate_; } else { return paymentDateBuilder_.getMessage(); } } /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ public Builder setPaymentDate(com.google.protobuf.Timestamp value) { if (paymentDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } paymentDate_ = value; } else { paymentDateBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ public Builder setPaymentDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (paymentDateBuilder_ == null) { paymentDate_ = builderForValue.build(); } else { paymentDateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ public Builder mergePaymentDate(com.google.protobuf.Timestamp value) { if (paymentDateBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && paymentDate_ != null && paymentDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getPaymentDateBuilder().mergeFrom(value); } else { paymentDate_ = value; } } else { paymentDateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ public Builder clearPaymentDate() { bitField0_ = (bitField0_ & ~0x00000002); paymentDate_ = null; if (paymentDateBuilder_ != null) { paymentDateBuilder_.dispose(); paymentDateBuilder_ = null; } onChanged(); return this; } /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ public com.google.protobuf.Timestamp.Builder getPaymentDateBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPaymentDateFieldBuilder().getBuilder(); } /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ public com.google.protobuf.TimestampOrBuilder getPaymentDateOrBuilder() { if (paymentDateBuilder_ != null) { return paymentDateBuilder_.getMessageOrBuilder(); } else { return paymentDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : paymentDate_; } } /** *
     *Дата фактических выплат в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPaymentDateFieldBuilder() { if (paymentDateBuilder_ == null) { paymentDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getPaymentDate(), getParentForChildren(), isClean()); paymentDate_ = null; } return paymentDateBuilder_; } private com.google.protobuf.Timestamp declaredDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> declaredDateBuilder_; /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; * @return Whether the declaredDate field is set. */ public boolean hasDeclaredDate() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; * @return The declaredDate. */ public com.google.protobuf.Timestamp getDeclaredDate() { if (declaredDateBuilder_ == null) { return declaredDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : declaredDate_; } else { return declaredDateBuilder_.getMessage(); } } /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; */ public Builder setDeclaredDate(com.google.protobuf.Timestamp value) { if (declaredDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } declaredDate_ = value; } else { declaredDateBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; */ public Builder setDeclaredDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (declaredDateBuilder_ == null) { declaredDate_ = builderForValue.build(); } else { declaredDateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; */ public Builder mergeDeclaredDate(com.google.protobuf.Timestamp value) { if (declaredDateBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && declaredDate_ != null && declaredDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeclaredDateBuilder().mergeFrom(value); } else { declaredDate_ = value; } } else { declaredDateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; */ public Builder clearDeclaredDate() { bitField0_ = (bitField0_ & ~0x00000004); declaredDate_ = null; if (declaredDateBuilder_ != null) { declaredDateBuilder_.dispose(); declaredDateBuilder_ = null; } onChanged(); return this; } /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; */ public com.google.protobuf.Timestamp.Builder getDeclaredDateBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDeclaredDateFieldBuilder().getBuilder(); } /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; */ public com.google.protobuf.TimestampOrBuilder getDeclaredDateOrBuilder() { if (declaredDateBuilder_ != null) { return declaredDateBuilder_.getMessageOrBuilder(); } else { return declaredDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : declaredDate_; } } /** *
     *Дата объявления дивидендов в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp declared_date = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDeclaredDateFieldBuilder() { if (declaredDateBuilder_ == null) { declaredDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getDeclaredDate(), getParentForChildren(), isClean()); declaredDate_ = null; } return declaredDateBuilder_; } private com.google.protobuf.Timestamp lastBuyDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastBuyDateBuilder_; /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; * @return Whether the lastBuyDate field is set. */ public boolean hasLastBuyDate() { return ((bitField0_ & 0x00000008) != 0); } /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; * @return The lastBuyDate. */ public com.google.protobuf.Timestamp getLastBuyDate() { if (lastBuyDateBuilder_ == null) { return lastBuyDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastBuyDate_; } else { return lastBuyDateBuilder_.getMessage(); } } /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; */ public Builder setLastBuyDate(com.google.protobuf.Timestamp value) { if (lastBuyDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastBuyDate_ = value; } else { lastBuyDateBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; */ public Builder setLastBuyDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastBuyDateBuilder_ == null) { lastBuyDate_ = builderForValue.build(); } else { lastBuyDateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; */ public Builder mergeLastBuyDate(com.google.protobuf.Timestamp value) { if (lastBuyDateBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && lastBuyDate_ != null && lastBuyDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLastBuyDateBuilder().mergeFrom(value); } else { lastBuyDate_ = value; } } else { lastBuyDateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; */ public Builder clearLastBuyDate() { bitField0_ = (bitField0_ & ~0x00000008); lastBuyDate_ = null; if (lastBuyDateBuilder_ != null) { lastBuyDateBuilder_.dispose(); lastBuyDateBuilder_ = null; } onChanged(); return this; } /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; */ public com.google.protobuf.Timestamp.Builder getLastBuyDateBuilder() { bitField0_ |= 0x00000008; onChanged(); return getLastBuyDateFieldBuilder().getBuilder(); } /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; */ public com.google.protobuf.TimestampOrBuilder getLastBuyDateOrBuilder() { if (lastBuyDateBuilder_ != null) { return lastBuyDateBuilder_.getMessageOrBuilder(); } else { return lastBuyDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastBuyDate_; } } /** *
     *Последний день (включительно) покупки для получения выплаты в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp last_buy_date = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastBuyDateFieldBuilder() { if (lastBuyDateBuilder_ == null) { lastBuyDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLastBuyDate(), getParentForChildren(), isClean()); lastBuyDate_ = null; } return lastBuyDateBuilder_; } private java.lang.Object dividendType_ = ""; /** *
     *Тип выплаты. Возможные значения: Regular Cash – регулярные выплаты, Cancelled – выплата отменена, Daily Accrual – ежедневное начисление, Return of Capital – возврат капитала, прочие типы выплат.
     * 
* * string dividend_type = 5; * @return The dividendType. */ public java.lang.String getDividendType() { java.lang.Object ref = dividendType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dividendType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Тип выплаты. Возможные значения: Regular Cash – регулярные выплаты, Cancelled – выплата отменена, Daily Accrual – ежедневное начисление, Return of Capital – возврат капитала, прочие типы выплат.
     * 
* * string dividend_type = 5; * @return The bytes for dividendType. */ public com.google.protobuf.ByteString getDividendTypeBytes() { java.lang.Object ref = dividendType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dividendType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Тип выплаты. Возможные значения: Regular Cash – регулярные выплаты, Cancelled – выплата отменена, Daily Accrual – ежедневное начисление, Return of Capital – возврат капитала, прочие типы выплат.
     * 
* * string dividend_type = 5; * @param value The dividendType to set. * @return This builder for chaining. */ public Builder setDividendType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dividendType_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     *Тип выплаты. Возможные значения: Regular Cash – регулярные выплаты, Cancelled – выплата отменена, Daily Accrual – ежедневное начисление, Return of Capital – возврат капитала, прочие типы выплат.
     * 
* * string dividend_type = 5; * @return This builder for chaining. */ public Builder clearDividendType() { dividendType_ = getDefaultInstance().getDividendType(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     *Тип выплаты. Возможные значения: Regular Cash – регулярные выплаты, Cancelled – выплата отменена, Daily Accrual – ежедневное начисление, Return of Capital – возврат капитала, прочие типы выплат.
     * 
* * string dividend_type = 5; * @param value The bytes for dividendType to set. * @return This builder for chaining. */ public Builder setDividendTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dividendType_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private com.google.protobuf.Timestamp recordDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> recordDateBuilder_; /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; * @return Whether the recordDate field is set. */ public boolean hasRecordDate() { return ((bitField0_ & 0x00000020) != 0); } /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; * @return The recordDate. */ public com.google.protobuf.Timestamp getRecordDate() { if (recordDateBuilder_ == null) { return recordDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : recordDate_; } else { return recordDateBuilder_.getMessage(); } } /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; */ public Builder setRecordDate(com.google.protobuf.Timestamp value) { if (recordDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } recordDate_ = value; } else { recordDateBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; */ public Builder setRecordDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (recordDateBuilder_ == null) { recordDate_ = builderForValue.build(); } else { recordDateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; */ public Builder mergeRecordDate(com.google.protobuf.Timestamp value) { if (recordDateBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && recordDate_ != null && recordDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRecordDateBuilder().mergeFrom(value); } else { recordDate_ = value; } } else { recordDateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; */ public Builder clearRecordDate() { bitField0_ = (bitField0_ & ~0x00000020); recordDate_ = null; if (recordDateBuilder_ != null) { recordDateBuilder_.dispose(); recordDateBuilder_ = null; } onChanged(); return this; } /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; */ public com.google.protobuf.Timestamp.Builder getRecordDateBuilder() { bitField0_ |= 0x00000020; onChanged(); return getRecordDateFieldBuilder().getBuilder(); } /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; */ public com.google.protobuf.TimestampOrBuilder getRecordDateOrBuilder() { if (recordDateBuilder_ != null) { return recordDateBuilder_.getMessageOrBuilder(); } else { return recordDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : recordDate_; } } /** *
     *Дата фиксации реестра в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp record_date = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRecordDateFieldBuilder() { if (recordDateBuilder_ == null) { recordDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getRecordDate(), getParentForChildren(), isClean()); recordDate_ = null; } return recordDateBuilder_; } private java.lang.Object regularity_ = ""; /** *
     *Регулярность выплаты. Возможные значения: Annual – ежегодная, Semi-Anl – каждые полгода, прочие типы выплат.
     * 
* * string regularity = 7; * @return The regularity. */ public java.lang.String getRegularity() { java.lang.Object ref = regularity_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regularity_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Регулярность выплаты. Возможные значения: Annual – ежегодная, Semi-Anl – каждые полгода, прочие типы выплат.
     * 
* * string regularity = 7; * @return The bytes for regularity. */ public com.google.protobuf.ByteString getRegularityBytes() { java.lang.Object ref = regularity_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regularity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Регулярность выплаты. Возможные значения: Annual – ежегодная, Semi-Anl – каждые полгода, прочие типы выплат.
     * 
* * string regularity = 7; * @param value The regularity to set. * @return This builder for chaining. */ public Builder setRegularity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } regularity_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     *Регулярность выплаты. Возможные значения: Annual – ежегодная, Semi-Anl – каждые полгода, прочие типы выплат.
     * 
* * string regularity = 7; * @return This builder for chaining. */ public Builder clearRegularity() { regularity_ = getDefaultInstance().getRegularity(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
     *Регулярность выплаты. Возможные значения: Annual – ежегодная, Semi-Anl – каждые полгода, прочие типы выплат.
     * 
* * string regularity = 7; * @param value The bytes for regularity to set. * @return This builder for chaining. */ public Builder setRegularityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); regularity_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private ru.tinkoff.piapi.contract.v1.MoneyValue closePrice_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> closePriceBuilder_; /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; * @return Whether the closePrice field is set. */ public boolean hasClosePrice() { return ((bitField0_ & 0x00000080) != 0); } /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; * @return The closePrice. */ public ru.tinkoff.piapi.contract.v1.MoneyValue getClosePrice() { if (closePriceBuilder_ == null) { return closePrice_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : closePrice_; } else { return closePriceBuilder_.getMessage(); } } /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; */ public Builder setClosePrice(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (closePriceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } closePrice_ = value; } else { closePriceBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; */ public Builder setClosePrice( ru.tinkoff.piapi.contract.v1.MoneyValue.Builder builderForValue) { if (closePriceBuilder_ == null) { closePrice_ = builderForValue.build(); } else { closePriceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; */ public Builder mergeClosePrice(ru.tinkoff.piapi.contract.v1.MoneyValue value) { if (closePriceBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && closePrice_ != null && closePrice_ != ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance()) { getClosePriceBuilder().mergeFrom(value); } else { closePrice_ = value; } } else { closePriceBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; */ public Builder clearClosePrice() { bitField0_ = (bitField0_ & ~0x00000080); closePrice_ = null; if (closePriceBuilder_ != null) { closePriceBuilder_.dispose(); closePriceBuilder_ = null; } onChanged(); return this; } /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; */ public ru.tinkoff.piapi.contract.v1.MoneyValue.Builder getClosePriceBuilder() { bitField0_ |= 0x00000080; onChanged(); return getClosePriceFieldBuilder().getBuilder(); } /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; */ public ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getClosePriceOrBuilder() { if (closePriceBuilder_ != null) { return closePriceBuilder_.getMessageOrBuilder(); } else { return closePrice_ == null ? ru.tinkoff.piapi.contract.v1.MoneyValue.getDefaultInstance() : closePrice_; } } /** *
     *Цена закрытия инструмента на момент ex_dividend_date.
     * 
* * .tinkoff.public.invest.api.contract.v1.MoneyValue close_price = 8; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder> getClosePriceFieldBuilder() { if (closePriceBuilder_ == null) { closePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.MoneyValue, ru.tinkoff.piapi.contract.v1.MoneyValue.Builder, ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder>( getClosePrice(), getParentForChildren(), isClean()); closePrice_ = null; } return closePriceBuilder_; } private ru.tinkoff.piapi.contract.v1.Quotation yieldValue_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> yieldValueBuilder_; /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; * @return Whether the yieldValue field is set. */ public boolean hasYieldValue() { return ((bitField0_ & 0x00000100) != 0); } /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; * @return The yieldValue. */ public ru.tinkoff.piapi.contract.v1.Quotation getYieldValue() { if (yieldValueBuilder_ == null) { return yieldValue_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : yieldValue_; } else { return yieldValueBuilder_.getMessage(); } } /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; */ public Builder setYieldValue(ru.tinkoff.piapi.contract.v1.Quotation value) { if (yieldValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } yieldValue_ = value; } else { yieldValueBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; */ public Builder setYieldValue( ru.tinkoff.piapi.contract.v1.Quotation.Builder builderForValue) { if (yieldValueBuilder_ == null) { yieldValue_ = builderForValue.build(); } else { yieldValueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; */ public Builder mergeYieldValue(ru.tinkoff.piapi.contract.v1.Quotation value) { if (yieldValueBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && yieldValue_ != null && yieldValue_ != ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance()) { getYieldValueBuilder().mergeFrom(value); } else { yieldValue_ = value; } } else { yieldValueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; */ public Builder clearYieldValue() { bitField0_ = (bitField0_ & ~0x00000100); yieldValue_ = null; if (yieldValueBuilder_ != null) { yieldValueBuilder_.dispose(); yieldValueBuilder_ = null; } onChanged(); return this; } /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; */ public ru.tinkoff.piapi.contract.v1.Quotation.Builder getYieldValueBuilder() { bitField0_ |= 0x00000100; onChanged(); return getYieldValueFieldBuilder().getBuilder(); } /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; */ public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getYieldValueOrBuilder() { if (yieldValueBuilder_ != null) { return yieldValueBuilder_.getMessageOrBuilder(); } else { return yieldValue_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : yieldValue_; } } /** *
     *Величина доходности.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation yield_value = 9; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> getYieldValueFieldBuilder() { if (yieldValueBuilder_ == null) { yieldValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder>( getYieldValue(), getParentForChildren(), isClean()); yieldValue_ = null; } return yieldValueBuilder_; } private com.google.protobuf.Timestamp createdAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; * @return Whether the createdAt field is set. */ public boolean hasCreatedAt() { return ((bitField0_ & 0x00000200) != 0); } /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; * @return The createdAt. */ public com.google.protobuf.Timestamp getCreatedAt() { if (createdAtBuilder_ == null) { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } else { return createdAtBuilder_.getMessage(); } } /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; */ public Builder setCreatedAt(com.google.protobuf.Timestamp value) { if (createdAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createdAt_ = value; } else { createdAtBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; */ public Builder setCreatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdAtBuilder_ == null) { createdAt_ = builderForValue.build(); } else { createdAtBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; */ public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { if (createdAtBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && createdAt_ != null && createdAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreatedAtBuilder().mergeFrom(value); } else { createdAt_ = value; } } else { createdAtBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; */ public Builder clearCreatedAt() { bitField0_ = (bitField0_ & ~0x00000200); createdAt_ = null; if (createdAtBuilder_ != null) { createdAtBuilder_.dispose(); createdAtBuilder_ = null; } onChanged(); return this; } /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; */ public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { bitField0_ |= 0x00000200; onChanged(); return getCreatedAtFieldBuilder().getBuilder(); } /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; */ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { if (createdAtBuilder_ != null) { return createdAtBuilder_.getMessageOrBuilder(); } else { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } } /** *
     *Дата и время создания записи в часовом поясе UTC.
     * 
* * .google.protobuf.Timestamp created_at = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedAtFieldBuilder() { if (createdAtBuilder_ == null) { createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreatedAt(), getParentForChildren(), isClean()); createdAt_ = null; } return createdAtBuilder_; } @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.Dividend) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.Dividend) private static final ru.tinkoff.piapi.contract.v1.Dividend DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.Dividend(); } public static ru.tinkoff.piapi.contract.v1.Dividend getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Dividend 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.Dividend getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy