Class AssetFull

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

public final class AssetFull extends com.google.protobuf.GeneratedMessageV3 implements AssetFullOrBuilder
Protobuf type tinkoff.public.invest.api.contract.v1.AssetFull
See Also:
  • Field Details

  • 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
    • getExtCase

      public AssetFull.ExtCase getExtCase()
      Specified by:
      getExtCase in interface AssetFullOrBuilder
    • getUid

      public String getUid()
      Уникальный идентификатор актива.
       
      string uid = 1;
      Specified by:
      getUid in interface AssetFullOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
      Уникальный идентификатор актива.
       
      string uid = 1;
      Specified by:
      getUidBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for uid.
    • getTypeValue

      public int getTypeValue()
      Тип актива.
       
      .tinkoff.public.invest.api.contract.v1.AssetType type = 2;
      Specified by:
      getTypeValue in interface AssetFullOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public AssetType getType()
      Тип актива.
       
      .tinkoff.public.invest.api.contract.v1.AssetType type = 2;
      Specified by:
      getType in interface AssetFullOrBuilder
      Returns:
      The type.
    • getName

      public String getName()
      Наименование актива.
       
      string name = 3;
      Specified by:
      getName in interface AssetFullOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      Наименование актива.
       
      string name = 3;
      Specified by:
      getNameBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for name.
    • getNameBrief

      public String getNameBrief()
      Короткое наименование актива.
       
      string name_brief = 4;
      Specified by:
      getNameBrief in interface AssetFullOrBuilder
      Returns:
      The nameBrief.
    • getNameBriefBytes

      public com.google.protobuf.ByteString getNameBriefBytes()
      Короткое наименование актива.
       
      string name_brief = 4;
      Specified by:
      getNameBriefBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for nameBrief.
    • getDescription

      public String getDescription()
      Описание актива.
       
      string description = 5;
      Specified by:
      getDescription in interface AssetFullOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      Описание актива.
       
      string description = 5;
      Specified by:
      getDescriptionBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for description.
    • hasDeletedAt

      public boolean hasDeletedAt()
      Дата и время удаления актива.
       
      .google.protobuf.Timestamp deleted_at = 6;
      Specified by:
      hasDeletedAt in interface AssetFullOrBuilder
      Returns:
      Whether the deletedAt field is set.
    • getDeletedAt

      public com.google.protobuf.Timestamp getDeletedAt()
      Дата и время удаления актива.
       
      .google.protobuf.Timestamp deleted_at = 6;
      Specified by:
      getDeletedAt in interface AssetFullOrBuilder
      Returns:
      The deletedAt.
    • getDeletedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeletedAtOrBuilder()
      Дата и время удаления актива.
       
      .google.protobuf.Timestamp deleted_at = 6;
      Specified by:
      getDeletedAtOrBuilder in interface AssetFullOrBuilder
    • getRequiredTestsList

      public com.google.protobuf.ProtocolStringList getRequiredTestsList()
      Тестирование клиентов.
       
      repeated string required_tests = 7;
      Specified by:
      getRequiredTestsList in interface AssetFullOrBuilder
      Returns:
      A list containing the requiredTests.
    • getRequiredTestsCount

      public int getRequiredTestsCount()
      Тестирование клиентов.
       
      repeated string required_tests = 7;
      Specified by:
      getRequiredTestsCount in interface AssetFullOrBuilder
      Returns:
      The count of requiredTests.
    • getRequiredTests

      public String getRequiredTests(int index)
      Тестирование клиентов.
       
      repeated string required_tests = 7;
      Specified by:
      getRequiredTests in interface AssetFullOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The requiredTests at the given index.
    • getRequiredTestsBytes

      public com.google.protobuf.ByteString getRequiredTestsBytes(int index)
      Тестирование клиентов.
       
      repeated string required_tests = 7;
      Specified by:
      getRequiredTestsBytes in interface AssetFullOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the requiredTests at the given index.
    • hasCurrency

      public boolean hasCurrency()
      Валюта. Обязательно и заполняется только для type = "ASSET_TYPE_CURRENCY".
       
      .tinkoff.public.invest.api.contract.v1.AssetCurrency currency = 8;
      Specified by:
      hasCurrency in interface AssetFullOrBuilder
      Returns:
      Whether the currency field is set.
    • getCurrency

      public AssetCurrency getCurrency()
      Валюта. Обязательно и заполняется только для type = "ASSET_TYPE_CURRENCY".
       
      .tinkoff.public.invest.api.contract.v1.AssetCurrency currency = 8;
      Specified by:
      getCurrency in interface AssetFullOrBuilder
      Returns:
      The currency.
    • getCurrencyOrBuilder

      public AssetCurrencyOrBuilder getCurrencyOrBuilder()
      Валюта. Обязательно и заполняется только для type = "ASSET_TYPE_CURRENCY".
       
      .tinkoff.public.invest.api.contract.v1.AssetCurrency currency = 8;
      Specified by:
      getCurrencyOrBuilder in interface AssetFullOrBuilder
    • hasSecurity

      public boolean hasSecurity()
      Ценная бумага. Обязательно и заполняется только для type = "ASSET_TYPE_SECURITY".
       
      .tinkoff.public.invest.api.contract.v1.AssetSecurity security = 9;
      Specified by:
      hasSecurity in interface AssetFullOrBuilder
      Returns:
      Whether the security field is set.
    • getSecurity

      public AssetSecurity getSecurity()
      Ценная бумага. Обязательно и заполняется только для type = "ASSET_TYPE_SECURITY".
       
      .tinkoff.public.invest.api.contract.v1.AssetSecurity security = 9;
      Specified by:
      getSecurity in interface AssetFullOrBuilder
      Returns:
      The security.
    • getSecurityOrBuilder

      public AssetSecurityOrBuilder getSecurityOrBuilder()
      Ценная бумага. Обязательно и заполняется только для type = "ASSET_TYPE_SECURITY".
       
      .tinkoff.public.invest.api.contract.v1.AssetSecurity security = 9;
      Specified by:
      getSecurityOrBuilder in interface AssetFullOrBuilder
    • getGosRegCode

      public String getGosRegCode()
      Номер государственной регистрации.
       
      string gos_reg_code = 10;
      Specified by:
      getGosRegCode in interface AssetFullOrBuilder
      Returns:
      The gosRegCode.
    • getGosRegCodeBytes

      public com.google.protobuf.ByteString getGosRegCodeBytes()
      Номер государственной регистрации.
       
      string gos_reg_code = 10;
      Specified by:
      getGosRegCodeBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for gosRegCode.
    • getCfi

      public String getCfi()
      Код CFI.
       
      string cfi = 11;
      Specified by:
      getCfi in interface AssetFullOrBuilder
      Returns:
      The cfi.
    • getCfiBytes

      public com.google.protobuf.ByteString getCfiBytes()
      Код CFI.
       
      string cfi = 11;
      Specified by:
      getCfiBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for cfi.
    • getCodeNsd

      public String getCodeNsd()
      Код НРД инструмента.
       
      string code_nsd = 12;
      Specified by:
      getCodeNsd in interface AssetFullOrBuilder
      Returns:
      The codeNsd.
    • getCodeNsdBytes

      public com.google.protobuf.ByteString getCodeNsdBytes()
      Код НРД инструмента.
       
      string code_nsd = 12;
      Specified by:
      getCodeNsdBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for codeNsd.
    • getStatus

      public String getStatus()
      Статус актива.
       
      string status = 13;
      Specified by:
      getStatus in interface AssetFullOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
      Статус актива.
       
      string status = 13;
      Specified by:
      getStatusBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for status.
    • hasBrand

      public boolean hasBrand()
      Бренд.
       
      .tinkoff.public.invest.api.contract.v1.Brand brand = 14;
      Specified by:
      hasBrand in interface AssetFullOrBuilder
      Returns:
      Whether the brand field is set.
    • getBrand

      public Brand getBrand()
      Бренд.
       
      .tinkoff.public.invest.api.contract.v1.Brand brand = 14;
      Specified by:
      getBrand in interface AssetFullOrBuilder
      Returns:
      The brand.
    • getBrandOrBuilder

      public BrandOrBuilder getBrandOrBuilder()
      Бренд.
       
      .tinkoff.public.invest.api.contract.v1.Brand brand = 14;
      Specified by:
      getBrandOrBuilder in interface AssetFullOrBuilder
    • hasUpdatedAt

      public boolean hasUpdatedAt()
      Дата и время последнего обновления записи.
       
      .google.protobuf.Timestamp updated_at = 15;
      Specified by:
      hasUpdatedAt in interface AssetFullOrBuilder
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      public com.google.protobuf.Timestamp getUpdatedAt()
      Дата и время последнего обновления записи.
       
      .google.protobuf.Timestamp updated_at = 15;
      Specified by:
      getUpdatedAt in interface AssetFullOrBuilder
      Returns:
      The updatedAt.
    • getUpdatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()
      Дата и время последнего обновления записи.
       
      .google.protobuf.Timestamp updated_at = 15;
      Specified by:
      getUpdatedAtOrBuilder in interface AssetFullOrBuilder
    • getBrCode

      public String getBrCode()
      Код типа ц.б. по классификации Банка России.
       
      string br_code = 16;
      Specified by:
      getBrCode in interface AssetFullOrBuilder
      Returns:
      The brCode.
    • getBrCodeBytes

      public com.google.protobuf.ByteString getBrCodeBytes()
      Код типа ц.б. по классификации Банка России.
       
      string br_code = 16;
      Specified by:
      getBrCodeBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for brCode.
    • getBrCodeName

      public String getBrCodeName()
      Наименование кода типа ц.б. по классификации Банка России.
       
      string br_code_name = 17;
      Specified by:
      getBrCodeName in interface AssetFullOrBuilder
      Returns:
      The brCodeName.
    • getBrCodeNameBytes

      public com.google.protobuf.ByteString getBrCodeNameBytes()
      Наименование кода типа ц.б. по классификации Банка России.
       
      string br_code_name = 17;
      Specified by:
      getBrCodeNameBytes in interface AssetFullOrBuilder
      Returns:
      The bytes for brCodeName.
    • getInstrumentsList

      public List<AssetInstrument> getInstrumentsList()
      Массив идентификаторов инструментов.
       
      repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 18;
      Specified by:
      getInstrumentsList in interface AssetFullOrBuilder
    • getInstrumentsOrBuilderList

      public List<? extends AssetInstrumentOrBuilder> getInstrumentsOrBuilderList()
      Массив идентификаторов инструментов.
       
      repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 18;
      Specified by:
      getInstrumentsOrBuilderList in interface AssetFullOrBuilder
    • getInstrumentsCount

      public int getInstrumentsCount()
      Массив идентификаторов инструментов.
       
      repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 18;
      Specified by:
      getInstrumentsCount in interface AssetFullOrBuilder
    • getInstruments

      public AssetInstrument getInstruments(int index)
      Массив идентификаторов инструментов.
       
      repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 18;
      Specified by:
      getInstruments in interface AssetFullOrBuilder
    • getInstrumentsOrBuilder

      public AssetInstrumentOrBuilder getInstrumentsOrBuilder(int index)
      Массив идентификаторов инструментов.
       
      repeated .tinkoff.public.invest.api.contract.v1.AssetInstrument instruments = 18;
      Specified by:
      getInstrumentsOrBuilder in interface AssetFullOrBuilder
    • 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 AssetFull parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AssetFull.Builder newBuilder()
    • newBuilder

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

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

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

      public static AssetFull getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AssetFull> 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 AssetFull getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder