Class AssetShare

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.AssetShare
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, AssetShareOrBuilder

public final class AssetShare extends com.google.protobuf.GeneratedMessageV3 implements AssetShareOrBuilder
Акция.
 
Protobuf type tinkoff.public.invest.api.contract.v1.AssetShare
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • ISSUE_SIZE_FIELD_NUMBER

      public static final int ISSUE_SIZE_FIELD_NUMBER
      See Also:
    • NOMINAL_FIELD_NUMBER

      public static final int NOMINAL_FIELD_NUMBER
      See Also:
    • NOMINAL_CURRENCY_FIELD_NUMBER

      public static final int NOMINAL_CURRENCY_FIELD_NUMBER
      See Also:
    • PRIMARY_INDEX_FIELD_NUMBER

      public static final int PRIMARY_INDEX_FIELD_NUMBER
      See Also:
    • DIVIDEND_RATE_FIELD_NUMBER

      public static final int DIVIDEND_RATE_FIELD_NUMBER
      See Also:
    • PREFERRED_SHARE_TYPE_FIELD_NUMBER

      public static final int PREFERRED_SHARE_TYPE_FIELD_NUMBER
      See Also:
    • IPO_DATE_FIELD_NUMBER

      public static final int IPO_DATE_FIELD_NUMBER
      See Also:
    • REGISTRY_DATE_FIELD_NUMBER

      public static final int REGISTRY_DATE_FIELD_NUMBER
      See Also:
    • DIV_YIELD_FLAG_FIELD_NUMBER

      public static final int DIV_YIELD_FLAG_FIELD_NUMBER
      See Also:
    • ISSUE_KIND_FIELD_NUMBER

      public static final int ISSUE_KIND_FIELD_NUMBER
      See Also:
    • PLACEMENT_DATE_FIELD_NUMBER

      public static final int PLACEMENT_DATE_FIELD_NUMBER
      See Also:
    • REPRES_ISIN_FIELD_NUMBER

      public static final int REPRES_ISIN_FIELD_NUMBER
      See Also:
    • ISSUE_SIZE_PLAN_FIELD_NUMBER

      public static final int ISSUE_SIZE_PLAN_FIELD_NUMBER
      See Also:
    • TOTAL_FLOAT_FIELD_NUMBER

      public static final int TOTAL_FLOAT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getTypeValue

      public int getTypeValue()
      Тип акции.
       
      .tinkoff.public.invest.api.contract.v1.ShareType type = 1;
      Specified by:
      getTypeValue in interface AssetShareOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public ShareType getType()
      Тип акции.
       
      .tinkoff.public.invest.api.contract.v1.ShareType type = 1;
      Specified by:
      getType in interface AssetShareOrBuilder
      Returns:
      The type.
    • hasIssueSize

      public boolean hasIssueSize()
      Объем выпуска (шт.).
       
      .tinkoff.public.invest.api.contract.v1.Quotation issue_size = 2;
      Specified by:
      hasIssueSize in interface AssetShareOrBuilder
      Returns:
      Whether the issueSize field is set.
    • getIssueSize

      public Quotation getIssueSize()
      Объем выпуска (шт.).
       
      .tinkoff.public.invest.api.contract.v1.Quotation issue_size = 2;
      Specified by:
      getIssueSize in interface AssetShareOrBuilder
      Returns:
      The issueSize.
    • getIssueSizeOrBuilder

      public QuotationOrBuilder getIssueSizeOrBuilder()
      Объем выпуска (шт.).
       
      .tinkoff.public.invest.api.contract.v1.Quotation issue_size = 2;
      Specified by:
      getIssueSizeOrBuilder in interface AssetShareOrBuilder
    • hasNominal

      public boolean hasNominal()
      Номинал.
       
      .tinkoff.public.invest.api.contract.v1.Quotation nominal = 3;
      Specified by:
      hasNominal in interface AssetShareOrBuilder
      Returns:
      Whether the nominal field is set.
    • getNominal

      public Quotation getNominal()
      Номинал.
       
      .tinkoff.public.invest.api.contract.v1.Quotation nominal = 3;
      Specified by:
      getNominal in interface AssetShareOrBuilder
      Returns:
      The nominal.
    • getNominalOrBuilder

      public QuotationOrBuilder getNominalOrBuilder()
      Номинал.
       
      .tinkoff.public.invest.api.contract.v1.Quotation nominal = 3;
      Specified by:
      getNominalOrBuilder in interface AssetShareOrBuilder
    • getNominalCurrency

      public String getNominalCurrency()
      Валюта номинала.
       
      string nominal_currency = 4;
      Specified by:
      getNominalCurrency in interface AssetShareOrBuilder
      Returns:
      The nominalCurrency.
    • getNominalCurrencyBytes

      public com.google.protobuf.ByteString getNominalCurrencyBytes()
      Валюта номинала.
       
      string nominal_currency = 4;
      Specified by:
      getNominalCurrencyBytes in interface AssetShareOrBuilder
      Returns:
      The bytes for nominalCurrency.
    • getPrimaryIndex

      public String getPrimaryIndex()
      Индекс (Bloomberg).
       
      string primary_index = 5;
      Specified by:
      getPrimaryIndex in interface AssetShareOrBuilder
      Returns:
      The primaryIndex.
    • getPrimaryIndexBytes

      public com.google.protobuf.ByteString getPrimaryIndexBytes()
      Индекс (Bloomberg).
       
      string primary_index = 5;
      Specified by:
      getPrimaryIndexBytes in interface AssetShareOrBuilder
      Returns:
      The bytes for primaryIndex.
    • hasDividendRate

      public boolean hasDividendRate()
      Ставка дивиденда (для привилегированных акций).
       
      .tinkoff.public.invest.api.contract.v1.Quotation dividend_rate = 6;
      Specified by:
      hasDividendRate in interface AssetShareOrBuilder
      Returns:
      Whether the dividendRate field is set.
    • getDividendRate

      public Quotation getDividendRate()
      Ставка дивиденда (для привилегированных акций).
       
      .tinkoff.public.invest.api.contract.v1.Quotation dividend_rate = 6;
      Specified by:
      getDividendRate in interface AssetShareOrBuilder
      Returns:
      The dividendRate.
    • getDividendRateOrBuilder

      public QuotationOrBuilder getDividendRateOrBuilder()
      Ставка дивиденда (для привилегированных акций).
       
      .tinkoff.public.invest.api.contract.v1.Quotation dividend_rate = 6;
      Specified by:
      getDividendRateOrBuilder in interface AssetShareOrBuilder
    • getPreferredShareType

      public String getPreferredShareType()
      Тип привилегированных акций.
       
      string preferred_share_type = 7;
      Specified by:
      getPreferredShareType in interface AssetShareOrBuilder
      Returns:
      The preferredShareType.
    • getPreferredShareTypeBytes

      public com.google.protobuf.ByteString getPreferredShareTypeBytes()
      Тип привилегированных акций.
       
      string preferred_share_type = 7;
      Specified by:
      getPreferredShareTypeBytes in interface AssetShareOrBuilder
      Returns:
      The bytes for preferredShareType.
    • hasIpoDate

      public boolean hasIpoDate()
      Дата IPO.
       
      .google.protobuf.Timestamp ipo_date = 8;
      Specified by:
      hasIpoDate in interface AssetShareOrBuilder
      Returns:
      Whether the ipoDate field is set.
    • getIpoDate

      public com.google.protobuf.Timestamp getIpoDate()
      Дата IPO.
       
      .google.protobuf.Timestamp ipo_date = 8;
      Specified by:
      getIpoDate in interface AssetShareOrBuilder
      Returns:
      The ipoDate.
    • getIpoDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getIpoDateOrBuilder()
      Дата IPO.
       
      .google.protobuf.Timestamp ipo_date = 8;
      Specified by:
      getIpoDateOrBuilder in interface AssetShareOrBuilder
    • hasRegistryDate

      public boolean hasRegistryDate()
      Дата регистрации.
       
      .google.protobuf.Timestamp registry_date = 9;
      Specified by:
      hasRegistryDate in interface AssetShareOrBuilder
      Returns:
      Whether the registryDate field is set.
    • getRegistryDate

      public com.google.protobuf.Timestamp getRegistryDate()
      Дата регистрации.
       
      .google.protobuf.Timestamp registry_date = 9;
      Specified by:
      getRegistryDate in interface AssetShareOrBuilder
      Returns:
      The registryDate.
    • getRegistryDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRegistryDateOrBuilder()
      Дата регистрации.
       
      .google.protobuf.Timestamp registry_date = 9;
      Specified by:
      getRegistryDateOrBuilder in interface AssetShareOrBuilder
    • getDivYieldFlag

      public boolean getDivYieldFlag()
      Признак наличия дивидендной доходности.
       
      bool div_yield_flag = 10;
      Specified by:
      getDivYieldFlag in interface AssetShareOrBuilder
      Returns:
      The divYieldFlag.
    • getIssueKind

      public String getIssueKind()
      Форма выпуска ФИ.
       
      string issue_kind = 11;
      Specified by:
      getIssueKind in interface AssetShareOrBuilder
      Returns:
      The issueKind.
    • getIssueKindBytes

      public com.google.protobuf.ByteString getIssueKindBytes()
      Форма выпуска ФИ.
       
      string issue_kind = 11;
      Specified by:
      getIssueKindBytes in interface AssetShareOrBuilder
      Returns:
      The bytes for issueKind.
    • hasPlacementDate

      public boolean hasPlacementDate()
      Дата размещения акции.
       
      .google.protobuf.Timestamp placement_date = 12;
      Specified by:
      hasPlacementDate in interface AssetShareOrBuilder
      Returns:
      Whether the placementDate field is set.
    • getPlacementDate

      public com.google.protobuf.Timestamp getPlacementDate()
      Дата размещения акции.
       
      .google.protobuf.Timestamp placement_date = 12;
      Specified by:
      getPlacementDate in interface AssetShareOrBuilder
      Returns:
      The placementDate.
    • getPlacementDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getPlacementDateOrBuilder()
      Дата размещения акции.
       
      .google.protobuf.Timestamp placement_date = 12;
      Specified by:
      getPlacementDateOrBuilder in interface AssetShareOrBuilder
    • getRepresIsin

      public String getRepresIsin()
      ISIN базового актива.
       
      string repres_isin = 13;
      Specified by:
      getRepresIsin in interface AssetShareOrBuilder
      Returns:
      The represIsin.
    • getRepresIsinBytes

      public com.google.protobuf.ByteString getRepresIsinBytes()
      ISIN базового актива.
       
      string repres_isin = 13;
      Specified by:
      getRepresIsinBytes in interface AssetShareOrBuilder
      Returns:
      The bytes for represIsin.
    • hasIssueSizePlan

      public boolean hasIssueSizePlan()
      Объявленное количество шт.
       
      .tinkoff.public.invest.api.contract.v1.Quotation issue_size_plan = 14;
      Specified by:
      hasIssueSizePlan in interface AssetShareOrBuilder
      Returns:
      Whether the issueSizePlan field is set.
    • getIssueSizePlan

      public Quotation getIssueSizePlan()
      Объявленное количество шт.
       
      .tinkoff.public.invest.api.contract.v1.Quotation issue_size_plan = 14;
      Specified by:
      getIssueSizePlan in interface AssetShareOrBuilder
      Returns:
      The issueSizePlan.
    • getIssueSizePlanOrBuilder

      public QuotationOrBuilder getIssueSizePlanOrBuilder()
      Объявленное количество шт.
       
      .tinkoff.public.invest.api.contract.v1.Quotation issue_size_plan = 14;
      Specified by:
      getIssueSizePlanOrBuilder in interface AssetShareOrBuilder
    • hasTotalFloat

      public boolean hasTotalFloat()
      Количество акций в свободном обращении.
       
      .tinkoff.public.invest.api.contract.v1.Quotation total_float = 15;
      Specified by:
      hasTotalFloat in interface AssetShareOrBuilder
      Returns:
      Whether the totalFloat field is set.
    • getTotalFloat

      public Quotation getTotalFloat()
      Количество акций в свободном обращении.
       
      .tinkoff.public.invest.api.contract.v1.Quotation total_float = 15;
      Specified by:
      getTotalFloat in interface AssetShareOrBuilder
      Returns:
      The totalFloat.
    • getTotalFloatOrBuilder

      public QuotationOrBuilder getTotalFloatOrBuilder()
      Количество акций в свободном обращении.
       
      .tinkoff.public.invest.api.contract.v1.Quotation total_float = 15;
      Specified by:
      getTotalFloatOrBuilder in interface AssetShareOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AssetShare parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AssetShare parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AssetShare parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AssetShare parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AssetShare parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AssetShare parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AssetShare parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AssetShare parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AssetShare parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AssetShare parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AssetShare parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AssetShare parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AssetShare.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AssetShare.Builder newBuilder()
    • newBuilder

      public static AssetShare.Builder newBuilder(AssetShare prototype)
    • toBuilder

      public AssetShare.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AssetShare.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AssetShare getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AssetShare> parser()
    • getParserForType

      public com.google.protobuf.Parser<AssetShare> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public AssetShare getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder