Package viam.app.datapipelines.v1
Class DataPipelines.DataPipeline
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<DataPipelines.DataPipeline,DataPipelines.DataPipeline.Builder>
viam.app.datapipelines.v1.DataPipelines.DataPipeline
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,DataPipelines.DataPipelineOrBuilder
- Enclosing class:
- DataPipelines
public static final class DataPipelines.DataPipeline
extends com.google.protobuf.GeneratedMessageLite<DataPipelines.DataPipeline,DataPipelines.DataPipeline.Builder>
implements DataPipelines.DataPipelineOrBuilder
Protobuf type
viam.app.datapipelines.v1.DataPipeline-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.app.datapipelines.v1.DataPipelineNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) 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.static DataPipelines.DataPipelinebooleanWhether 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.newBuilder(DataPipelines.DataPipeline prototype) static DataPipelines.DataPipelineparseDelimitedFrom(InputStream input) static DataPipelines.DataPipelineparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataPipelines.DataPipelineparseFrom(byte[] data) static DataPipelines.DataPipelineparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataPipelines.DataPipelineparseFrom(com.google.protobuf.ByteString data) static DataPipelines.DataPipelineparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataPipelines.DataPipelineparseFrom(com.google.protobuf.CodedInputStream input) static DataPipelines.DataPipelineparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataPipelines.DataPipelineparseFrom(InputStream input) static DataPipelines.DataPipelineparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataPipelines.DataPipelineparseFrom(ByteBuffer data) static DataPipelines.DataPipelineparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataPipelines.DataPipeline>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
ORGANIZATION_ID_FIELD_NUMBER
public static final int ORGANIZATION_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
MQL_BINARY_FIELD_NUMBER
public static final int MQL_BINARY_FIELD_NUMBER- See Also:
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER- See Also:
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER- See Also:
-
CREATED_ON_FIELD_NUMBER
public static final int CREATED_ON_FIELD_NUMBER- See Also:
-
UPDATED_AT_FIELD_NUMBER
public static final int UPDATED_AT_FIELD_NUMBER- See Also:
-
DATA_SOURCE_TYPE_FIELD_NUMBER
public static final int DATA_SOURCE_TYPE_FIELD_NUMBER- See Also:
-
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataPipelines.DataPipeline parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataPipelines.DataPipeline parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<DataPipelines.DataPipeline,DataPipelines.DataPipeline.Builder>
-
getDefaultInstance
-
parser
-