Package viam.app.data.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionpipeline_id is the ID of the pipeline to query..viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
pipeline_id is the ID of the pipeline to query.com.google.protobuf.ByteString
pipeline_id is the ID of the pipeline to query.getType()
.viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
int
.viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
boolean
pipeline_id is the ID of the pipeline to query.setPipelineId
(String value) pipeline_id is the ID of the pipeline to query.setPipelineIdBytes
(com.google.protobuf.ByteString value) pipeline_id is the ID of the pipeline to query..viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
setTypeValue
(int value) .viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
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
-
getTypeValue
public int getTypeValue().viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
- Specified by:
getTypeValue
in interfaceData.TabularDataSourceOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
getType
.viam.app.data.v1.TabularDataSourceType type = 1 [json_name = "type"];
- Specified by:
getType
in interfaceData.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
.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 interfaceData.TabularDataSourceOrBuilder
- Returns:
- Whether the pipelineId field is set.
-
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 interfaceData.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 interfaceData.TabularDataSourceOrBuilder
- Returns:
- The bytes for pipelineId.
-
setPipelineId
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
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
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.
-