Package ru.tinkoff.piapi.contract.v1
Class GetOperationsByCursorRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.GetOperationsByCursorRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GetOperationsByCursorRequestOrBuilder
public final class GetOperationsByCursorRequest
extends com.google.protobuf.GeneratedMessageV3
implements GetOperationsByCursorRequestOrBuilder
Запрос списка операций по счёту с пагинацией.Protobuf type
tinkoff.public.invest.api.contract.v1.GetOperationsByCursorRequest- 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 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.ByteStringИдентификатор элемента, с которого начать формировать ответ.static GetOperationsByCursorRequeststatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampgetFrom()Начало периода (по UTC).com.google.protobuf.TimestampOrBuilderНачало периода (по UTC).Идентификатор инструмента (Figi инструмента или uid инструмента)com.google.protobuf.ByteStringИдентификатор инструмента (Figi инструмента или uid инструмента)intgetLimit()Лимит количества операций.getOperationTypes(int index) Тип операции.intТип операции.Тип операции.intgetOperationTypesValue(int index) Тип операции.Тип операции.com.google.protobuf.Parser<GetOperationsByCursorRequest>intgetState()Статус запрашиваемых операций, возможные значения указаны в OperationState.intСтатус запрашиваемых операций, возможные значения указаны в OperationState.com.google.protobuf.TimestampgetTo()Окончание периода (по UTC).com.google.protobuf.TimestampOrBuilderОкончание периода (по UTC).final com.google.protobuf.UnknownFieldSetbooleanФлаг возвращать ли комиссии, по умолчанию falsebooleanФлаг не показывать overnight операций.booleanФлаг получения ответа без массива сделок.booleanhasFrom()Начало периода (по UTC).inthashCode()booleanhasTo()Окончание периода (по UTC).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GetOperationsByCursorRequest prototype) protected GetOperationsByCursorRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GetOperationsByCursorRequestparseDelimitedFrom(InputStream input) static GetOperationsByCursorRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetOperationsByCursorRequestparseFrom(byte[] data) static GetOperationsByCursorRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetOperationsByCursorRequestparseFrom(com.google.protobuf.ByteString data) static GetOperationsByCursorRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetOperationsByCursorRequestparseFrom(com.google.protobuf.CodedInputStream input) static GetOperationsByCursorRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetOperationsByCursorRequestparseFrom(InputStream input) static GetOperationsByCursorRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetOperationsByCursorRequestparseFrom(ByteBuffer data) static GetOperationsByCursorRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetOperationsByCursorRequest>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:
-
INSTRUMENT_ID_FIELD_NUMBER
public static final int INSTRUMENT_ID_FIELD_NUMBER- See Also:
-
FROM_FIELD_NUMBER
public static final int FROM_FIELD_NUMBER- See Also:
-
TO_FIELD_NUMBER
public static final int TO_FIELD_NUMBER- See Also:
-
CURSOR_FIELD_NUMBER
public static final int CURSOR_FIELD_NUMBER- See Also:
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
OPERATION_TYPES_FIELD_NUMBER
public static final int OPERATION_TYPES_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
WITHOUT_COMMISSIONS_FIELD_NUMBER
public static final int WITHOUT_COMMISSIONS_FIELD_NUMBER- See Also:
-
WITHOUT_TRADES_FIELD_NUMBER
public static final int WITHOUT_TRADES_FIELD_NUMBER- See Also:
-
WITHOUT_OVERNIGHTS_FIELD_NUMBER
public static final int WITHOUT_OVERNIGHTS_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 interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The accountId.
-
getAccountIdBytes
public com.google.protobuf.ByteString getAccountIdBytes()Идентификатор счёта клиента. Обязательный параметр для данного метода, остальные параметры опциональны.
string account_id = 1;- Specified by:
getAccountIdBytesin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The bytes for accountId.
-
getInstrumentId
Идентификатор инструмента (Figi инструмента или uid инструмента)
string instrument_id = 2;- Specified by:
getInstrumentIdin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The instrumentId.
-
getInstrumentIdBytes
public com.google.protobuf.ByteString getInstrumentIdBytes()Идентификатор инструмента (Figi инструмента или uid инструмента)
string instrument_id = 2;- Specified by:
getInstrumentIdBytesin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The bytes for instrumentId.
-
hasFrom
public boolean hasFrom()Начало периода (по UTC).
.google.protobuf.Timestamp from = 6;- Specified by:
hasFromin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- Whether the from field is set.
-
getFrom
public com.google.protobuf.Timestamp getFrom()Начало периода (по UTC).
.google.protobuf.Timestamp from = 6;- Specified by:
getFromin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The from.
-
getFromOrBuilder
public com.google.protobuf.TimestampOrBuilder getFromOrBuilder()Начало периода (по UTC).
.google.protobuf.Timestamp from = 6;- Specified by:
getFromOrBuilderin interfaceGetOperationsByCursorRequestOrBuilder
-
hasTo
public boolean hasTo()Окончание периода (по UTC).
.google.protobuf.Timestamp to = 7;- Specified by:
hasToin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- Whether the to field is set.
-
getTo
public com.google.protobuf.Timestamp getTo()Окончание периода (по UTC).
.google.protobuf.Timestamp to = 7;- Specified by:
getToin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The to.
-
getToOrBuilder
public com.google.protobuf.TimestampOrBuilder getToOrBuilder()Окончание периода (по UTC).
.google.protobuf.Timestamp to = 7;- Specified by:
getToOrBuilderin interfaceGetOperationsByCursorRequestOrBuilder
-
getCursor
Идентификатор элемента, с которого начать формировать ответ.
string cursor = 11;- Specified by:
getCursorin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The cursor.
-
getCursorBytes
public com.google.protobuf.ByteString getCursorBytes()Идентификатор элемента, с которого начать формировать ответ.
string cursor = 11;- Specified by:
getCursorBytesin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The bytes for cursor.
-
getLimit
public int getLimit()Лимит количества операций. По умолчанию устанавливается значение **100**, максимальное значение 1000.
int32 limit = 12;- Specified by:
getLimitin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The limit.
-
getOperationTypesList
Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Specified by:
getOperationTypesListin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- A list containing the operationTypes.
-
getOperationTypesCount
public int getOperationTypesCount()Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Specified by:
getOperationTypesCountin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The count of operationTypes.
-
getOperationTypes
Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Specified by:
getOperationTypesin interfaceGetOperationsByCursorRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The operationTypes at the given index.
-
getOperationTypesValueList
Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Specified by:
getOperationTypesValueListin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for operationTypes.
-
getOperationTypesValue
public int getOperationTypesValue(int index) Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Specified by:
getOperationTypesValuein interfaceGetOperationsByCursorRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of operationTypes at the given index.
-
getStateValue
public int getStateValue()Статус запрашиваемых операций, возможные значения указаны в OperationState.
.tinkoff.public.invest.api.contract.v1.OperationState state = 14;- Specified by:
getStateValuein interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Статус запрашиваемых операций, возможные значения указаны в OperationState.
.tinkoff.public.invest.api.contract.v1.OperationState state = 14;- Specified by:
getStatein interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The state.
-
getWithoutCommissions
public boolean getWithoutCommissions()Флаг возвращать ли комиссии, по умолчанию false
bool without_commissions = 15;- Specified by:
getWithoutCommissionsin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The withoutCommissions.
-
getWithoutTrades
public boolean getWithoutTrades()Флаг получения ответа без массива сделок.
bool without_trades = 16;- Specified by:
getWithoutTradesin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The withoutTrades.
-
getWithoutOvernights
public boolean getWithoutOvernights()Флаг не показывать overnight операций.
bool without_overnights = 17;- Specified by:
getWithoutOvernightsin interfaceGetOperationsByCursorRequestOrBuilder- Returns:
- The withoutOvernights.
-
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 GetOperationsByCursorRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetOperationsByCursorRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetOperationsByCursorRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetOperationsByCursorRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetOperationsByCursorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetOperationsByCursorRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GetOperationsByCursorRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GetOperationsByCursorRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetOperationsByCursorRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetOperationsByCursorRequest 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
public static GetOperationsByCursorRequest.Builder newBuilder(GetOperationsByCursorRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GetOperationsByCursorRequest.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
-