Package viam.app.datapipelines.v1
Class DataPipelines.CreateDataPipelineRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataPipelines.CreateDataPipelineRequest,DataPipelines.CreateDataPipelineRequest.Builder>
viam.app.datapipelines.v1.DataPipelines.CreateDataPipelineRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,DataPipelines.CreateDataPipelineRequestOrBuilder
- Enclosing class:
- DataPipelines.CreateDataPipelineRequest
public static final class DataPipelines.CreateDataPipelineRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataPipelines.CreateDataPipelineRequest,DataPipelines.CreateDataPipelineRequest.Builder>
implements DataPipelines.CreateDataPipelineRequestOrBuilder
Protobuf type
viam.app.datapipelines.v1.CreateDataPipelineRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMqlBinary
(Iterable<? extends com.google.protobuf.ByteString> values) 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) A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.The type of data source for the pipeline.When true, pipeline runs will be scheduled for the organization's past data.A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.A unique identifier at the org level.The associated Viam organization ID.A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).The type of data source for the pipeline.int
The type of data source for the pipeline.boolean
When true, pipeline runs will be scheduled for the organization's past data.com.google.protobuf.ByteString
getMqlBinary
(int index) A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.int
A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.List<com.google.protobuf.ByteString>
A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.getName()
A unique identifier at the org level.com.google.protobuf.ByteString
A unique identifier at the org level.The associated Viam organization ID.com.google.protobuf.ByteString
The associated Viam organization ID.A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).com.google.protobuf.ByteString
A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).boolean
The type of data source for the pipeline.boolean
When true, pipeline runs will be scheduled for the organization's past data.The type of data source for the pipeline.setDataSourceTypeValue
(int value) The type of data source for the pipeline.setEnableBackfill
(boolean value) When true, pipeline runs will be scheduled for the organization's past data.setMqlBinary
(int index, com.google.protobuf.ByteString value) A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.A unique identifier at the org level.setNameBytes
(com.google.protobuf.ByteString value) A unique identifier at the org level.setOrganizationId
(String value) The associated Viam organization ID.setOrganizationIdBytes
(com.google.protobuf.ByteString value) The associated Viam organization ID.setSchedule
(String value) A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).setScheduleBytes
(com.google.protobuf.ByteString value) A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).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
The associated Viam organization ID.
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()The associated Viam organization ID.
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
The associated Viam organization ID.
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
The associated Viam organization ID.
string organization_id = 1 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public DataPipelines.CreateDataPipelineRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) The associated Viam organization ID.
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getName
A unique identifier at the org level.
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A unique identifier at the org level.
string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
A unique identifier at the org level.
string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
A unique identifier at the org level.
string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
public DataPipelines.CreateDataPipelineRequest.Builder setNameBytes(com.google.protobuf.ByteString value) A unique identifier at the org level.
string name = 2 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getMqlBinaryList
A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Specified by:
getMqlBinaryList
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- A list containing the mqlBinary.
-
getMqlBinaryCount
public int getMqlBinaryCount()A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Specified by:
getMqlBinaryCount
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The count of mqlBinary.
-
getMqlBinary
public com.google.protobuf.ByteString getMqlBinary(int index) A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Specified by:
getMqlBinary
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The mqlBinary at the given index.
-
setMqlBinary
public DataPipelines.CreateDataPipelineRequest.Builder setMqlBinary(int index, com.google.protobuf.ByteString value) A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Parameters:
value
- The mqlBinary to set.- Returns:
- This builder for chaining.
-
addMqlBinary
public DataPipelines.CreateDataPipelineRequest.Builder addMqlBinary(com.google.protobuf.ByteString value) A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Parameters:
value
- The mqlBinary to add.- Returns:
- This builder for chaining.
-
addAllMqlBinary
public DataPipelines.CreateDataPipelineRequest.Builder addAllMqlBinary(Iterable<? extends com.google.protobuf.ByteString> values) A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Parameters:
values
- The mqlBinary to add.- Returns:
- This builder for chaining.
-
clearMqlBinary
A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Returns:
- This builder for chaining.
-
getSchedule
A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).
string schedule = 4 [json_name = "schedule"];
- Specified by:
getSchedule
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The schedule.
-
getScheduleBytes
public com.google.protobuf.ByteString getScheduleBytes()A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).
string schedule = 4 [json_name = "schedule"];
- Specified by:
getScheduleBytes
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The bytes for schedule.
-
setSchedule
A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).
string schedule = 4 [json_name = "schedule"];
- Parameters:
value
- The schedule to set.- Returns:
- This builder for chaining.
-
clearSchedule
A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).
string schedule = 4 [json_name = "schedule"];
- Returns:
- This builder for chaining.
-
setScheduleBytes
public DataPipelines.CreateDataPipelineRequest.Builder setScheduleBytes(com.google.protobuf.ByteString value) A cron expression representing the expected execution schedule in UTC (note this also defines the input time window; an hourly schedule would process 1 hour of data at a time).
string schedule = 4 [json_name = "schedule"];
- Parameters:
value
- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
hasEnableBackfill
public boolean hasEnableBackfill()When true, pipeline runs will be scheduled for the organization's past data.
optional bool enable_backfill = 5 [json_name = "enableBackfill"];
- Specified by:
hasEnableBackfill
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- Whether the enableBackfill field is set.
-
getEnableBackfill
public boolean getEnableBackfill()When true, pipeline runs will be scheduled for the organization's past data.
optional bool enable_backfill = 5 [json_name = "enableBackfill"];
- Specified by:
getEnableBackfill
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The enableBackfill.
-
setEnableBackfill
When true, pipeline runs will be scheduled for the organization's past data.
optional bool enable_backfill = 5 [json_name = "enableBackfill"];
- Parameters:
value
- The enableBackfill to set.- Returns:
- This builder for chaining.
-
clearEnableBackfill
When true, pipeline runs will be scheduled for the organization's past data.
optional bool enable_backfill = 5 [json_name = "enableBackfill"];
- Returns:
- This builder for chaining.
-
hasDataSourceType
public boolean hasDataSourceType()The type of data source for the pipeline. If not specified, default is standard data storage.
optional .viam.app.data.v1.TabularDataSourceType data_source_type = 6 [json_name = "dataSourceType"];
- Specified by:
hasDataSourceType
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- Whether the dataSourceType field is set.
-
getDataSourceTypeValue
public int getDataSourceTypeValue()The type of data source for the pipeline. If not specified, default is standard data storage.
optional .viam.app.data.v1.TabularDataSourceType data_source_type = 6 [json_name = "dataSourceType"];
- Specified by:
getDataSourceTypeValue
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The enum numeric value on the wire for dataSourceType.
-
setDataSourceTypeValue
The type of data source for the pipeline. If not specified, default is standard data storage.
optional .viam.app.data.v1.TabularDataSourceType data_source_type = 6 [json_name = "dataSourceType"];
- Parameters:
value
- The dataSourceType to set.- Returns:
- This builder for chaining.
-
getDataSourceType
The type of data source for the pipeline. If not specified, default is standard data storage.
optional .viam.app.data.v1.TabularDataSourceType data_source_type = 6 [json_name = "dataSourceType"];
- Specified by:
getDataSourceType
in interfaceDataPipelines.CreateDataPipelineRequestOrBuilder
- Returns:
- The dataSourceType.
-
setDataSourceType
public DataPipelines.CreateDataPipelineRequest.Builder setDataSourceType(Data.TabularDataSourceType value) The type of data source for the pipeline. If not specified, default is standard data storage.
optional .viam.app.data.v1.TabularDataSourceType data_source_type = 6 [json_name = "dataSourceType"];
- Parameters:
value
- The enum numeric value on the wire for dataSourceType to set.- Returns:
- This builder for chaining.
-
clearDataSourceType
The type of data source for the pipeline. If not specified, default is standard data storage.
optional .viam.app.data.v1.TabularDataSourceType data_source_type = 6 [json_name = "dataSourceType"];
- Returns:
- This builder for chaining.
-