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

ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport} */ public final class DividendsForeignIssuerReport extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport) DividendsForeignIssuerReportOrBuilder { private static final long serialVersionUID = 0L; // Use DividendsForeignIssuerReport.newBuilder() to construct. private DividendsForeignIssuerReport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DividendsForeignIssuerReport() { securityName_ = ""; isin_ = ""; issuerCountry_ = ""; currency_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DividendsForeignIssuerReport(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_DividendsForeignIssuerReport_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_DividendsForeignIssuerReport_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.class, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder.class); } public static final int RECORD_DATE_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp recordDate_; /** *
   *Дата фиксации реестра.
   * 
* * .google.protobuf.Timestamp record_date = 1; * @return Whether the recordDate field is set. */ @java.lang.Override public boolean hasRecordDate() { return recordDate_ != null; } /** *
   *Дата фиксации реестра.
   * 
* * .google.protobuf.Timestamp record_date = 1; * @return The recordDate. */ @java.lang.Override public com.google.protobuf.Timestamp getRecordDate() { return recordDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : recordDate_; } /** *
   *Дата фиксации реестра.
   * 
* * .google.protobuf.Timestamp record_date = 1; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRecordDateOrBuilder() { return recordDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : recordDate_; } public static final int PAYMENT_DATE_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp paymentDate_; /** *
   *Дата выплаты.
   * 
* * .google.protobuf.Timestamp payment_date = 2; * @return Whether the paymentDate field is set. */ @java.lang.Override public boolean hasPaymentDate() { return paymentDate_ != null; } /** *
   *Дата выплаты.
   * 
* * .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_; } /** *
   *Дата выплаты.
   * 
* * .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 SECURITY_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object securityName_ = ""; /** *
   *Наименование ценной бумаги.
   * 
* * string security_name = 3; * @return The securityName. */ @java.lang.Override public java.lang.String getSecurityName() { java.lang.Object ref = securityName_; 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(); securityName_ = s; return s; } } /** *
   *Наименование ценной бумаги.
   * 
* * string security_name = 3; * @return The bytes for securityName. */ @java.lang.Override public com.google.protobuf.ByteString getSecurityNameBytes() { java.lang.Object ref = securityName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ISIN_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object isin_ = ""; /** *
   *ISIN-идентификатор ценной бумаги.
   * 
* * string isin = 4; * @return The isin. */ @java.lang.Override public java.lang.String getIsin() { java.lang.Object ref = isin_; 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(); isin_ = s; return s; } } /** *
   *ISIN-идентификатор ценной бумаги.
   * 
* * string isin = 4; * @return The bytes for isin. */ @java.lang.Override public com.google.protobuf.ByteString getIsinBytes() { java.lang.Object ref = isin_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); isin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ISSUER_COUNTRY_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object issuerCountry_ = ""; /** *
   *Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива.
   * 
* * string issuer_country = 5; * @return The issuerCountry. */ @java.lang.Override public java.lang.String getIssuerCountry() { java.lang.Object ref = issuerCountry_; 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(); issuerCountry_ = s; return s; } } /** *
   *Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива.
   * 
* * string issuer_country = 5; * @return The bytes for issuerCountry. */ @java.lang.Override public com.google.protobuf.ByteString getIssuerCountryBytes() { java.lang.Object ref = issuerCountry_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); issuerCountry_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUANTITY_FIELD_NUMBER = 6; private long quantity_ = 0L; /** *
   *Количество ценных бумаг.
   * 
* * int64 quantity = 6; * @return The quantity. */ @java.lang.Override public long getQuantity() { return quantity_; } public static final int DIVIDEND_FIELD_NUMBER = 7; private ru.tinkoff.piapi.contract.v1.Quotation dividend_; /** *
   *Выплаты на одну бумагу
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; * @return Whether the dividend field is set. */ @java.lang.Override public boolean hasDividend() { return dividend_ != null; } /** *
   *Выплаты на одну бумагу
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; * @return The dividend. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.Quotation getDividend() { return dividend_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividend_; } /** *
   *Выплаты на одну бумагу
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getDividendOrBuilder() { return dividend_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividend_; } public static final int EXTERNAL_COMMISSION_FIELD_NUMBER = 8; private ru.tinkoff.piapi.contract.v1.Quotation externalCommission_; /** *
   *Комиссия внешних платёжных агентов.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; * @return Whether the externalCommission field is set. */ @java.lang.Override public boolean hasExternalCommission() { return externalCommission_ != null; } /** *
   *Комиссия внешних платёжных агентов.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; * @return The externalCommission. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.Quotation getExternalCommission() { return externalCommission_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : externalCommission_; } /** *
   *Комиссия внешних платёжных агентов.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getExternalCommissionOrBuilder() { return externalCommission_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : externalCommission_; } public static final int DIVIDEND_GROSS_FIELD_NUMBER = 9; private ru.tinkoff.piapi.contract.v1.Quotation dividendGross_; /** *
   *Сумма до удержания налога.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; * @return Whether the dividendGross field is set. */ @java.lang.Override public boolean hasDividendGross() { return dividendGross_ != null; } /** *
   *Сумма до удержания налога.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; * @return The dividendGross. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.Quotation getDividendGross() { return dividendGross_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividendGross_; } /** *
   *Сумма до удержания налога.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getDividendGrossOrBuilder() { return dividendGross_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividendGross_; } public static final int TAX_FIELD_NUMBER = 10; private ru.tinkoff.piapi.contract.v1.Quotation tax_; /** *
   *Сумма налога, удержанного агентом.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; * @return Whether the tax field is set. */ @java.lang.Override public boolean hasTax() { return tax_ != null; } /** *
   *Сумма налога, удержанного агентом.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; * @return The tax. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.Quotation getTax() { return tax_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : tax_; } /** *
   *Сумма налога, удержанного агентом.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getTaxOrBuilder() { return tax_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : tax_; } public static final int DIVIDEND_AMOUNT_FIELD_NUMBER = 11; private ru.tinkoff.piapi.contract.v1.Quotation dividendAmount_; /** *
   *Итоговая сумма выплаты.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; * @return Whether the dividendAmount field is set. */ @java.lang.Override public boolean hasDividendAmount() { return dividendAmount_ != null; } /** *
   *Итоговая сумма выплаты.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; * @return The dividendAmount. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.Quotation getDividendAmount() { return dividendAmount_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividendAmount_; } /** *
   *Итоговая сумма выплаты.
   * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getDividendAmountOrBuilder() { return dividendAmount_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividendAmount_; } public static final int CURRENCY_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object currency_ = ""; /** *
   *Валюта.
   * 
* * string currency = 12; * @return The currency. */ @java.lang.Override public java.lang.String getCurrency() { java.lang.Object ref = currency_; 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(); currency_ = s; return s; } } /** *
   *Валюта.
   * 
* * string currency = 12; * @return The bytes for currency. */ @java.lang.Override public com.google.protobuf.ByteString getCurrencyBytes() { java.lang.Object ref = currency_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currency_ = 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 (recordDate_ != null) { output.writeMessage(1, getRecordDate()); } if (paymentDate_ != null) { output.writeMessage(2, getPaymentDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, securityName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isin_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, isin_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuerCountry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, issuerCountry_); } if (quantity_ != 0L) { output.writeInt64(6, quantity_); } if (dividend_ != null) { output.writeMessage(7, getDividend()); } if (externalCommission_ != null) { output.writeMessage(8, getExternalCommission()); } if (dividendGross_ != null) { output.writeMessage(9, getDividendGross()); } if (tax_ != null) { output.writeMessage(10, getTax()); } if (dividendAmount_ != null) { output.writeMessage(11, getDividendAmount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currency_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, currency_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (recordDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRecordDate()); } if (paymentDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPaymentDate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, securityName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isin_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, isin_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuerCountry_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, issuerCountry_); } if (quantity_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, quantity_); } if (dividend_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getDividend()); } if (externalCommission_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getExternalCommission()); } if (dividendGross_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getDividendGross()); } if (tax_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getTax()); } if (dividendAmount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getDividendAmount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currency_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, currency_); } 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.DividendsForeignIssuerReport)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport other = (ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport) obj; if (hasRecordDate() != other.hasRecordDate()) return false; if (hasRecordDate()) { if (!getRecordDate() .equals(other.getRecordDate())) return false; } if (hasPaymentDate() != other.hasPaymentDate()) return false; if (hasPaymentDate()) { if (!getPaymentDate() .equals(other.getPaymentDate())) return false; } if (!getSecurityName() .equals(other.getSecurityName())) return false; if (!getIsin() .equals(other.getIsin())) return false; if (!getIssuerCountry() .equals(other.getIssuerCountry())) return false; if (getQuantity() != other.getQuantity()) return false; if (hasDividend() != other.hasDividend()) return false; if (hasDividend()) { if (!getDividend() .equals(other.getDividend())) return false; } if (hasExternalCommission() != other.hasExternalCommission()) return false; if (hasExternalCommission()) { if (!getExternalCommission() .equals(other.getExternalCommission())) return false; } if (hasDividendGross() != other.hasDividendGross()) return false; if (hasDividendGross()) { if (!getDividendGross() .equals(other.getDividendGross())) return false; } if (hasTax() != other.hasTax()) return false; if (hasTax()) { if (!getTax() .equals(other.getTax())) return false; } if (hasDividendAmount() != other.hasDividendAmount()) return false; if (hasDividendAmount()) { if (!getDividendAmount() .equals(other.getDividendAmount())) return false; } if (!getCurrency() .equals(other.getCurrency())) 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 (hasRecordDate()) { hash = (37 * hash) + RECORD_DATE_FIELD_NUMBER; hash = (53 * hash) + getRecordDate().hashCode(); } if (hasPaymentDate()) { hash = (37 * hash) + PAYMENT_DATE_FIELD_NUMBER; hash = (53 * hash) + getPaymentDate().hashCode(); } hash = (37 * hash) + SECURITY_NAME_FIELD_NUMBER; hash = (53 * hash) + getSecurityName().hashCode(); hash = (37 * hash) + ISIN_FIELD_NUMBER; hash = (53 * hash) + getIsin().hashCode(); hash = (37 * hash) + ISSUER_COUNTRY_FIELD_NUMBER; hash = (53 * hash) + getIssuerCountry().hashCode(); hash = (37 * hash) + QUANTITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getQuantity()); if (hasDividend()) { hash = (37 * hash) + DIVIDEND_FIELD_NUMBER; hash = (53 * hash) + getDividend().hashCode(); } if (hasExternalCommission()) { hash = (37 * hash) + EXTERNAL_COMMISSION_FIELD_NUMBER; hash = (53 * hash) + getExternalCommission().hashCode(); } if (hasDividendGross()) { hash = (37 * hash) + DIVIDEND_GROSS_FIELD_NUMBER; hash = (53 * hash) + getDividendGross().hashCode(); } if (hasTax()) { hash = (37 * hash) + TAX_FIELD_NUMBER; hash = (53 * hash) + getTax().hashCode(); } if (hasDividendAmount()) { hash = (37 * hash) + DIVIDEND_AMOUNT_FIELD_NUMBER; hash = (53 * hash) + getDividendAmount().hashCode(); } hash = (37 * hash) + CURRENCY_FIELD_NUMBER; hash = (53 * hash) + getCurrency().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport 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.DividendsForeignIssuerReport} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport) ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReportOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_DividendsForeignIssuerReport_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_DividendsForeignIssuerReport_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.class, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; recordDate_ = null; if (recordDateBuilder_ != null) { recordDateBuilder_.dispose(); recordDateBuilder_ = null; } paymentDate_ = null; if (paymentDateBuilder_ != null) { paymentDateBuilder_.dispose(); paymentDateBuilder_ = null; } securityName_ = ""; isin_ = ""; issuerCountry_ = ""; quantity_ = 0L; dividend_ = null; if (dividendBuilder_ != null) { dividendBuilder_.dispose(); dividendBuilder_ = null; } externalCommission_ = null; if (externalCommissionBuilder_ != null) { externalCommissionBuilder_.dispose(); externalCommissionBuilder_ = null; } dividendGross_ = null; if (dividendGrossBuilder_ != null) { dividendGrossBuilder_.dispose(); dividendGrossBuilder_ = null; } tax_ = null; if (taxBuilder_ != null) { taxBuilder_.dispose(); taxBuilder_ = null; } dividendAmount_ = null; if (dividendAmountBuilder_ != null) { dividendAmountBuilder_.dispose(); dividendAmountBuilder_ = null; } currency_ = ""; 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_DividendsForeignIssuerReport_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport build() { ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport buildPartial() { ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport result = new ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.recordDate_ = recordDateBuilder_ == null ? recordDate_ : recordDateBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.paymentDate_ = paymentDateBuilder_ == null ? paymentDate_ : paymentDateBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.securityName_ = securityName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.isin_ = isin_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.issuerCountry_ = issuerCountry_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.quantity_ = quantity_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.dividend_ = dividendBuilder_ == null ? dividend_ : dividendBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.externalCommission_ = externalCommissionBuilder_ == null ? externalCommission_ : externalCommissionBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { result.dividendGross_ = dividendGrossBuilder_ == null ? dividendGross_ : dividendGrossBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.tax_ = taxBuilder_ == null ? tax_ : taxBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.dividendAmount_ = dividendAmountBuilder_ == null ? dividendAmount_ : dividendAmountBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { result.currency_ = currency_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport) { return mergeFrom((ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport other) { if (other == ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.getDefaultInstance()) return this; if (other.hasRecordDate()) { mergeRecordDate(other.getRecordDate()); } if (other.hasPaymentDate()) { mergePaymentDate(other.getPaymentDate()); } if (!other.getSecurityName().isEmpty()) { securityName_ = other.securityName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getIsin().isEmpty()) { isin_ = other.isin_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getIssuerCountry().isEmpty()) { issuerCountry_ = other.issuerCountry_; bitField0_ |= 0x00000010; onChanged(); } if (other.getQuantity() != 0L) { setQuantity(other.getQuantity()); } if (other.hasDividend()) { mergeDividend(other.getDividend()); } if (other.hasExternalCommission()) { mergeExternalCommission(other.getExternalCommission()); } if (other.hasDividendGross()) { mergeDividendGross(other.getDividendGross()); } if (other.hasTax()) { mergeTax(other.getTax()); } if (other.hasDividendAmount()) { mergeDividendAmount(other.getDividendAmount()); } if (!other.getCurrency().isEmpty()) { currency_ = other.currency_; bitField0_ |= 0x00000800; 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: { input.readMessage( getRecordDateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getPaymentDateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { securityName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { isin_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { issuerCountry_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 48: { quantity_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { input.readMessage( getDividendFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getExternalCommissionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 74: { input.readMessage( getDividendGrossFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 case 82: { input.readMessage( getTaxFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 82 case 90: { input.readMessage( getDividendAmountFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 90 case 98: { currency_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000800; break; } // case 98 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 com.google.protobuf.Timestamp recordDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> recordDateBuilder_; /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; * @return Whether the recordDate field is set. */ public boolean hasRecordDate() { return ((bitField0_ & 0x00000001) != 0); } /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; * @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(); } } /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; */ public Builder setRecordDate(com.google.protobuf.Timestamp value) { if (recordDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } recordDate_ = value; } else { recordDateBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; */ public Builder setRecordDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (recordDateBuilder_ == null) { recordDate_ = builderForValue.build(); } else { recordDateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; */ public Builder mergeRecordDate(com.google.protobuf.Timestamp value) { if (recordDateBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && recordDate_ != null && recordDate_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRecordDateBuilder().mergeFrom(value); } else { recordDate_ = value; } } else { recordDateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; */ public Builder clearRecordDate() { bitField0_ = (bitField0_ & ~0x00000001); recordDate_ = null; if (recordDateBuilder_ != null) { recordDateBuilder_.dispose(); recordDateBuilder_ = null; } onChanged(); return this; } /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; */ public com.google.protobuf.Timestamp.Builder getRecordDateBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRecordDateFieldBuilder().getBuilder(); } /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; */ public com.google.protobuf.TimestampOrBuilder getRecordDateOrBuilder() { if (recordDateBuilder_ != null) { return recordDateBuilder_.getMessageOrBuilder(); } else { return recordDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : recordDate_; } } /** *
     *Дата фиксации реестра.
     * 
* * .google.protobuf.Timestamp record_date = 1; */ 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 com.google.protobuf.Timestamp paymentDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> paymentDateBuilder_; /** *
     *Дата выплаты.
     * 
* * .google.protobuf.Timestamp payment_date = 2; * @return Whether the paymentDate field is set. */ public boolean hasPaymentDate() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *Дата выплаты.
     * 
* * .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(); } } /** *
     *Дата выплаты.
     * 
* * .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; } /** *
     *Дата выплаты.
     * 
* * .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; } /** *
     *Дата выплаты.
     * 
* * .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; } /** *
     *Дата выплаты.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ public Builder clearPaymentDate() { bitField0_ = (bitField0_ & ~0x00000002); paymentDate_ = null; if (paymentDateBuilder_ != null) { paymentDateBuilder_.dispose(); paymentDateBuilder_ = null; } onChanged(); return this; } /** *
     *Дата выплаты.
     * 
* * .google.protobuf.Timestamp payment_date = 2; */ public com.google.protobuf.Timestamp.Builder getPaymentDateBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPaymentDateFieldBuilder().getBuilder(); } /** *
     *Дата выплаты.
     * 
* * .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_; } } /** *
     *Дата выплаты.
     * 
* * .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 java.lang.Object securityName_ = ""; /** *
     *Наименование ценной бумаги.
     * 
* * string security_name = 3; * @return The securityName. */ public java.lang.String getSecurityName() { java.lang.Object ref = securityName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Наименование ценной бумаги.
     * 
* * string security_name = 3; * @return The bytes for securityName. */ public com.google.protobuf.ByteString getSecurityNameBytes() { java.lang.Object ref = securityName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Наименование ценной бумаги.
     * 
* * string security_name = 3; * @param value The securityName to set. * @return This builder for chaining. */ public Builder setSecurityName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } securityName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     *Наименование ценной бумаги.
     * 
* * string security_name = 3; * @return This builder for chaining. */ public Builder clearSecurityName() { securityName_ = getDefaultInstance().getSecurityName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     *Наименование ценной бумаги.
     * 
* * string security_name = 3; * @param value The bytes for securityName to set. * @return This builder for chaining. */ public Builder setSecurityNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); securityName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object isin_ = ""; /** *
     *ISIN-идентификатор ценной бумаги.
     * 
* * string isin = 4; * @return The isin. */ public java.lang.String getIsin() { java.lang.Object ref = isin_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); isin_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *ISIN-идентификатор ценной бумаги.
     * 
* * string isin = 4; * @return The bytes for isin. */ public com.google.protobuf.ByteString getIsinBytes() { java.lang.Object ref = isin_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); isin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *ISIN-идентификатор ценной бумаги.
     * 
* * string isin = 4; * @param value The isin to set. * @return This builder for chaining. */ public Builder setIsin( java.lang.String value) { if (value == null) { throw new NullPointerException(); } isin_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     *ISIN-идентификатор ценной бумаги.
     * 
* * string isin = 4; * @return This builder for chaining. */ public Builder clearIsin() { isin_ = getDefaultInstance().getIsin(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     *ISIN-идентификатор ценной бумаги.
     * 
* * string isin = 4; * @param value The bytes for isin to set. * @return This builder for chaining. */ public Builder setIsinBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); isin_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object issuerCountry_ = ""; /** *
     *Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива.
     * 
* * string issuer_country = 5; * @return The issuerCountry. */ public java.lang.String getIssuerCountry() { java.lang.Object ref = issuerCountry_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerCountry_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива.
     * 
* * string issuer_country = 5; * @return The bytes for issuerCountry. */ public com.google.protobuf.ByteString getIssuerCountryBytes() { java.lang.Object ref = issuerCountry_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); issuerCountry_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива.
     * 
* * string issuer_country = 5; * @param value The issuerCountry to set. * @return This builder for chaining. */ public Builder setIssuerCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } issuerCountry_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     *Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива.
     * 
* * string issuer_country = 5; * @return This builder for chaining. */ public Builder clearIssuerCountry() { issuerCountry_ = getDefaultInstance().getIssuerCountry(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     *Страна эмитента. Для депозитарных расписок указывается страна эмитента базового актива.
     * 
* * string issuer_country = 5; * @param value The bytes for issuerCountry to set. * @return This builder for chaining. */ public Builder setIssuerCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issuerCountry_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private long quantity_ ; /** *
     *Количество ценных бумаг.
     * 
* * int64 quantity = 6; * @return The quantity. */ @java.lang.Override public long getQuantity() { return quantity_; } /** *
     *Количество ценных бумаг.
     * 
* * int64 quantity = 6; * @param value The quantity to set. * @return This builder for chaining. */ public Builder setQuantity(long value) { quantity_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     *Количество ценных бумаг.
     * 
* * int64 quantity = 6; * @return This builder for chaining. */ public Builder clearQuantity() { bitField0_ = (bitField0_ & ~0x00000020); quantity_ = 0L; onChanged(); return this; } private ru.tinkoff.piapi.contract.v1.Quotation dividend_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> dividendBuilder_; /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; * @return Whether the dividend field is set. */ public boolean hasDividend() { return ((bitField0_ & 0x00000040) != 0); } /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; * @return The dividend. */ public ru.tinkoff.piapi.contract.v1.Quotation getDividend() { if (dividendBuilder_ == null) { return dividend_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividend_; } else { return dividendBuilder_.getMessage(); } } /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; */ public Builder setDividend(ru.tinkoff.piapi.contract.v1.Quotation value) { if (dividendBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dividend_ = value; } else { dividendBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; */ public Builder setDividend( ru.tinkoff.piapi.contract.v1.Quotation.Builder builderForValue) { if (dividendBuilder_ == null) { dividend_ = builderForValue.build(); } else { dividendBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; */ public Builder mergeDividend(ru.tinkoff.piapi.contract.v1.Quotation value) { if (dividendBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && dividend_ != null && dividend_ != ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance()) { getDividendBuilder().mergeFrom(value); } else { dividend_ = value; } } else { dividendBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; */ public Builder clearDividend() { bitField0_ = (bitField0_ & ~0x00000040); dividend_ = null; if (dividendBuilder_ != null) { dividendBuilder_.dispose(); dividendBuilder_ = null; } onChanged(); return this; } /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; */ public ru.tinkoff.piapi.contract.v1.Quotation.Builder getDividendBuilder() { bitField0_ |= 0x00000040; onChanged(); return getDividendFieldBuilder().getBuilder(); } /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; */ public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getDividendOrBuilder() { if (dividendBuilder_ != null) { return dividendBuilder_.getMessageOrBuilder(); } else { return dividend_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividend_; } } /** *
     *Выплаты на одну бумагу
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend = 7; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> getDividendFieldBuilder() { if (dividendBuilder_ == null) { dividendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder>( getDividend(), getParentForChildren(), isClean()); dividend_ = null; } return dividendBuilder_; } private ru.tinkoff.piapi.contract.v1.Quotation externalCommission_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> externalCommissionBuilder_; /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; * @return Whether the externalCommission field is set. */ public boolean hasExternalCommission() { return ((bitField0_ & 0x00000080) != 0); } /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; * @return The externalCommission. */ public ru.tinkoff.piapi.contract.v1.Quotation getExternalCommission() { if (externalCommissionBuilder_ == null) { return externalCommission_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : externalCommission_; } else { return externalCommissionBuilder_.getMessage(); } } /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; */ public Builder setExternalCommission(ru.tinkoff.piapi.contract.v1.Quotation value) { if (externalCommissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } externalCommission_ = value; } else { externalCommissionBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; */ public Builder setExternalCommission( ru.tinkoff.piapi.contract.v1.Quotation.Builder builderForValue) { if (externalCommissionBuilder_ == null) { externalCommission_ = builderForValue.build(); } else { externalCommissionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; */ public Builder mergeExternalCommission(ru.tinkoff.piapi.contract.v1.Quotation value) { if (externalCommissionBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && externalCommission_ != null && externalCommission_ != ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance()) { getExternalCommissionBuilder().mergeFrom(value); } else { externalCommission_ = value; } } else { externalCommissionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; */ public Builder clearExternalCommission() { bitField0_ = (bitField0_ & ~0x00000080); externalCommission_ = null; if (externalCommissionBuilder_ != null) { externalCommissionBuilder_.dispose(); externalCommissionBuilder_ = null; } onChanged(); return this; } /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; */ public ru.tinkoff.piapi.contract.v1.Quotation.Builder getExternalCommissionBuilder() { bitField0_ |= 0x00000080; onChanged(); return getExternalCommissionFieldBuilder().getBuilder(); } /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; */ public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getExternalCommissionOrBuilder() { if (externalCommissionBuilder_ != null) { return externalCommissionBuilder_.getMessageOrBuilder(); } else { return externalCommission_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : externalCommission_; } } /** *
     *Комиссия внешних платёжных агентов.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation external_commission = 8; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> getExternalCommissionFieldBuilder() { if (externalCommissionBuilder_ == null) { externalCommissionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder>( getExternalCommission(), getParentForChildren(), isClean()); externalCommission_ = null; } return externalCommissionBuilder_; } private ru.tinkoff.piapi.contract.v1.Quotation dividendGross_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> dividendGrossBuilder_; /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; * @return Whether the dividendGross field is set. */ public boolean hasDividendGross() { return ((bitField0_ & 0x00000100) != 0); } /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; * @return The dividendGross. */ public ru.tinkoff.piapi.contract.v1.Quotation getDividendGross() { if (dividendGrossBuilder_ == null) { return dividendGross_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividendGross_; } else { return dividendGrossBuilder_.getMessage(); } } /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; */ public Builder setDividendGross(ru.tinkoff.piapi.contract.v1.Quotation value) { if (dividendGrossBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dividendGross_ = value; } else { dividendGrossBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; */ public Builder setDividendGross( ru.tinkoff.piapi.contract.v1.Quotation.Builder builderForValue) { if (dividendGrossBuilder_ == null) { dividendGross_ = builderForValue.build(); } else { dividendGrossBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; */ public Builder mergeDividendGross(ru.tinkoff.piapi.contract.v1.Quotation value) { if (dividendGrossBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && dividendGross_ != null && dividendGross_ != ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance()) { getDividendGrossBuilder().mergeFrom(value); } else { dividendGross_ = value; } } else { dividendGrossBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; */ public Builder clearDividendGross() { bitField0_ = (bitField0_ & ~0x00000100); dividendGross_ = null; if (dividendGrossBuilder_ != null) { dividendGrossBuilder_.dispose(); dividendGrossBuilder_ = null; } onChanged(); return this; } /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; */ public ru.tinkoff.piapi.contract.v1.Quotation.Builder getDividendGrossBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDividendGrossFieldBuilder().getBuilder(); } /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 9; */ public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getDividendGrossOrBuilder() { if (dividendGrossBuilder_ != null) { return dividendGrossBuilder_.getMessageOrBuilder(); } else { return dividendGross_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividendGross_; } } /** *
     *Сумма до удержания налога.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_gross = 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> getDividendGrossFieldBuilder() { if (dividendGrossBuilder_ == null) { dividendGrossBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder>( getDividendGross(), getParentForChildren(), isClean()); dividendGross_ = null; } return dividendGrossBuilder_; } private ru.tinkoff.piapi.contract.v1.Quotation tax_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> taxBuilder_; /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; * @return Whether the tax field is set. */ public boolean hasTax() { return ((bitField0_ & 0x00000200) != 0); } /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; * @return The tax. */ public ru.tinkoff.piapi.contract.v1.Quotation getTax() { if (taxBuilder_ == null) { return tax_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : tax_; } else { return taxBuilder_.getMessage(); } } /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; */ public Builder setTax(ru.tinkoff.piapi.contract.v1.Quotation value) { if (taxBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tax_ = value; } else { taxBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; */ public Builder setTax( ru.tinkoff.piapi.contract.v1.Quotation.Builder builderForValue) { if (taxBuilder_ == null) { tax_ = builderForValue.build(); } else { taxBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; */ public Builder mergeTax(ru.tinkoff.piapi.contract.v1.Quotation value) { if (taxBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && tax_ != null && tax_ != ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance()) { getTaxBuilder().mergeFrom(value); } else { tax_ = value; } } else { taxBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; */ public Builder clearTax() { bitField0_ = (bitField0_ & ~0x00000200); tax_ = null; if (taxBuilder_ != null) { taxBuilder_.dispose(); taxBuilder_ = null; } onChanged(); return this; } /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; */ public ru.tinkoff.piapi.contract.v1.Quotation.Builder getTaxBuilder() { bitField0_ |= 0x00000200; onChanged(); return getTaxFieldBuilder().getBuilder(); } /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; */ public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getTaxOrBuilder() { if (taxBuilder_ != null) { return taxBuilder_.getMessageOrBuilder(); } else { return tax_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : tax_; } } /** *
     *Сумма налога, удержанного агентом.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation tax = 10; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> getTaxFieldBuilder() { if (taxBuilder_ == null) { taxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder>( getTax(), getParentForChildren(), isClean()); tax_ = null; } return taxBuilder_; } private ru.tinkoff.piapi.contract.v1.Quotation dividendAmount_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> dividendAmountBuilder_; /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; * @return Whether the dividendAmount field is set. */ public boolean hasDividendAmount() { return ((bitField0_ & 0x00000400) != 0); } /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; * @return The dividendAmount. */ public ru.tinkoff.piapi.contract.v1.Quotation getDividendAmount() { if (dividendAmountBuilder_ == null) { return dividendAmount_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividendAmount_; } else { return dividendAmountBuilder_.getMessage(); } } /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; */ public Builder setDividendAmount(ru.tinkoff.piapi.contract.v1.Quotation value) { if (dividendAmountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dividendAmount_ = value; } else { dividendAmountBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; */ public Builder setDividendAmount( ru.tinkoff.piapi.contract.v1.Quotation.Builder builderForValue) { if (dividendAmountBuilder_ == null) { dividendAmount_ = builderForValue.build(); } else { dividendAmountBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; */ public Builder mergeDividendAmount(ru.tinkoff.piapi.contract.v1.Quotation value) { if (dividendAmountBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && dividendAmount_ != null && dividendAmount_ != ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance()) { getDividendAmountBuilder().mergeFrom(value); } else { dividendAmount_ = value; } } else { dividendAmountBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; */ public Builder clearDividendAmount() { bitField0_ = (bitField0_ & ~0x00000400); dividendAmount_ = null; if (dividendAmountBuilder_ != null) { dividendAmountBuilder_.dispose(); dividendAmountBuilder_ = null; } onChanged(); return this; } /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; */ public ru.tinkoff.piapi.contract.v1.Quotation.Builder getDividendAmountBuilder() { bitField0_ |= 0x00000400; onChanged(); return getDividendAmountFieldBuilder().getBuilder(); } /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; */ public ru.tinkoff.piapi.contract.v1.QuotationOrBuilder getDividendAmountOrBuilder() { if (dividendAmountBuilder_ != null) { return dividendAmountBuilder_.getMessageOrBuilder(); } else { return dividendAmount_ == null ? ru.tinkoff.piapi.contract.v1.Quotation.getDefaultInstance() : dividendAmount_; } } /** *
     *Итоговая сумма выплаты.
     * 
* * .tinkoff.public.invest.api.contract.v1.Quotation dividend_amount = 11; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder> getDividendAmountFieldBuilder() { if (dividendAmountBuilder_ == null) { dividendAmountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.Quotation, ru.tinkoff.piapi.contract.v1.Quotation.Builder, ru.tinkoff.piapi.contract.v1.QuotationOrBuilder>( getDividendAmount(), getParentForChildren(), isClean()); dividendAmount_ = null; } return dividendAmountBuilder_; } private java.lang.Object currency_ = ""; /** *
     *Валюта.
     * 
* * string currency = 12; * @return The currency. */ public java.lang.String getCurrency() { java.lang.Object ref = currency_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currency_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *Валюта.
     * 
* * string currency = 12; * @return The bytes for currency. */ public com.google.protobuf.ByteString getCurrencyBytes() { java.lang.Object ref = currency_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currency_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *Валюта.
     * 
* * string currency = 12; * @param value The currency to set. * @return This builder for chaining. */ public Builder setCurrency( java.lang.String value) { if (value == null) { throw new NullPointerException(); } currency_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     *Валюта.
     * 
* * string currency = 12; * @return This builder for chaining. */ public Builder clearCurrency() { currency_ = getDefaultInstance().getCurrency(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** *
     *Валюта.
     * 
* * string currency = 12; * @param value The bytes for currency to set. * @return This builder for chaining. */ public Builder setCurrencyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); currency_ = value; bitField0_ |= 0x00000800; 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.DividendsForeignIssuerReport) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport) private static final ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport(); } public static ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DividendsForeignIssuerReport 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.DividendsForeignIssuerReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy