Class Data.DataRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Data.DataRequest,Data.DataRequest.Builder>
viam.app.data.v1.Data.DataRequest
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Data.DataRequestOrBuilder
Enclosing class:
Data

public static final class Data.DataRequest extends com.google.protobuf.GeneratedMessageLite<Data.DataRequest,Data.DataRequest.Builder> implements Data.DataRequestOrBuilder
 DataRequest encapsulates the filter for the data, a limit on the maximum results returned,
 a last string associated with the last returned document, and the sorting order by time.
 last is returned in the responses TabularDataByFilterResponse and BinaryDataByFilterResponse
 from the API calls TabularDataByFilter and BinaryDataByFilter, respectively.
 We can then use the last string from the previous API calls in the subsequent request
 to get the next set of ordered documents.
 
Protobuf type viam.app.data.v1.DataRequest
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    DataRequest encapsulates the filter for the data, a limit on the maximum results returned, a last string associated with the last returned document, and the sorting order by time.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    .viam.app.data.v1.Filter filter = 1 [json_name = "filter"];
    string last = 3 [json_name = "last"];
    com.google.protobuf.ByteString
    string last = 3 [json_name = "last"];
    long
    uint64 limit = 2 [json_name = "limit"];
    .viam.app.data.v1.Order sort_order = 4 [json_name = "sortOrder"];
    int
    .viam.app.data.v1.Order sort_order = 4 [json_name = "sortOrder"];
    boolean
    .viam.app.data.v1.Filter filter = 1 [json_name = "filter"];
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Data.DataRequest>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • Method Details

    • hasFilter

      public boolean hasFilter()
      .viam.app.data.v1.Filter filter = 1 [json_name = "filter"];
      Specified by:
      hasFilter in interface Data.DataRequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public Data.Filter getFilter()
      .viam.app.data.v1.Filter filter = 1 [json_name = "filter"];
      Specified by:
      getFilter in interface Data.DataRequestOrBuilder
      Returns:
      The filter.
    • getLimit

      public long getLimit()
      uint64 limit = 2 [json_name = "limit"];
      Specified by:
      getLimit in interface Data.DataRequestOrBuilder
      Returns:
      The limit.
    • getLast

      public String getLast()
      string last = 3 [json_name = "last"];
      Specified by:
      getLast in interface Data.DataRequestOrBuilder
      Returns:
      The last.
    • getLastBytes

      public com.google.protobuf.ByteString getLastBytes()
      string last = 3 [json_name = "last"];
      Specified by:
      getLastBytes in interface Data.DataRequestOrBuilder
      Returns:
      The bytes for last.
    • getSortOrderValue

      public int getSortOrderValue()
      .viam.app.data.v1.Order sort_order = 4 [json_name = "sortOrder"];
      Specified by:
      getSortOrderValue in interface Data.DataRequestOrBuilder
      Returns:
      The enum numeric value on the wire for sortOrder.
    • getSortOrder

      public Data.Order getSortOrder()
      .viam.app.data.v1.Order sort_order = 4 [json_name = "sortOrder"];
      Specified by:
      getSortOrder in interface Data.DataRequestOrBuilder
      Returns:
      The sortOrder.
    • parseFrom

      public static Data.DataRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.DataRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.DataRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.DataRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.DataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.DataRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.DataRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Data.DataRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static Data.DataRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Data.DataRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Data.DataRequest.Builder newBuilder()
    • newBuilder

      public static Data.DataRequest.Builder newBuilder(Data.DataRequest prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Data.DataRequest,Data.DataRequest.Builder>
    • getDefaultInstance

      public static Data.DataRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Data.DataRequest> parser()