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"];
Deprecated, 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.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.int
mql_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.ByteString
string organization_id = 1 [json_name = "organizationId"];
boolean
Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.boolean
data_source is an optional field that can be used to specify the data source for the query.boolean
Deprecated, 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"];
setUseRecentData
(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, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceData.TabularDataByMQLRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in 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:
getMqlBinaryList
in 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:
getMqlBinaryCount
in 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:
getMqlBinary
in 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:
hasUseRecentData
in 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:
getUseRecentData
in 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:
hasDataSource
in 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:
getDataSource
in 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"];
-