Package ru.tinkoff.piapi.contract.v1
Class PositionsResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.PositionsResponse
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,PositionsResponseOrBuilder
public final class PositionsResponse
extends com.google.protobuf.GeneratedMessageV3
implements PositionsResponseOrBuilder
Список позиций по счёту.Protobuf type
tinkoff.public.invest.api.contract.v1.PositionsResponse- 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 TypeMethodDescriptionbooleangetBlocked(int index) Массив заблокированных валютных позиций портфеля.intМассив заблокированных валютных позиций портфеля.Массив заблокированных валютных позиций портфеля.getBlockedOrBuilder(int index) Массив заблокированных валютных позиций портфеля.List<? extends MoneyValueOrBuilder>Массив заблокированных валютных позиций портфеля.static PositionsResponsestatic final com.google.protobuf.Descriptors.DescriptorgetFutures(int index) Список фьючерсов портфеля.intСписок фьючерсов портфеля.Список фьючерсов портфеля.getFuturesOrBuilder(int index) Список фьючерсов портфеля.List<? extends PositionsFuturesOrBuilder>Список фьючерсов портфеля.booleanПризнак идущей в данный момент выгрузки лимитов.getMoney(int index) Массив валютных позиций портфеля.intМассив валютных позиций портфеля.Массив валютных позиций портфеля.getMoneyOrBuilder(int index) Массив валютных позиций портфеля.List<? extends MoneyValueOrBuilder>Массив валютных позиций портфеля.getOptions(int index) Список опционов портфеля.intСписок опционов портфеля.Список опционов портфеля.getOptionsOrBuilder(int index) Список опционов портфеля.List<? extends PositionsOptionsOrBuilder>Список опционов портфеля.com.google.protobuf.Parser<PositionsResponse>getSecurities(int index) Список ценно-бумажных позиций портфеля.intСписок ценно-бумажных позиций портфеля.Список ценно-бумажных позиций портфеля.getSecuritiesOrBuilder(int index) Список ценно-бумажных позиций портфеля.List<? extends PositionsSecuritiesOrBuilder>Список ценно-бумажных позиций портфеля.intfinal com.google.protobuf.UnknownFieldSetinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic PositionsResponse.Builderstatic PositionsResponse.BuildernewBuilder(PositionsResponse prototype) protected PositionsResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PositionsResponseparseDelimitedFrom(InputStream input) static PositionsResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionsResponseparseFrom(byte[] data) static PositionsResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionsResponseparseFrom(com.google.protobuf.ByteString data) static PositionsResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionsResponseparseFrom(com.google.protobuf.CodedInputStream input) static PositionsResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionsResponseparseFrom(InputStream input) static PositionsResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PositionsResponseparseFrom(ByteBuffer data) static PositionsResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PositionsResponse>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
-
MONEY_FIELD_NUMBER
public static final int MONEY_FIELD_NUMBER- See Also:
-
BLOCKED_FIELD_NUMBER
public static final int BLOCKED_FIELD_NUMBER- See Also:
-
SECURITIES_FIELD_NUMBER
public static final int SECURITIES_FIELD_NUMBER- See Also:
-
LIMITS_LOADING_IN_PROGRESS_FIELD_NUMBER
public static final int LIMITS_LOADING_IN_PROGRESS_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:
-
-
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
-
getMoneyList
Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue money = 1;- Specified by:
getMoneyListin interfacePositionsResponseOrBuilder
-
getMoneyOrBuilderList
Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue money = 1;- Specified by:
getMoneyOrBuilderListin interfacePositionsResponseOrBuilder
-
getMoneyCount
public int getMoneyCount()Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue money = 1;- Specified by:
getMoneyCountin interfacePositionsResponseOrBuilder
-
getMoney
Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue money = 1;- Specified by:
getMoneyin interfacePositionsResponseOrBuilder
-
getMoneyOrBuilder
Массив валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue money = 1;- Specified by:
getMoneyOrBuilderin interfacePositionsResponseOrBuilder
-
getBlockedList
Массив заблокированных валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue blocked = 2;- Specified by:
getBlockedListin interfacePositionsResponseOrBuilder
-
getBlockedOrBuilderList
Массив заблокированных валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue blocked = 2;- Specified by:
getBlockedOrBuilderListin interfacePositionsResponseOrBuilder
-
getBlockedCount
public int getBlockedCount()Массив заблокированных валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue blocked = 2;- Specified by:
getBlockedCountin interfacePositionsResponseOrBuilder
-
getBlocked
Массив заблокированных валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue blocked = 2;- Specified by:
getBlockedin interfacePositionsResponseOrBuilder
-
getBlockedOrBuilder
Массив заблокированных валютных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.MoneyValue blocked = 2;- Specified by:
getBlockedOrBuilderin interfacePositionsResponseOrBuilder
-
getSecuritiesList
Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesListin interfacePositionsResponseOrBuilder
-
getSecuritiesOrBuilderList
Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesOrBuilderListin interfacePositionsResponseOrBuilder
-
getSecuritiesCount
public int getSecuritiesCount()Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesCountin interfacePositionsResponseOrBuilder
-
getSecurities
Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesin interfacePositionsResponseOrBuilder
-
getSecuritiesOrBuilder
Список ценно-бумажных позиций портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsSecurities securities = 3;- Specified by:
getSecuritiesOrBuilderin interfacePositionsResponseOrBuilder
-
getLimitsLoadingInProgress
public boolean getLimitsLoadingInProgress()Признак идущей в данный момент выгрузки лимитов.
bool limits_loading_in_progress = 4;- Specified by:
getLimitsLoadingInProgressin interfacePositionsResponseOrBuilder- Returns:
- The limitsLoadingInProgress.
-
getFuturesList
Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 5;- Specified by:
getFuturesListin interfacePositionsResponseOrBuilder
-
getFuturesOrBuilderList
Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 5;- Specified by:
getFuturesOrBuilderListin interfacePositionsResponseOrBuilder
-
getFuturesCount
public int getFuturesCount()Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 5;- Specified by:
getFuturesCountin interfacePositionsResponseOrBuilder
-
getFutures
Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 5;- Specified by:
getFuturesin interfacePositionsResponseOrBuilder
-
getFuturesOrBuilder
Список фьючерсов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsFutures futures = 5;- Specified by:
getFuturesOrBuilderin interfacePositionsResponseOrBuilder
-
getOptionsList
Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 6;- Specified by:
getOptionsListin interfacePositionsResponseOrBuilder
-
getOptionsOrBuilderList
Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 6;- Specified by:
getOptionsOrBuilderListin interfacePositionsResponseOrBuilder
-
getOptionsCount
public int getOptionsCount()Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 6;- Specified by:
getOptionsCountin interfacePositionsResponseOrBuilder
-
getOptions
Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 6;- Specified by:
getOptionsin interfacePositionsResponseOrBuilder
-
getOptionsOrBuilder
Список опционов портфеля.
repeated .tinkoff.public.invest.api.contract.v1.PositionsOptions options = 6;- Specified by:
getOptionsOrBuilderin interfacePositionsResponseOrBuilder
-
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 PositionsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PositionsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PositionsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PositionsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PositionsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PositionsResponse 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 PositionsResponse.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
-