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.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.Timestamp
The time the pipeline was created.boolean
Whether or not the pipeline is enabled.getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
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).com.google.protobuf.Timestamp
The time the pipeline was last updated.boolean
The time the pipeline was created.boolean
The 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.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, 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
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceDataPipelines.DataPipelineOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in 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:
getOrganizationId
in 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:
getOrganizationIdBytes
in 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:
getName
in 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:
getNameBytes
in 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:
getMqlBinaryList
in 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:
getMqlBinaryCount
in 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:
getMqlBinary
in 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:
getSchedule
in 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:
getScheduleBytes
in 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:
getEnabled
in 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:
hasCreatedOn
in 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:
getCreatedOn
in 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:
hasUpdatedAt
in 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:
getUpdatedAt
in 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"];
-