Package viam.app.data.v1
Class Data.TabularDataByMQLRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Data.TabularDataByMQLRequest,Data.TabularDataByMQLRequest.Builder>
viam.app.data.v1.Data.TabularDataByMQLRequest
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Data.TabularDataByMQLRequestOrBuilder
- Enclosing class:
- Data
public static final class Data.TabularDataByMQLRequest
extends com.google.protobuf.GeneratedMessageLite<Data.TabularDataByMQLRequest,Data.TabularDataByMQLRequest.Builder>
implements Data.TabularDataByMQLRequestOrBuilder
TabularDataByMQLRequest requests tabular data using an MQL query.Protobuf type
viam.app.data.v1.TabularDataByMQLRequest-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTabularDataByMQLRequest requests tabular data using an MQL query.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 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) data_source is an optional field that can be used to specify the data source for the query.static Data.TabularDataByMQLRequestcom.google.protobuf.ByteStringgetMqlBinary(int index) mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.intmql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.List<com.google.protobuf.ByteString>mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.string organization_id = 1 [json_name = "organizationId"];com.google.protobuf.ByteStringstring organization_id = 1 [json_name = "organizationId"];query_prefix_name is an optional field that can be used to specify a saved query to runcom.google.protobuf.ByteStringquery_prefix_name is an optional field that can be used to specify a saved query to runbooleanDeprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.booleandata_source is an optional field that can be used to specify the data source for the query.booleanquery_prefix_name is an optional field that can be used to specify a saved query to runbooleanDeprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.newBuilder(Data.TabularDataByMQLRequest prototype) static Data.TabularDataByMQLRequestparseDelimitedFrom(InputStream input) static Data.TabularDataByMQLRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.TabularDataByMQLRequestparseFrom(byte[] data) static Data.TabularDataByMQLRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.TabularDataByMQLRequestparseFrom(com.google.protobuf.ByteString data) static Data.TabularDataByMQLRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.TabularDataByMQLRequestparseFrom(com.google.protobuf.CodedInputStream input) static Data.TabularDataByMQLRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.TabularDataByMQLRequestparseFrom(InputStream input) static Data.TabularDataByMQLRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.TabularDataByMQLRequestparseFrom(ByteBuffer data) static Data.TabularDataByMQLRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Data.TabularDataByMQLRequest>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
-
ORGANIZATION_ID_FIELD_NUMBER
public static final int ORGANIZATION_ID_FIELD_NUMBER- See Also:
-
MQL_BINARY_FIELD_NUMBER
public static final int MQL_BINARY_FIELD_NUMBER- See Also:
-
USE_RECENT_DATA_FIELD_NUMBER
public static final int USE_RECENT_DATA_FIELD_NUMBER- See Also:
-
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER- See Also:
-
QUERY_PREFIX_NAME_FIELD_NUMBER
public static final int QUERY_PREFIX_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- The bytes for organizationId.
-
getMqlBinaryList
mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" namespace, which holds the Viam organization's tabular data.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];- Specified by:
getMqlBinaryListin interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- A list containing the mqlBinary.
-
getMqlBinaryCount
public int getMqlBinaryCount()mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" namespace, which holds the Viam organization's tabular data.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];- Specified by:
getMqlBinaryCountin interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- The count of mqlBinary.
-
getMqlBinary
public com.google.protobuf.ByteString getMqlBinary(int index) mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" namespace, which holds the Viam organization's tabular data.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];- Specified by:
getMqlBinaryin interfaceData.TabularDataByMQLRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The mqlBinary at the given index.
-
hasUseRecentData
public boolean hasUseRecentData()Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.
optional bool use_recent_data = 4 [json_name = "useRecentData"];- Specified by:
hasUseRecentDatain interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- Whether the useRecentData field is set.
-
getUseRecentData
public boolean getUseRecentData()Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.
optional bool use_recent_data = 4 [json_name = "useRecentData"];- Specified by:
getUseRecentDatain interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- The useRecentData.
-
hasDataSource
public boolean hasDataSource()data_source is an optional field that can be used to specify the data source for the query. If not specified, the query will run on "standard" storage.
optional .viam.app.data.v1.TabularDataSource data_source = 6 [json_name = "dataSource"];- Specified by:
hasDataSourcein interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- Whether the dataSource field is set.
-
getDataSource
data_source is an optional field that can be used to specify the data source for the query. If not specified, the query will run on "standard" storage.
optional .viam.app.data.v1.TabularDataSource data_source = 6 [json_name = "dataSource"];- Specified by:
getDataSourcein interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- The dataSource.
-
hasQueryPrefixName
public boolean hasQueryPrefixName()query_prefix_name is an optional field that can be used to specify a saved query to run
optional string query_prefix_name = 7 [json_name = "queryPrefixName"];- Specified by:
hasQueryPrefixNamein interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- Whether the queryPrefixName field is set.
-
getQueryPrefixName
query_prefix_name is an optional field that can be used to specify a saved query to run
optional string query_prefix_name = 7 [json_name = "queryPrefixName"];- Specified by:
getQueryPrefixNamein interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- The queryPrefixName.
-
getQueryPrefixNameBytes
public com.google.protobuf.ByteString getQueryPrefixNameBytes()query_prefix_name is an optional field that can be used to specify a saved query to run
optional string query_prefix_name = 7 [json_name = "queryPrefixName"];- Specified by:
getQueryPrefixNameBytesin interfaceData.TabularDataByMQLRequestOrBuilder- Returns:
- The bytes for queryPrefixName.
-
parseFrom
public static Data.TabularDataByMQLRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.TabularDataByMQLRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.TabularDataByMQLRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.TabularDataByMQLRequest 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.TabularDataByMQLRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.TabularDataByMQLRequest 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.TabularDataByMQLRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Data.TabularDataByMQLRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Data.TabularDataByMQLRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Data.TabularDataByMQLRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static Data.TabularDataByMQLRequest.Builder newBuilder(Data.TabularDataByMQLRequest prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Data.TabularDataByMQLRequest,Data.TabularDataByMQLRequest.Builder>
-
getDefaultInstance
-
parser
-