Package viam.app.datapipelines.v1
Class DataPipelines.DataPipeline.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DataPipelines.DataPipeline,DataPipelines.DataPipeline.Builder>
viam.app.datapipelines.v1.DataPipelines.DataPipeline.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,DataPipelines.DataPipelineOrBuilder
- Enclosing class:
- DataPipelines.DataPipeline
public static final class DataPipelines.DataPipeline.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DataPipelines.DataPipeline,DataPipelines.DataPipeline.Builder>
implements DataPipelines.DataPipelineOrBuilder
Protobuf type
viam.app.datapipelines.v1.DataPipeline-
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 time the pipeline was created.The type of data source for the pipeline.Whether or not the pipeline is enabled.clearId()string id = 1 [json_name = "id"];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 time the pipeline was last updated.com.google.protobuf.TimestampThe time the pipeline was created.The type of data source for the pipeline.intThe type of data source for the pipeline.booleanWhether or not the pipeline is enabled.getId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringstring id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetMqlBinary(int index) A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.intA 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.ByteStringA unique identifier at the org level.The associated Viam organization ID.com.google.protobuf.ByteStringThe 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.ByteStringA 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.TimestampThe time the pipeline was last updated.booleanThe time the pipeline was created.booleanThe type of data source for the pipeline.booleanThe time the pipeline was last updated.mergeCreatedOn(com.google.protobuf.Timestamp value) The time the pipeline was created.mergeUpdatedAt(com.google.protobuf.Timestamp value) The time the pipeline was last updated.setCreatedOn(com.google.protobuf.Timestamp value) The time the pipeline was created.setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) The time the pipeline was created.The type of data source for the pipeline.setDataSourceTypeValue(int value) The type of data source for the pipeline.setEnabled(boolean value) Whether or not the pipeline is enabled.string id = 1 [json_name = "id"];setIdBytes(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];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).setUpdatedAt(com.google.protobuf.Timestamp value) The time the pipeline was last updated.setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) The time the pipeline was last updated.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getOrganizationId
The associated Viam organization ID.
string organization_id = 2 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()The associated Viam organization ID.
string organization_id = 2 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The bytes for organizationId.
-
setOrganizationId
The associated Viam organization ID.
string organization_id = 2 [json_name = "organizationId"];- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
The associated Viam organization ID.
string organization_id = 2 [json_name = "organizationId"];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public DataPipelines.DataPipeline.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) The associated Viam organization ID.
string organization_id = 2 [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 = 3 [json_name = "name"];- Specified by:
getNamein interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A unique identifier at the org level.
string name = 3 [json_name = "name"];- Specified by:
getNameBytesin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The bytes for name.
-
setName
A unique identifier at the org level.
string name = 3 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
A unique identifier at the org level.
string name = 3 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
A unique identifier at the org level.
string name = 3 [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 = 4 [json_name = "mqlBinary"];- Specified by:
getMqlBinaryListin interfaceDataPipelines.DataPipelineOrBuilder- 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 = 4 [json_name = "mqlBinary"];- Specified by:
getMqlBinaryCountin interfaceDataPipelines.DataPipelineOrBuilder- 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 = 4 [json_name = "mqlBinary"];- Specified by:
getMqlBinaryin interfaceDataPipelines.DataPipelineOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The mqlBinary at the given index.
-
setMqlBinary
public DataPipelines.DataPipeline.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 = 4 [json_name = "mqlBinary"];- Parameters:
value- The mqlBinary to set.- Returns:
- This builder for chaining.
-
addMqlBinary
A MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.
repeated bytes mql_binary = 4 [json_name = "mqlBinary"];- Parameters:
value- The mqlBinary to add.- Returns:
- This builder for chaining.
-
addAllMqlBinary
public DataPipelines.DataPipeline.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 = 4 [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 = 4 [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 = 5 [json_name = "schedule"];- Specified by:
getSchedulein interfaceDataPipelines.DataPipelineOrBuilder- 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 = 5 [json_name = "schedule"];- Specified by:
getScheduleBytesin interfaceDataPipelines.DataPipelineOrBuilder- 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 = 5 [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 = 5 [json_name = "schedule"];- Returns:
- This builder for chaining.
-
setScheduleBytes
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 = 5 [json_name = "schedule"];- Parameters:
value- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
getEnabled
public boolean getEnabled()Whether or not the pipeline is enabled.
bool enabled = 6 [json_name = "enabled"];- Specified by:
getEnabledin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The enabled.
-
setEnabled
Whether or not the pipeline is enabled.
bool enabled = 6 [json_name = "enabled"];- Parameters:
value- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
Whether or not the pipeline is enabled.
bool enabled = 6 [json_name = "enabled"];- Returns:
- This builder for chaining.
-
hasCreatedOn
public boolean hasCreatedOn()The time the pipeline was created.
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];- Specified by:
hasCreatedOnin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
public com.google.protobuf.Timestamp getCreatedOn()The time the pipeline was created.
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"];- Specified by:
getCreatedOnin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The createdOn.
-
setCreatedOn
The time the pipeline was created.
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"]; -
setCreatedOn
public DataPipelines.DataPipeline.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) The time the pipeline was created.
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"]; -
mergeCreatedOn
The time the pipeline was created.
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"]; -
clearCreatedOn
The time the pipeline was created.
.google.protobuf.Timestamp created_on = 7 [json_name = "createdOn"]; -
hasUpdatedAt
public boolean hasUpdatedAt()The time the pipeline was last updated.
.google.protobuf.Timestamp updated_at = 8 [json_name = "updatedAt"];- Specified by:
hasUpdatedAtin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- Whether the updatedAt field is set.
-
getUpdatedAt
public com.google.protobuf.Timestamp getUpdatedAt()The time the pipeline was last updated.
.google.protobuf.Timestamp updated_at = 8 [json_name = "updatedAt"];- Specified by:
getUpdatedAtin interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The updatedAt.
-
setUpdatedAt
The time the pipeline was last updated.
.google.protobuf.Timestamp updated_at = 8 [json_name = "updatedAt"]; -
setUpdatedAt
public DataPipelines.DataPipeline.Builder setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) The time the pipeline was last updated.
.google.protobuf.Timestamp updated_at = 8 [json_name = "updatedAt"]; -
mergeUpdatedAt
The time the pipeline was last updated.
.google.protobuf.Timestamp updated_at = 8 [json_name = "updatedAt"]; -
clearUpdatedAt
The time the pipeline was last updated.
.google.protobuf.Timestamp updated_at = 8 [json_name = "updatedAt"]; -
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 = 9 [json_name = "dataSourceType"];- Specified by:
hasDataSourceTypein interfaceDataPipelines.DataPipelineOrBuilder- 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 = 9 [json_name = "dataSourceType"];- Specified by:
getDataSourceTypeValuein interfaceDataPipelines.DataPipelineOrBuilder- 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 = 9 [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 = 9 [json_name = "dataSourceType"];- Specified by:
getDataSourceTypein interfaceDataPipelines.DataPipelineOrBuilder- Returns:
- The dataSourceType.
-
setDataSourceType
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 = 9 [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 = 9 [json_name = "dataSourceType"];- Returns:
- This builder for chaining.
-