Class Data.TabularDataBySQLRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.TabularDataBySQLRequest,Data.TabularDataBySQLRequest.Builder>
viam.app.data.v1.Data.TabularDataBySQLRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Data.TabularDataBySQLRequestOrBuilder
Enclosing class:
Data.TabularDataBySQLRequest

public static final class Data.TabularDataBySQLRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Data.TabularDataBySQLRequest,Data.TabularDataBySQLRequest.Builder> implements Data.TabularDataBySQLRequestOrBuilder
 TabularDataBySQLRequest requests tabular data using a SQL query.
 
Protobuf type viam.app.data.v1.TabularDataBySQLRequest
  • Method Details

    • getOrganizationId

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

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

      public Data.TabularDataBySQLRequest.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.TabularDataBySQLRequest.Builder clearOrganizationId()
      string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public Data.TabularDataBySQLRequest.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.
    • getSqlQuery

      public String getSqlQuery()
       sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database
       called "sensorData" and a table called readings, so queries should select from "readings"
       or "sensorData.readings".
       
      string sql_query = 2 [json_name = "sqlQuery"];
      Specified by:
      getSqlQuery in interface Data.TabularDataBySQLRequestOrBuilder
      Returns:
      The sqlQuery.
    • getSqlQueryBytes

      public com.google.protobuf.ByteString getSqlQueryBytes()
       sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database
       called "sensorData" and a table called readings, so queries should select from "readings"
       or "sensorData.readings".
       
      string sql_query = 2 [json_name = "sqlQuery"];
      Specified by:
      getSqlQueryBytes in interface Data.TabularDataBySQLRequestOrBuilder
      Returns:
      The bytes for sqlQuery.
    • setSqlQuery

      public Data.TabularDataBySQLRequest.Builder setSqlQuery(String value)
       sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database
       called "sensorData" and a table called readings, so queries should select from "readings"
       or "sensorData.readings".
       
      string sql_query = 2 [json_name = "sqlQuery"];
      Parameters:
      value - The sqlQuery to set.
      Returns:
      This builder for chaining.
    • clearSqlQuery

      public Data.TabularDataBySQLRequest.Builder clearSqlQuery()
       sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database
       called "sensorData" and a table called readings, so queries should select from "readings"
       or "sensorData.readings".
       
      string sql_query = 2 [json_name = "sqlQuery"];
      Returns:
      This builder for chaining.
    • setSqlQueryBytes

      public Data.TabularDataBySQLRequest.Builder setSqlQueryBytes(com.google.protobuf.ByteString value)
       sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database
       called "sensorData" and a table called readings, so queries should select from "readings"
       or "sensorData.readings".
       
      string sql_query = 2 [json_name = "sqlQuery"];
      Parameters:
      value - The bytes for sqlQuery to set.
      Returns:
      This builder for chaining.