Package viam.app.data.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring organization_id = 1 [json_name = "organizationId"];
sql_query accepts any valid SQL SELECT statement.string organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
sql_query accepts any valid SQL SELECT statement.com.google.protobuf.ByteString
sql_query accepts any valid SQL SELECT statement.setOrganizationId
(String value) string organization_id = 1 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
setSqlQuery
(String value) sql_query accepts any valid SQL SELECT statement.setSqlQueryBytes
(com.google.protobuf.ByteString value) sql_query accepts any valid SQL SELECT statement.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.TabularDataBySQLRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceData.TabularDataBySQLRequestOrBuilder
- 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.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
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 interfaceData.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 interfaceData.TabularDataBySQLRequestOrBuilder
- Returns:
- The bytes for sqlQuery.
-
setSqlQuery
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
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
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.
-