Package ai.pipestream.data.v1
Class PipeStream
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.PipeStream
- All Implemented Interfaces:
PipeStreamOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class PipeStream
extends com.google.protobuf.GeneratedMessage
implements PipeStreamOrBuilder
TCP-like packet header for node-to-node document processing. Contains the document payload, routing information, processing history, and configuration for the current processing step.Protobuf type
ai.pipestream.data.v1.PipeStream- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTCP-like packet header for node-to-node document processing.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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 intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanCluster where processing is occurring.com.google.protobuf.ByteStringCluster where processing is occurring.Current node processing this stream.com.google.protobuf.ByteStringCurrent node processing this stream.static PipeStreamstatic final com.google.protobuf.Descriptors.DescriptorThe document being processed.The document being processed.longNumber of processing hops taken.Stream metadata including history and tracing.Stream metadata including history and tracing.Configuration for the current node's processing step.Configuration for the current node's processing step.com.google.protobuf.Parser<PipeStream> getProcessingPath(int index) Ordered list of node IDs traversed during processing.com.google.protobuf.ByteStringgetProcessingPathBytes(int index) Ordered list of node IDs traversed during processing.intOrdered list of node IDs traversed during processing.com.google.protobuf.ProtocolStringListOrdered list of node IDs traversed during processing.intUnique identifier for this processing stream.com.google.protobuf.ByteStringUnique identifier for this processing stream.booleanThe document being processed.inthashCode()booleanStream metadata including history and tracing.booleanConfiguration for the current node's processing step.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic PipeStream.Builderstatic PipeStream.BuildernewBuilder(PipeStream prototype) protected PipeStream.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PipeStreamparseDelimitedFrom(InputStream input) static PipeStreamparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PipeStreamparseFrom(byte[] data) static PipeStreamparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PipeStreamparseFrom(com.google.protobuf.ByteString data) static PipeStreamparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PipeStreamparseFrom(com.google.protobuf.CodedInputStream input) static PipeStreamparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PipeStreamparseFrom(InputStream input) static PipeStreamparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PipeStreamparseFrom(ByteBuffer data) static PipeStreamparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PipeStream> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods 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.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STREAM_ID_FIELD_NUMBER
public static final int STREAM_ID_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
DOCUMENT_FIELD_NUMBER
public static final int DOCUMENT_FIELD_NUMBER- See Also:
-
CLUSTER_ID_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER- See Also:
-
CURRENT_NODE_ID_FIELD_NUMBER
public static final int CURRENT_NODE_ID_FIELD_NUMBER- See Also:
-
HOP_COUNT_FIELD_NUMBER
public static final int HOP_COUNT_FIELD_NUMBER- See Also:
-
PROCESSING_PATH_FIELD_NUMBER
public static final int PROCESSING_PATH_FIELD_NUMBER- See Also:
-
NODE_PROCESSING_CONFIG_FIELD_NUMBER
public static final int NODE_PROCESSING_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getStreamId
Unique identifier for this processing stream.
string stream_id = 1 [json_name = "streamId"];- Specified by:
getStreamIdin interfacePipeStreamOrBuilder- Returns:
- The streamId.
-
getStreamIdBytes
public com.google.protobuf.ByteString getStreamIdBytes()Unique identifier for this processing stream.
string stream_id = 1 [json_name = "streamId"];- Specified by:
getStreamIdBytesin interfacePipeStreamOrBuilder- Returns:
- The bytes for streamId.
-
hasMetadata
public boolean hasMetadata()Stream metadata including history and tracing.
.ai.pipestream.data.v1.StreamMetadata metadata = 2 [json_name = "metadata"];- Specified by:
hasMetadatain interfacePipeStreamOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Stream metadata including history and tracing.
.ai.pipestream.data.v1.StreamMetadata metadata = 2 [json_name = "metadata"];- Specified by:
getMetadatain interfacePipeStreamOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
Stream metadata including history and tracing.
.ai.pipestream.data.v1.StreamMetadata metadata = 2 [json_name = "metadata"];- Specified by:
getMetadataOrBuilderin interfacePipeStreamOrBuilder
-
hasDocument
public boolean hasDocument()The document being processed.
.ai.pipestream.data.v1.PipeDoc document = 3 [json_name = "document"];- Specified by:
hasDocumentin interfacePipeStreamOrBuilder- Returns:
- Whether the document field is set.
-
getDocument
The document being processed.
.ai.pipestream.data.v1.PipeDoc document = 3 [json_name = "document"];- Specified by:
getDocumentin interfacePipeStreamOrBuilder- Returns:
- The document.
-
getDocumentOrBuilder
The document being processed.
.ai.pipestream.data.v1.PipeDoc document = 3 [json_name = "document"];- Specified by:
getDocumentOrBuilderin interfacePipeStreamOrBuilder
-
getClusterId
Cluster where processing is occurring.
string cluster_id = 4 [json_name = "clusterId"];- Specified by:
getClusterIdin interfacePipeStreamOrBuilder- Returns:
- The clusterId.
-
getClusterIdBytes
public com.google.protobuf.ByteString getClusterIdBytes()Cluster where processing is occurring.
string cluster_id = 4 [json_name = "clusterId"];- Specified by:
getClusterIdBytesin interfacePipeStreamOrBuilder- Returns:
- The bytes for clusterId.
-
getCurrentNodeId
Current node processing this stream.
string current_node_id = 5 [json_name = "currentNodeId"];- Specified by:
getCurrentNodeIdin interfacePipeStreamOrBuilder- Returns:
- The currentNodeId.
-
getCurrentNodeIdBytes
public com.google.protobuf.ByteString getCurrentNodeIdBytes()Current node processing this stream.
string current_node_id = 5 [json_name = "currentNodeId"];- Specified by:
getCurrentNodeIdBytesin interfacePipeStreamOrBuilder- Returns:
- The bytes for currentNodeId.
-
getHopCount
public long getHopCount()Number of processing hops taken.
int64 hop_count = 6 [json_name = "hopCount"];- Specified by:
getHopCountin interfacePipeStreamOrBuilder- Returns:
- The hopCount.
-
getProcessingPathList
public com.google.protobuf.ProtocolStringList getProcessingPathList()Ordered list of node IDs traversed during processing.
repeated string processing_path = 7 [json_name = "processingPath"];- Specified by:
getProcessingPathListin interfacePipeStreamOrBuilder- Returns:
- A list containing the processingPath.
-
getProcessingPathCount
public int getProcessingPathCount()Ordered list of node IDs traversed during processing.
repeated string processing_path = 7 [json_name = "processingPath"];- Specified by:
getProcessingPathCountin interfacePipeStreamOrBuilder- Returns:
- The count of processingPath.
-
getProcessingPath
Ordered list of node IDs traversed during processing.
repeated string processing_path = 7 [json_name = "processingPath"];- Specified by:
getProcessingPathin interfacePipeStreamOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The processingPath at the given index.
-
getProcessingPathBytes
public com.google.protobuf.ByteString getProcessingPathBytes(int index) Ordered list of node IDs traversed during processing.
repeated string processing_path = 7 [json_name = "processingPath"];- Specified by:
getProcessingPathBytesin interfacePipeStreamOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the processingPath at the given index.
-
hasNodeProcessingConfig
public boolean hasNodeProcessingConfig()Configuration for the current node's processing step.
.ai.pipestream.data.v1.NodeProcessingConfig node_processing_config = 8 [json_name = "nodeProcessingConfig"];- Specified by:
hasNodeProcessingConfigin interfacePipeStreamOrBuilder- Returns:
- Whether the nodeProcessingConfig field is set.
-
getNodeProcessingConfig
Configuration for the current node's processing step.
.ai.pipestream.data.v1.NodeProcessingConfig node_processing_config = 8 [json_name = "nodeProcessingConfig"];- Specified by:
getNodeProcessingConfigin interfacePipeStreamOrBuilder- Returns:
- The nodeProcessingConfig.
-
getNodeProcessingConfigOrBuilder
Configuration for the current node's processing step.
.ai.pipestream.data.v1.NodeProcessingConfig node_processing_config = 8 [json_name = "nodeProcessingConfig"];- Specified by:
getNodeProcessingConfigOrBuilderin interfacePipeStreamOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PipeStream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PipeStream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PipeStream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PipeStream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PipeStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PipeStream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PipeStream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PipeStream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PipeStream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PipeStream.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-