Package ru.tinkoff.piapi.contract.v1
Class AssetSecurity
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.AssetSecurity
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,AssetSecurityOrBuilder
public final class AssetSecurity
extends com.google.protobuf.GeneratedMessageV3
implements AssetSecurityOrBuilder
Ценная бумага.Protobuf type
tinkoff.public.invest.api.contract.v1.AssetSecurity- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classЦенная бумага.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBond()Облигация.Облигация.Клиринговый сертификат участия.Клиринговый сертификат участия.static AssetSecuritystatic final com.google.protobuf.Descriptors.DescriptorgetEtf()Фонд.Фонд.getIsin()ISIN-идентификатор ценной бумаги.com.google.protobuf.ByteStringISIN-идентификатор ценной бумаги.com.google.protobuf.Parser<AssetSecurity>intgetShare()Акция.Акция.getSp()Структурная нота.Структурная нота.getType()Тип ценной бумаги.com.google.protobuf.ByteStringТип ценной бумаги.final com.google.protobuf.UnknownFieldSetbooleanhasBond()Облигация.booleanКлиринговый сертификат участия.booleanhasEtf()Фонд.inthashCode()booleanhasShare()Акция.booleanhasSp()Структурная нота.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AssetSecurity.Builderstatic AssetSecurity.BuildernewBuilder(AssetSecurity prototype) protected AssetSecurity.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AssetSecurityparseDelimitedFrom(InputStream input) static AssetSecurityparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSecurityparseFrom(byte[] data) static AssetSecurityparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSecurityparseFrom(com.google.protobuf.ByteString data) static AssetSecurityparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSecurityparseFrom(com.google.protobuf.CodedInputStream input) static AssetSecurityparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSecurityparseFrom(InputStream input) static AssetSecurityparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssetSecurityparseFrom(ByteBuffer data) static AssetSecurityparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AssetSecurity>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
ISIN_FIELD_NUMBER
public static final int ISIN_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
SHARE_FIELD_NUMBER
public static final int SHARE_FIELD_NUMBER- See Also:
-
BOND_FIELD_NUMBER
public static final int BOND_FIELD_NUMBER- See Also:
-
SP_FIELD_NUMBER
public static final int SP_FIELD_NUMBER- See Also:
-
ETF_FIELD_NUMBER
public static final int ETF_FIELD_NUMBER- See Also:
-
CLEARING_CERTIFICATE_FIELD_NUMBER
public static final int CLEARING_CERTIFICATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getExtCase
- Specified by:
getExtCasein interfaceAssetSecurityOrBuilder
-
getIsin
ISIN-идентификатор ценной бумаги.
string isin = 1;- Specified by:
getIsinin interfaceAssetSecurityOrBuilder- Returns:
- The isin.
-
getIsinBytes
public com.google.protobuf.ByteString getIsinBytes()ISIN-идентификатор ценной бумаги.
string isin = 1;- Specified by:
getIsinBytesin interfaceAssetSecurityOrBuilder- Returns:
- The bytes for isin.
-
getType
Тип ценной бумаги.
string type = 2;- Specified by:
getTypein interfaceAssetSecurityOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Тип ценной бумаги.
string type = 2;- Specified by:
getTypeBytesin interfaceAssetSecurityOrBuilder- Returns:
- The bytes for type.
-
hasBond
public boolean hasBond()Облигация. Заполняется только для облигаций (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = bond).
.tinkoff.public.invest.api.contract.v1.AssetBond bond = 4;- Specified by:
hasBondin interfaceAssetSecurityOrBuilder- Returns:
- Whether the bond field is set.
-
getBond
Облигация. Заполняется только для облигаций (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = bond).
.tinkoff.public.invest.api.contract.v1.AssetBond bond = 4;- Specified by:
getBondin interfaceAssetSecurityOrBuilder- Returns:
- The bond.
-
getBondOrBuilder
Облигация. Заполняется только для облигаций (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = bond).
.tinkoff.public.invest.api.contract.v1.AssetBond bond = 4;- Specified by:
getBondOrBuilderin interfaceAssetSecurityOrBuilder
-
hasSp
public boolean hasSp()Структурная нота. Заполняется только для структурных продуктов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = sp).
.tinkoff.public.invest.api.contract.v1.AssetStructuredProduct sp = 5;- Specified by:
hasSpin interfaceAssetSecurityOrBuilder- Returns:
- Whether the sp field is set.
-
getSp
Структурная нота. Заполняется только для структурных продуктов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = sp).
.tinkoff.public.invest.api.contract.v1.AssetStructuredProduct sp = 5;- Specified by:
getSpin interfaceAssetSecurityOrBuilder- Returns:
- The sp.
-
getSpOrBuilder
Структурная нота. Заполняется только для структурных продуктов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = sp).
.tinkoff.public.invest.api.contract.v1.AssetStructuredProduct sp = 5;- Specified by:
getSpOrBuilderin interfaceAssetSecurityOrBuilder
-
hasEtf
public boolean hasEtf()Фонд. Заполняется только для фондов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = etf).
.tinkoff.public.invest.api.contract.v1.AssetEtf etf = 6;- Specified by:
hasEtfin interfaceAssetSecurityOrBuilder- Returns:
- Whether the etf field is set.
-
getEtf
Фонд. Заполняется только для фондов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = etf).
.tinkoff.public.invest.api.contract.v1.AssetEtf etf = 6;- Specified by:
getEtfin interfaceAssetSecurityOrBuilder- Returns:
- The etf.
-
getEtfOrBuilder
Фонд. Заполняется только для фондов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = etf).
.tinkoff.public.invest.api.contract.v1.AssetEtf etf = 6;- Specified by:
getEtfOrBuilderin interfaceAssetSecurityOrBuilder
-
hasClearingCertificate
public boolean hasClearingCertificate()Клиринговый сертификат участия. Заполняется только для клиринговых сертификатов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = clearing_certificate).
.tinkoff.public.invest.api.contract.v1.AssetClearingCertificate clearing_certificate = 7;- Specified by:
hasClearingCertificatein interfaceAssetSecurityOrBuilder- Returns:
- Whether the clearingCertificate field is set.
-
getClearingCertificate
Клиринговый сертификат участия. Заполняется только для клиринговых сертификатов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = clearing_certificate).
.tinkoff.public.invest.api.contract.v1.AssetClearingCertificate clearing_certificate = 7;- Specified by:
getClearingCertificatein interfaceAssetSecurityOrBuilder- Returns:
- The clearingCertificate.
-
getClearingCertificateOrBuilder
Клиринговый сертификат участия. Заполняется только для клиринговых сертификатов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = clearing_certificate).
.tinkoff.public.invest.api.contract.v1.AssetClearingCertificate clearing_certificate = 7;- Specified by:
getClearingCertificateOrBuilderin interfaceAssetSecurityOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AssetSecurity parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSecurity parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSecurity parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSecurity parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSecurity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetSecurity parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AssetSecurity parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AssetSecurity parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AssetSecurity parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AssetSecurity parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AssetSecurity.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-