Package viam.app.data.v1
Class Data.TabularDataByMQLRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.TabularDataByMQLRequest,Data.TabularDataByMQLRequest.Builder>
viam.app.data.v1.Data.TabularDataByMQLRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,Data.TabularDataByMQLRequestOrBuilder
- Enclosing class:
- Data.TabularDataByMQLRequest
public static final class Data.TabularDataByMQLRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.TabularDataByMQLRequest,Data.TabularDataByMQLRequest.Builder>
implements Data.TabularDataByMQLRequestOrBuilder
TabularDataByMQLRequest requests tabular data using an MQL query.Protobuf type
viam.app.data.v1.TabularDataByMQLRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllMqlBinary(Iterable<? extends com.google.protobuf.ByteString> values) mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.addMqlBinary(com.google.protobuf.ByteString value) mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.data_source is an optional field that can be used to specify the data source for the query.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"];query_prefix_name is an optional field that can be used to specify a saved query to runDeprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.data_source is an optional field that can be used to specify the data source for the query.com.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.data_source is an optional field that can be used to specify the data source for the query.data_source is an optional field that can be used to specify the data source for the query.setDataSource(Data.TabularDataSource.Builder builderForValue) data_source is an optional field that can be used to specify the data source for the query.setMqlBinary(int index, com.google.protobuf.ByteString value) mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.setOrganizationId(String value) string organization_id = 1 [json_name = "organizationId"];setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];setQueryPrefixName(String value) query_prefix_name is an optional field that can be used to specify a saved query to runsetQueryPrefixNameBytes(com.google.protobuf.ByteString value) query_prefix_name is an optional field that can be used to specify a saved query to runsetUseRecentData(boolean value) Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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.
-
setOrganizationId
string organization_id = 1 [json_name = "organizationId"];- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 1 [json_name = "organizationId"];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public Data.TabularDataByMQLRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];- Parameters:
value- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
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.
-
setMqlBinary
public Data.TabularDataByMQLRequest.Builder setMqlBinary(int index, com.google.protobuf.ByteString value) 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"];- Parameters:
value- The mqlBinary to set.- Returns:
- This builder for chaining.
-
addMqlBinary
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"];- Parameters:
value- The mqlBinary to add.- Returns:
- This builder for chaining.
-
addAllMqlBinary
public Data.TabularDataByMQLRequest.Builder addAllMqlBinary(Iterable<? extends com.google.protobuf.ByteString> values) 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"];- Parameters:
values- The mqlBinary to add.- Returns:
- This builder for chaining.
-
clearMqlBinary
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"];- Returns:
- This builder for chaining.
-
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.
-
setUseRecentData
Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.
optional bool use_recent_data = 4 [json_name = "useRecentData"];- Parameters:
value- The useRecentData to set.- Returns:
- This builder for chaining.
-
clearUseRecentData
Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.
optional bool use_recent_data = 4 [json_name = "useRecentData"];- Returns:
- This builder for chaining.
-
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.
-
setDataSource
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"]; -
setDataSource
public Data.TabularDataByMQLRequest.Builder setDataSource(Data.TabularDataSource.Builder builderForValue) 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"]; -
mergeDataSource
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"]; -
clearDataSource
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"]; -
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.
-
setQueryPrefixName
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"];- Parameters:
value- The queryPrefixName to set.- Returns:
- This builder for chaining.
-
clearQueryPrefixName
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"];- Returns:
- This builder for chaining.
-
setQueryPrefixNameBytes
public Data.TabularDataByMQLRequest.Builder setQueryPrefixNameBytes(com.google.protobuf.ByteString value) 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"];- Parameters:
value- The bytes for queryPrefixName to set.- Returns:
- This builder for chaining.
-