Package viam.app.data.v1
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 ClassesModifier and TypeClassDescriptionstatic final classDataRequest 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Data.DataRequest.viam.app.data.v1.Filter filter = 1 [json_name = "filter"];getLast()string last = 3 [json_name = "last"];com.google.protobuf.ByteStringstring last = 3 [json_name = "last"];longgetLimit()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"];static Data.DataRequest.Builderstatic Data.DataRequest.BuildernewBuilder(Data.DataRequest prototype) static Data.DataRequestparseDelimitedFrom(InputStream input) static Data.DataRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.DataRequestparseFrom(byte[] data) static Data.DataRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.DataRequestparseFrom(com.google.protobuf.ByteString data) static Data.DataRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.DataRequestparseFrom(com.google.protobuf.CodedInputStream input) static Data.DataRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.DataRequestparseFrom(InputStream input) static Data.DataRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.DataRequestparseFrom(ByteBuffer data) static Data.DataRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Data.DataRequest>parser()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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
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.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
LAST_FIELD_NUMBER
public static final int LAST_FIELD_NUMBER- See Also:
-
SORT_ORDER_FIELD_NUMBER
public static final int SORT_ORDER_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasFilter
public boolean hasFilter().viam.app.data.v1.Filter filter = 1 [json_name = "filter"];- Specified by:
hasFilterin interfaceData.DataRequestOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
.viam.app.data.v1.Filter filter = 1 [json_name = "filter"];- Specified by:
getFilterin interfaceData.DataRequestOrBuilder- Returns:
- The filter.
-
getLimit
public long getLimit()uint64 limit = 2 [json_name = "limit"];- Specified by:
getLimitin interfaceData.DataRequestOrBuilder- Returns:
- The limit.
-
getLast
string last = 3 [json_name = "last"];- Specified by:
getLastin interfaceData.DataRequestOrBuilder- Returns:
- The last.
-
getLastBytes
public com.google.protobuf.ByteString getLastBytes()string last = 3 [json_name = "last"];- Specified by:
getLastBytesin interfaceData.DataRequestOrBuilder- Returns:
- The bytes for last.
-
getSortOrderValue
public int getSortOrderValue().viam.app.data.v1.Order sort_order = 4 [json_name = "sortOrder"];- Specified by:
getSortOrderValuein interfaceData.DataRequestOrBuilder- Returns:
- The enum numeric value on the wire for sortOrder.
-
getSortOrder
.viam.app.data.v1.Order sort_order = 4 [json_name = "sortOrder"];- Specified by:
getSortOrderin interfaceData.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
- Throws:
IOException
-
parseFrom
public static Data.DataRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Data.DataRequest,Data.DataRequest.Builder>
-
getDefaultInstance
-
parser
-