Package ru.tinkoff.piapi.contract.v1
Class PositionData
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.PositionData
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,PositionDataOrBuilder
public final class PositionData
extends com.google.protobuf.GeneratedMessageV3
implements PositionDataOrBuilder
Данные о позиции портфеля.Protobuf type
tinkoff.public.invest.api.contract.v1.PositionData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classДанные о позиции портфеля.Nested 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 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 TypeMethodDescriptionbooleanИдентификатор счёта.com.google.protobuf.ByteStringИдентификатор счёта.com.google.protobuf.TimestampgetDate()Дата и время операции в формате UTC.com.google.protobuf.TimestampOrBuilderДата и время операции в формате UTC.static PositionDatastatic final com.google.protobuf.Descriptors.DescriptorgetFutures(int index) Список фьючерсов портфеля.intСписок фьючерсов портфеля.Список фьючерсов портфеля.getFuturesOrBuilder(int index) Список фьючерсов портфеля.List<? extends PositionsFuturesOrBuilder>Список фьючерсов портфеля.getMoney(int index) Массив валютных позиций портфеля.intМассив валютных позиций портфеля.Массив валютных позиций портфеля.getMoneyOrBuilder(int index) Массив валютных позиций портфеля.List<? extends PositionsMoneyOrBuilder>Массив валютных позиций портфеля.getOptions(int index) Список опционов портфеля.intСписок опционов портфеля.Список опционов портфеля.getOptionsOrBuilder(int index) Список опционов портфеля.List<? extends PositionsOptionsOrBuilder>Список опционов портфеля.com.google.protobuf.Parser<PositionData>getSecurities(int index) Список ценно-бумажных позиций портфеля.intСписок ценно-бумажных позиций портфеля.Список ценно-бумажных позиций портфеля.getSecuritiesOrBuilder(int index) Список ценно-бумажных позиций портфеля.List<? extends PositionsSecuritiesOrBuilder>Список ценно-бумажных позиций портфеля.intfinal com.google.protobuf.UnknownFieldSetbooleanhasDate()Дата и время операции в формате UTC.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic PositionData.Builderstatic PositionData.BuildernewBuilder(PositionData prototype) protected PositionData.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PositionDataparseDelimitedFrom(InputStream input) static PositionDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionDataparseFrom(byte[] data) static PositionDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionDataparseFrom(com.google.protobuf.ByteString data) static PositionDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionDataparseFrom(com.google.protobuf.CodedInputStream input) static PositionDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionDataparseFrom(InputStream input) static PositionDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionDataparseFrom(ByteBuffer data) static PositionDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PositionData>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
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER- See Also:
-
MONEY_FIELD_NUMBER
public static final int MONEY_FIELD_NUMBER- See Also:
-
SECURITIES_FIELD_NUMBER
public static final int SECURITIES_FIELD_NUMBER- See Also:
-
FUTURES_FIELD_NUMBER
public static final int FUTURES_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
DATE_FIELD_NUMBER
public static final int DATE_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
-
getAccountId
Идентификатор счёта.
string account_id = 1;- Specified by:
getAccountIdin interfacePositionDataOrBuilder- Returns:
- The accountId.
-
getAccountIdBytes
public com.google.protobuf.ByteString getAccountIdBytes()Идентификатор счёта.
string account_id = 1;- Specified by:
getAccountIdBytesin interfacePositionDataOrBuilder- Returns:
- The bytes for accountId.
-
getMoneyList
Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsMoney money = 2;- Specified by:
getMoneyListin interfacePositionDataOrBuilder
-
getMoneyOrBuilderList
Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsMoney money = 2;- Specified by:
getMoneyOrBuilderListin interfacePositionDataOrBuilder
-
getMoneyCount
public int getMoneyCount()Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsMoney money = 2;- Specified by:
getMoneyCountin interfacePositionDataOrBuilder
-
getMoney
Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsMoney money = 2;- Specified by:
getMoneyin interfacePositionDataOrBuilder
-
getMoneyOrBuilder
Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsMoney money = 2;- Specified by:
getMoneyOrBuilderin interfacePositionDataOrBuilder
-
getSecuritiesList
Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesListin interfacePositionDataOrBuilder
-
getSecuritiesOrBuilderList
Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesOrBuilderListin interfacePositionDataOrBuilder
-
getSecuritiesCount
public int getSecuritiesCount()Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesCountin interfacePositionDataOrBuilder
-
getSecurities
Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesin interfacePositionDataOrBuilder
-
getSecuritiesOrBuilder
Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesOrBuilderin interfacePositionDataOrBuilder
-
getFuturesList
Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 4;- Specified by:
getFuturesListin interfacePositionDataOrBuilder
-
getFuturesOrBuilderList
Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 4;- Specified by:
getFuturesOrBuilderListin interfacePositionDataOrBuilder
-
getFuturesCount
public int getFuturesCount()Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 4;- Specified by:
getFuturesCountin interfacePositionDataOrBuilder
-
getFutures
Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 4;- Specified by:
getFuturesin interfacePositionDataOrBuilder
-
getFuturesOrBuilder
Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 4;- Specified by:
getFuturesOrBuilderin interfacePositionDataOrBuilder
-
getOptionsList
Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 5;- Specified by:
getOptionsListin interfacePositionDataOrBuilder
-
getOptionsOrBuilderList
Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 5;- Specified by:
getOptionsOrBuilderListin interfacePositionDataOrBuilder
-
getOptionsCount
public int getOptionsCount()Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 5;- Specified by:
getOptionsCountin interfacePositionDataOrBuilder
-
getOptions
Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 5;- Specified by:
getOptionsin interfacePositionDataOrBuilder
-
getOptionsOrBuilder
Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 5;- Specified by:
getOptionsOrBuilderin interfacePositionDataOrBuilder
-
hasDate
public boolean hasDate()Дата и время операции в формате UTC.
.google.protobuf.Timestamp date = 6;- Specified by:
hasDatein interfacePositionDataOrBuilder- Returns:
- Whether the date field is set.
-
getDate
public com.google.protobuf.Timestamp getDate()Дата и время операции в формате UTC.
.google.protobuf.Timestamp date = 6;- Specified by:
getDatein interfacePositionDataOrBuilder- Returns:
- The date.
-
getDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getDateOrBuilder()Дата и время операции в формате UTC.
.google.protobuf.Timestamp date = 6;- Specified by:
getDateOrBuilderin interfacePositionDataOrBuilder
-
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 PositionData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PositionData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PositionData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PositionData 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 PositionData.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
-