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
  • Method Details

    • getOrganizationId

      public String getOrganizationId()
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface Data.TabularDataByMQLRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface Data.TabularDataByMQLRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public Data.TabularDataByMQLRequest.Builder setOrganizationId(String value)
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public Data.TabularDataByMQLRequest.Builder 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

      public List<com.google.protobuf.ByteString> 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 interface Data.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 interface Data.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 interface Data.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

      public Data.TabularDataByMQLRequest.Builder 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. 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

      public Data.TabularDataByMQLRequest.Builder 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 interface Data.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 interface Data.TabularDataByMQLRequestOrBuilder
      Returns:
      The useRecentData.
    • setUseRecentData

      public Data.TabularDataByMQLRequest.Builder setUseRecentData(boolean value)
       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

      public Data.TabularDataByMQLRequest.Builder 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 interface Data.TabularDataByMQLRequestOrBuilder
      Returns:
      Whether the dataSource field is set.
    • getDataSource

      public Data.TabularDataSource 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 interface Data.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

       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

      public Data.TabularDataByMQLRequest.Builder 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"];