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

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

      public String getAccountId()
      Идентификатор счёта клиента. Обязательный параметр для данного метода, остальные параметры опциональны.
       
      string account_id = 1;
      Specified by:
      getAccountId in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The accountId.
    • getAccountIdBytes

      public com.google.protobuf.ByteString getAccountIdBytes()
      Идентификатор счёта клиента. Обязательный параметр для данного метода, остальные параметры опциональны.
       
      string account_id = 1;
      Specified by:
      getAccountIdBytes in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The bytes for accountId.
    • getInstrumentId

      public String getInstrumentId()
      Идентификатор инструмента (Figi инструмента или uid инструмента)
       
      string instrument_id = 2;
      Specified by:
      getInstrumentId in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The instrumentId.
    • getInstrumentIdBytes

      public com.google.protobuf.ByteString getInstrumentIdBytes()
      Идентификатор инструмента (Figi инструмента или uid инструмента)
       
      string instrument_id = 2;
      Specified by:
      getInstrumentIdBytes in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The bytes for instrumentId.
    • hasFrom

      public boolean hasFrom()
      Начало периода (по UTC).
       
      .google.protobuf.Timestamp from = 6;
      Specified by:
      hasFrom in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      Whether the from field is set.
    • getFrom

      public com.google.protobuf.Timestamp getFrom()
      Начало периода (по UTC).
       
      .google.protobuf.Timestamp from = 6;
      Specified by:
      getFrom in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The from.
    • getFromOrBuilder

      public com.google.protobuf.TimestampOrBuilder getFromOrBuilder()
      Начало периода (по UTC).
       
      .google.protobuf.Timestamp from = 6;
      Specified by:
      getFromOrBuilder in interface GetOperationsByCursorRequestOrBuilder
    • hasTo

      public boolean hasTo()
      Окончание периода (по UTC).
       
      .google.protobuf.Timestamp to = 7;
      Specified by:
      hasTo in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      Whether the to field is set.
    • getTo

      public com.google.protobuf.Timestamp getTo()
      Окончание периода (по UTC).
       
      .google.protobuf.Timestamp to = 7;
      Specified by:
      getTo in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The to.
    • getToOrBuilder

      public com.google.protobuf.TimestampOrBuilder getToOrBuilder()
      Окончание периода (по UTC).
       
      .google.protobuf.Timestamp to = 7;
      Specified by:
      getToOrBuilder in interface GetOperationsByCursorRequestOrBuilder
    • getCursor

      public String getCursor()
      Идентификатор элемента, с которого начать формировать ответ.
       
      string cursor = 11;
      Specified by:
      getCursor in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The cursor.
    • getCursorBytes

      public com.google.protobuf.ByteString getCursorBytes()
      Идентификатор элемента, с которого начать формировать ответ.
       
      string cursor = 11;
      Specified by:
      getCursorBytes in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The bytes for cursor.
    • getLimit

      public int getLimit()
      Лимит количества операций. По умолчанию устанавливается значение **100**, максимальное значение 1000.
       
      int32 limit = 12;
      Specified by:
      getLimit in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The limit.
    • getOperationTypesList

      public List<OperationType> getOperationTypesList()
      Тип операции. Принимает значение из списка OperationType.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;
      Specified by:
      getOperationTypesList in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      A list containing the operationTypes.
    • getOperationTypesCount

      public int getOperationTypesCount()
      Тип операции. Принимает значение из списка OperationType.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;
      Specified by:
      getOperationTypesCount in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The count of operationTypes.
    • getOperationTypes

      public OperationType getOperationTypes(int index)
      Тип операции. Принимает значение из списка OperationType.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;
      Specified by:
      getOperationTypes in interface GetOperationsByCursorRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The operationTypes at the given index.
    • getOperationTypesValueList

      public List<Integer> getOperationTypesValueList()
      Тип операции. Принимает значение из списка OperationType.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;
      Specified by:
      getOperationTypesValueList in interface GetOperationsByCursorRequestOrBuilder
      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:
      getOperationTypesValue in interface GetOperationsByCursorRequestOrBuilder
      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:
      getStateValue in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public OperationState getState()
      Статус запрашиваемых операций, возможные значения указаны в OperationState.
       
      .tinkoff.public.invest.api.contract.v1.OperationState state = 14;
      Specified by:
      getState in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The state.
    • getWithoutCommissions

      public boolean getWithoutCommissions()
      Флаг возвращать ли комиссии, по умолчанию false
       
      bool without_commissions = 15;
      Specified by:
      getWithoutCommissions in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The withoutCommissions.
    • getWithoutTrades

      public boolean getWithoutTrades()
      Флаг получения ответа без массива сделок.
       
      bool without_trades = 16;
      Specified by:
      getWithoutTrades in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The withoutTrades.
    • getWithoutOvernights

      public boolean getWithoutOvernights()
      Флаг не показывать overnight операций.
       
      bool without_overnights = 17;
      Specified by:
      getWithoutOvernights in interface GetOperationsByCursorRequestOrBuilder
      Returns:
      The withoutOvernights.
    • 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 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

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

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

      public static GetOperationsByCursorRequest parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static GetOperationsByCursorRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static GetOperationsByCursorRequest getDefaultInstance()
    • parser

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

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