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 Type
    Method
    Description
    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.
    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.
    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
    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"];
    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.
    string organization_id = 1 [json_name = "organizationId"];
    setOrganizationIdBytes(com.google.protobuf.ByteString value)
    string organization_id = 1 [json_name = "organizationId"];

    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

      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.