Class Data.TabularDataSource.Builder

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

public static final class Data.TabularDataSource.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Data.TabularDataSource,Data.TabularDataSource.Builder> implements Data.TabularDataSourceOrBuilder
 TabularDataSource specifies the data source for user queries to execute on.
 
Protobuf type viam.app.data.v1.TabularDataSource
  • Method Details

    • getTypeValue

      public int getTypeValue()
      .viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
      Specified by:
      getTypeValue in interface Data.TabularDataSourceOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Data.TabularDataSource.Builder setTypeValue(int value)
      .viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • getType

      public Data.TabularDataSourceType getType()
      .viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
      Specified by:
      getType in interface Data.TabularDataSourceOrBuilder
      Returns:
      The type.
    • setType

      .viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Data.TabularDataSource.Builder clearType()
      .viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
      Returns:
      This builder for chaining.
    • hasPipelineId

      public boolean hasPipelineId()
       pipeline_id is the ID of the pipeline to query. Required when using
       TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.
       
      optional string pipeline_id = 2 [json_name = "pipelineId"];
      Specified by:
      hasPipelineId in interface Data.TabularDataSourceOrBuilder
      Returns:
      Whether the pipelineId field is set.
    • getPipelineId

      public String getPipelineId()
       pipeline_id is the ID of the pipeline to query. Required when using
       TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.
       
      optional string pipeline_id = 2 [json_name = "pipelineId"];
      Specified by:
      getPipelineId in interface Data.TabularDataSourceOrBuilder
      Returns:
      The pipelineId.
    • getPipelineIdBytes

      public com.google.protobuf.ByteString getPipelineIdBytes()
       pipeline_id is the ID of the pipeline to query. Required when using
       TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.
       
      optional string pipeline_id = 2 [json_name = "pipelineId"];
      Specified by:
      getPipelineIdBytes in interface Data.TabularDataSourceOrBuilder
      Returns:
      The bytes for pipelineId.
    • setPipelineId

      public Data.TabularDataSource.Builder setPipelineId(String value)
       pipeline_id is the ID of the pipeline to query. Required when using
       TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.
       
      optional string pipeline_id = 2 [json_name = "pipelineId"];
      Parameters:
      value - The pipelineId to set.
      Returns:
      This builder for chaining.
    • clearPipelineId

      public Data.TabularDataSource.Builder clearPipelineId()
       pipeline_id is the ID of the pipeline to query. Required when using
       TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.
       
      optional string pipeline_id = 2 [json_name = "pipelineId"];
      Returns:
      This builder for chaining.
    • setPipelineIdBytes

      public Data.TabularDataSource.Builder setPipelineIdBytes(com.google.protobuf.ByteString value)
       pipeline_id is the ID of the pipeline to query. Required when using
       TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.
       
      optional string pipeline_id = 2 [json_name = "pipelineId"];
      Parameters:
      value - The bytes for pipelineId to set.
      Returns:
      This builder for chaining.