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:
  • 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:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSourceId

      public String getSourceId()
       Source identifier for validation and tracking.
       
      string source_id = 2;
      Specified by:
      getSourceId in interface StreamMetadataOrBuilder
      Returns:
      The sourceId.
    • getSourceIdBytes

      public com.google.protobuf.ByteString getSourceIdBytes()
       Source identifier for validation and tracking.
       
      string source_id = 2;
      Specified by:
      getSourceIdBytes in interface StreamMetadataOrBuilder
      Returns:
      The bytes for sourceId.
    • hasCreatedAt

      public boolean hasCreatedAt()
       Timestamp when the stream was created.
       
      .google.protobuf.Timestamp created_at = 3;
      Specified by:
      hasCreatedAt in interface StreamMetadataOrBuilder
      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;
      Specified by:
      getCreatedAt in interface StreamMetadataOrBuilder
      Returns:
      The createdAt.
    • getCreatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
       Timestamp when the stream was created.
       
      .google.protobuf.Timestamp created_at = 3;
      Specified by:
      getCreatedAtOrBuilder in interface StreamMetadataOrBuilder
    • hasLastProcessedAt

      public boolean hasLastProcessedAt()
       Timestamp when the stream was last processed.
       
      .google.protobuf.Timestamp last_processed_at = 4;
      Specified by:
      hasLastProcessedAt in interface StreamMetadataOrBuilder
      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;
      Specified by:
      getLastProcessedAt in interface StreamMetadataOrBuilder
      Returns:
      The lastProcessedAt.
    • getLastProcessedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastProcessedAtOrBuilder()
       Timestamp when the stream was last processed.
       
      .google.protobuf.Timestamp last_processed_at = 4;
      Specified by:
      getLastProcessedAtOrBuilder in interface StreamMetadataOrBuilder
    • getTraceId

      public String getTraceId()
       Distributed tracing identifier.
       
      string trace_id = 5;
      Specified by:
      getTraceId in interface StreamMetadataOrBuilder
      Returns:
      The traceId.
    • getTraceIdBytes

      public com.google.protobuf.ByteString getTraceIdBytes()
       Distributed tracing identifier.
       
      string trace_id = 5;
      Specified by:
      getTraceIdBytes in interface StreamMetadataOrBuilder
      Returns:
      The bytes for traceId.
    • getHistoryList

      public List<StepExecutionRecord> getHistoryList()
       Complete execution history of all processing steps.
       
      repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;
      Specified by:
      getHistoryList in interface StreamMetadataOrBuilder
    • getHistoryOrBuilderList

      public List<? extends StepExecutionRecordOrBuilder> getHistoryOrBuilderList()
       Complete execution history of all processing steps.
       
      repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;
      Specified by:
      getHistoryOrBuilderList in interface StreamMetadataOrBuilder
    • getHistoryCount

      public int getHistoryCount()
       Complete execution history of all processing steps.
       
      repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;
      Specified by:
      getHistoryCount in interface StreamMetadataOrBuilder
    • getHistory

      public StepExecutionRecord getHistory(int index)
       Complete execution history of all processing steps.
       
      repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;
      Specified by:
      getHistory in interface StreamMetadataOrBuilder
    • getHistoryOrBuilder

      public StepExecutionRecordOrBuilder getHistoryOrBuilder(int index)
       Complete execution history of all processing steps.
       
      repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;
      Specified by:
      getHistoryOrBuilder in interface StreamMetadataOrBuilder
    • hasStreamError

      public boolean hasStreamError()
       Critical stream-level errors if any occurred.
       
      optional .ai.pipestream.data.v1.ErrorData stream_error = 7;
      Specified by:
      hasStreamError in interface StreamMetadataOrBuilder
      Returns:
      Whether the streamError field is set.
    • getStreamError

      public ErrorData getStreamError()
       Critical stream-level errors if any occurred.
       
      optional .ai.pipestream.data.v1.ErrorData stream_error = 7;
      Specified by:
      getStreamError in interface StreamMetadataOrBuilder
      Returns:
      The streamError.
    • getStreamErrorOrBuilder

      public ErrorDataOrBuilder getStreamErrorOrBuilder()
       Critical stream-level errors if any occurred.
       
      optional .ai.pipestream.data.v1.ErrorData stream_error = 7;
      Specified by:
      getStreamErrorOrBuilder in interface StreamMetadataOrBuilder
    • getContextParamsCount

      public int getContextParamsCount()
      Description copied from interface: StreamMetadataOrBuilder
       Stream-level context parameters for processing.
       
      map<string, string> context_params = 8;
      Specified by:
      getContextParamsCount in interface StreamMetadataOrBuilder
    • containsContextParams

      public boolean containsContextParams(String key)
       Stream-level context parameters for processing.
       
      map<string, string> context_params = 8;
      Specified by:
      containsContextParams in interface StreamMetadataOrBuilder
    • getContextParams

      @Deprecated public Map<String,String> getContextParams()
      Deprecated.
      Specified by:
      getContextParams in interface StreamMetadataOrBuilder
    • getContextParamsMap

      public Map<String,String> getContextParamsMap()
       Stream-level context parameters for processing.
       
      map<string, string> context_params = 8;
      Specified by:
      getContextParamsMap in interface StreamMetadataOrBuilder
    • getContextParamsOrDefault

      public String getContextParamsOrDefault(String key, String defaultValue)
       Stream-level context parameters for processing.
       
      map<string, string> context_params = 8;
      Specified by:
      getContextParamsOrDefault in interface StreamMetadataOrBuilder
    • getContextParamsOrThrow

      public String getContextParamsOrThrow(String key)
       Stream-level context parameters for processing.
       
      map<string, string> context_params = 8;
      Specified by:
      getContextParamsOrThrow in interface StreamMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static StreamMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StreamMetadata parseDelimitedFrom(InputStream input) throws IOException
      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

      public StreamMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StreamMetadata.Builder newBuilder()
    • newBuilder

      public static StreamMetadata.Builder newBuilder(StreamMetadata prototype)
    • toBuilder

      public StreamMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StreamMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StreamMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StreamMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<StreamMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public StreamMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder