Package ai.pipestream.data.v1
Class StreamMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.StreamMetadata
- All Implemented Interfaces:
StreamMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class StreamMetadata
extends com.google.protobuf.GeneratedMessage
implements StreamMetadataOrBuilder
Metadata for tracking stream processing history and context. Contains execution records, tracing information, and error tracking for a stream.Protobuf type
ai.pipestream.data.v1.StreamMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata for tracking stream processing history and context.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 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 TypeMethodDescriptionbooleanStream-level context parameters for processing.booleanDeprecated.intStream-level context parameters for processing.Stream-level context parameters for processing.getContextParamsOrDefault(String key, String defaultValue) Stream-level context parameters for processing.Stream-level context parameters for processing.com.google.protobuf.TimestampTimestamp when the stream was created.com.google.protobuf.TimestampOrBuilderTimestamp when the stream was created.static StreamMetadatastatic final com.google.protobuf.Descriptors.DescriptorgetHistory(int index) Complete execution history of all processing steps.intComplete execution history of all processing steps.Complete execution history of all processing steps.getHistoryOrBuilder(int index) Complete execution history of all processing steps.List<? extends StepExecutionRecordOrBuilder> Complete execution history of all processing steps.com.google.protobuf.TimestampTimestamp when the stream was last processed.com.google.protobuf.TimestampOrBuilderTimestamp when the stream was last processed.com.google.protobuf.Parser<StreamMetadata> intSource identifier for validation and tracking.com.google.protobuf.ByteStringSource identifier for validation and tracking.Critical stream-level errors if any occurred.Critical stream-level errors if any occurred.Distributed tracing identifier.com.google.protobuf.ByteStringDistributed tracing identifier.booleanTimestamp when the stream was created.inthashCode()booleanTimestamp when the stream was last processed.booleanCritical stream-level errors if any occurred.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic StreamMetadata.Builderstatic StreamMetadata.BuildernewBuilder(StreamMetadata prototype) protected StreamMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static StreamMetadataparseDelimitedFrom(InputStream input) static StreamMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StreamMetadataparseFrom(byte[] data) static StreamMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StreamMetadataparseFrom(com.google.protobuf.ByteString data) static StreamMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StreamMetadataparseFrom(com.google.protobuf.CodedInputStream input) static StreamMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StreamMetadataparseFrom(InputStream input) static StreamMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StreamMetadataparseFrom(ByteBuffer data) static StreamMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StreamMetadata> 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, 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
-
SOURCE_ID_FIELD_NUMBER
public static final int SOURCE_ID_FIELD_NUMBER- See Also:
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER- See Also:
-
LAST_PROCESSED_AT_FIELD_NUMBER
public static final int LAST_PROCESSED_AT_FIELD_NUMBER- See Also:
-
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER- See Also:
-
HISTORY_FIELD_NUMBER
public static final int HISTORY_FIELD_NUMBER- See Also:
-
STREAM_ERROR_FIELD_NUMBER
public static final int STREAM_ERROR_FIELD_NUMBER- See Also:
-
CONTEXT_PARAMS_FIELD_NUMBER
public static final int CONTEXT_PARAMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSourceId
Source identifier for validation and tracking.
string source_id = 2 [json_name = "sourceId"];- Specified by:
getSourceIdin interfaceStreamMetadataOrBuilder- Returns:
- The sourceId.
-
getSourceIdBytes
public com.google.protobuf.ByteString getSourceIdBytes()Source identifier for validation and tracking.
string source_id = 2 [json_name = "sourceId"];- Specified by:
getSourceIdBytesin interfaceStreamMetadataOrBuilder- Returns:
- The bytes for sourceId.
-
hasCreatedAt
public boolean hasCreatedAt()Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];- Specified by:
hasCreatedAtin interfaceStreamMetadataOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt()Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];- Specified by:
getCreatedAtin interfaceStreamMetadataOrBuilder- Returns:
- The createdAt.
-
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];- Specified by:
getCreatedAtOrBuilderin interfaceStreamMetadataOrBuilder
-
hasLastProcessedAt
public boolean hasLastProcessedAt()Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4 [json_name = "lastProcessedAt"];- Specified by:
hasLastProcessedAtin interfaceStreamMetadataOrBuilder- Returns:
- Whether the lastProcessedAt field is set.
-
getLastProcessedAt
public com.google.protobuf.Timestamp getLastProcessedAt()Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4 [json_name = "lastProcessedAt"];- Specified by:
getLastProcessedAtin interfaceStreamMetadataOrBuilder- Returns:
- The lastProcessedAt.
-
getLastProcessedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastProcessedAtOrBuilder()Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4 [json_name = "lastProcessedAt"];- Specified by:
getLastProcessedAtOrBuilderin interfaceStreamMetadataOrBuilder
-
getTraceId
Distributed tracing identifier.
string trace_id = 5 [json_name = "traceId"];- Specified by:
getTraceIdin interfaceStreamMetadataOrBuilder- Returns:
- The traceId.
-
getTraceIdBytes
public com.google.protobuf.ByteString getTraceIdBytes()Distributed tracing identifier.
string trace_id = 5 [json_name = "traceId"];- Specified by:
getTraceIdBytesin interfaceStreamMetadataOrBuilder- Returns:
- The bytes for traceId.
-
getHistoryList
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6 [json_name = "history"];- Specified by:
getHistoryListin interfaceStreamMetadataOrBuilder
-
getHistoryOrBuilderList
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6 [json_name = "history"];- Specified by:
getHistoryOrBuilderListin interfaceStreamMetadataOrBuilder
-
getHistoryCount
public int getHistoryCount()Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6 [json_name = "history"];- Specified by:
getHistoryCountin interfaceStreamMetadataOrBuilder
-
getHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6 [json_name = "history"];- Specified by:
getHistoryin interfaceStreamMetadataOrBuilder
-
getHistoryOrBuilder
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6 [json_name = "history"];- Specified by:
getHistoryOrBuilderin interfaceStreamMetadataOrBuilder
-
hasStreamError
public boolean hasStreamError()Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7 [json_name = "streamError"];- Specified by:
hasStreamErrorin interfaceStreamMetadataOrBuilder- Returns:
- Whether the streamError field is set.
-
getStreamError
Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7 [json_name = "streamError"];- Specified by:
getStreamErrorin interfaceStreamMetadataOrBuilder- Returns:
- The streamError.
-
getStreamErrorOrBuilder
Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7 [json_name = "streamError"];- Specified by:
getStreamErrorOrBuilderin interfaceStreamMetadataOrBuilder
-
getContextParamsCount
public int getContextParamsCount()Description copied from interface:StreamMetadataOrBuilderStream-level context parameters for processing.
map<string, string> context_params = 8 [json_name = "contextParams"];- Specified by:
getContextParamsCountin interfaceStreamMetadataOrBuilder
-
containsContextParams
Stream-level context parameters for processing.
map<string, string> context_params = 8 [json_name = "contextParams"];- Specified by:
containsContextParamsin interfaceStreamMetadataOrBuilder
-
getContextParams
Deprecated.UsegetContextParamsMap()instead.- Specified by:
getContextParamsin interfaceStreamMetadataOrBuilder
-
getContextParamsMap
Stream-level context parameters for processing.
map<string, string> context_params = 8 [json_name = "contextParams"];- Specified by:
getContextParamsMapin interfaceStreamMetadataOrBuilder
-
getContextParamsOrDefault
Stream-level context parameters for processing.
map<string, string> context_params = 8 [json_name = "contextParams"];- Specified by:
getContextParamsOrDefaultin interfaceStreamMetadataOrBuilder
-
getContextParamsOrThrow
Stream-level context parameters for processing.
map<string, string> context_params = 8 [json_name = "contextParams"];- Specified by:
getContextParamsOrThrowin interfaceStreamMetadataOrBuilder
-
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 StreamMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StreamMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StreamMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StreamMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StreamMetadata 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 StreamMetadata.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
-