Package ai.pipestream.data.v1
Class StreamMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StreamMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<StreamMetadata.Builder>
ai.pipestream.data.v1.StreamMetadata.Builder
- All Implemented Interfaces:
StreamMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
StreamMetadata
public static final class StreamMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StreamMetadata.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllHistory(Iterable<? extends StepExecutionRecord> values) Complete execution history of all processing steps.addHistory(int index, StepExecutionRecord value) Complete execution history of all processing steps.addHistory(int index, StepExecutionRecord.Builder builderForValue) Complete execution history of all processing steps.addHistory(StepExecutionRecord value) Complete execution history of all processing steps.addHistory(StepExecutionRecord.Builder builderForValue) Complete execution history of all processing steps.Complete execution history of all processing steps.addHistoryBuilder(int index) Complete execution history of all processing steps.build()clear()Timestamp when the stream was created.Complete execution history of all processing steps.Timestamp when the stream was last processed.Source identifier for validation and tracking.Critical stream-level errors if any occurred.Distributed tracing identifier.booleanStream-level context parameters for processing.Deprecated.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.Timestamp.BuilderTimestamp when the stream was created.com.google.protobuf.TimestampOrBuilderTimestamp when the stream was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHistory(int index) Complete execution history of all processing steps.getHistoryBuilder(int index) Complete execution history of all processing steps.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.Timestamp.BuilderTimestamp when the stream was last processed.com.google.protobuf.TimestampOrBuilderTimestamp when the stream was last processed.Deprecated.Source 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.Critical stream-level errors if any occurred.Distributed tracing identifier.com.google.protobuf.ByteStringDistributed tracing identifier.booleanTimestamp when the stream was created.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) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreatedAt(com.google.protobuf.Timestamp value) Timestamp when the stream was created.mergeFrom(StreamMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastProcessedAt(com.google.protobuf.Timestamp value) Timestamp when the stream was last processed.mergeStreamError(ErrorData value) Critical stream-level errors if any occurred.putAllContextParams(Map<String, String> values) Stream-level context parameters for processing.putContextParams(String key, String value) Stream-level context parameters for processing.Stream-level context parameters for processing.removeHistory(int index) Complete execution history of all processing steps.setCreatedAt(com.google.protobuf.Timestamp value) Timestamp when the stream was created.setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the stream was created.setHistory(int index, StepExecutionRecord value) Complete execution history of all processing steps.setHistory(int index, StepExecutionRecord.Builder builderForValue) Complete execution history of all processing steps.setLastProcessedAt(com.google.protobuf.Timestamp value) Timestamp when the stream was last processed.setLastProcessedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the stream was last processed.setSourceId(String value) Source identifier for validation and tracking.setSourceIdBytes(com.google.protobuf.ByteString value) Source identifier for validation and tracking.setStreamError(ErrorData value) Critical stream-level errors if any occurred.setStreamError(ErrorData.Builder builderForValue) Critical stream-level errors if any occurred.setTraceId(String value) Distributed tracing identifier.setTraceIdBytes(com.google.protobuf.ByteString value) Distributed tracing identifier.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<StreamMetadata.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<StreamMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StreamMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StreamMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StreamMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StreamMetadata.Builder>
-
mergeFrom
public StreamMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamMetadata.Builder>- Throws:
IOException
-
getSourceId
Source identifier for validation and tracking.
string source_id = 2;- Specified by:
getSourceIdin interfaceStreamMetadataOrBuilder- Returns:
- The sourceId.
-
getSourceIdBytes
public com.google.protobuf.ByteString getSourceIdBytes()Source identifier for validation and tracking.
string source_id = 2;- Specified by:
getSourceIdBytesin interfaceStreamMetadataOrBuilder- Returns:
- The bytes for sourceId.
-
setSourceId
Source identifier for validation and tracking.
string source_id = 2;- Parameters:
value- The sourceId to set.- Returns:
- This builder for chaining.
-
clearSourceId
Source identifier for validation and tracking.
string source_id = 2;- Returns:
- This builder for chaining.
-
setSourceIdBytes
Source identifier for validation and tracking.
string source_id = 2;- Parameters:
value- The bytes for sourceId to set.- Returns:
- This builder for chaining.
-
hasCreatedAt
public boolean hasCreatedAt()Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3;- 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;- Specified by:
getCreatedAtin interfaceStreamMetadataOrBuilder- Returns:
- The createdAt.
-
setCreatedAt
Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3; -
setCreatedAt
Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3; -
mergeCreatedAt
Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3; -
clearCreatedAt
Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3; -
getCreatedAtBuilder
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3; -
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()Timestamp when the stream was created.
.google.protobuf.Timestamp created_at = 3;- Specified by:
getCreatedAtOrBuilderin interfaceStreamMetadataOrBuilder
-
hasLastProcessedAt
public boolean hasLastProcessedAt()Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4;- 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;- Specified by:
getLastProcessedAtin interfaceStreamMetadataOrBuilder- Returns:
- The lastProcessedAt.
-
setLastProcessedAt
Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4; -
setLastProcessedAt
public StreamMetadata.Builder setLastProcessedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4; -
mergeLastProcessedAt
Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4; -
clearLastProcessedAt
Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4; -
getLastProcessedAtBuilder
public com.google.protobuf.Timestamp.Builder getLastProcessedAtBuilder()Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4; -
getLastProcessedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastProcessedAtOrBuilder()Timestamp when the stream was last processed.
.google.protobuf.Timestamp last_processed_at = 4;- Specified by:
getLastProcessedAtOrBuilderin interfaceStreamMetadataOrBuilder
-
getTraceId
Distributed tracing identifier.
string trace_id = 5;- Specified by:
getTraceIdin interfaceStreamMetadataOrBuilder- Returns:
- The traceId.
-
getTraceIdBytes
public com.google.protobuf.ByteString getTraceIdBytes()Distributed tracing identifier.
string trace_id = 5;- Specified by:
getTraceIdBytesin interfaceStreamMetadataOrBuilder- Returns:
- The bytes for traceId.
-
setTraceId
Distributed tracing identifier.
string trace_id = 5;- Parameters:
value- The traceId to set.- Returns:
- This builder for chaining.
-
clearTraceId
Distributed tracing identifier.
string trace_id = 5;- Returns:
- This builder for chaining.
-
setTraceIdBytes
Distributed tracing identifier.
string trace_id = 5;- Parameters:
value- The bytes for traceId to set.- Returns:
- This builder for chaining.
-
getHistoryList
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;- Specified by:
getHistoryListin interfaceStreamMetadataOrBuilder
-
getHistoryCount
public int getHistoryCount()Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;- Specified by:
getHistoryCountin interfaceStreamMetadataOrBuilder
-
getHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;- Specified by:
getHistoryin interfaceStreamMetadataOrBuilder
-
setHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
setHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
addHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
addHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
addHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
addHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
addAllHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
clearHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
removeHistory
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
getHistoryBuilder
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
getHistoryOrBuilder
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;- Specified by:
getHistoryOrBuilderin interfaceStreamMetadataOrBuilder
-
getHistoryOrBuilderList
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6;- Specified by:
getHistoryOrBuilderListin interfaceStreamMetadataOrBuilder
-
addHistoryBuilder
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
addHistoryBuilder
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
getHistoryBuilderList
Complete execution history of all processing steps.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 6; -
hasStreamError
public boolean hasStreamError()Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7;- 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;- Specified by:
getStreamErrorin interfaceStreamMetadataOrBuilder- Returns:
- The streamError.
-
setStreamError
Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7; -
setStreamError
Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7; -
mergeStreamError
Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7; -
clearStreamError
Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7; -
getStreamErrorBuilder
Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7; -
getStreamErrorOrBuilder
Critical stream-level errors if any occurred.
optional .ai.pipestream.data.v1.ErrorData stream_error = 7;- Specified by:
getStreamErrorOrBuilderin interfaceStreamMetadataOrBuilder
-
getContextParamsCount
public int getContextParamsCount()Description copied from interface:StreamMetadataOrBuilderStream-level context parameters for processing.
map<string, string> context_params = 8;- Specified by:
getContextParamsCountin interfaceStreamMetadataOrBuilder
-
containsContextParams
Stream-level context parameters for processing.
map<string, string> context_params = 8;- 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;- Specified by:
getContextParamsMapin interfaceStreamMetadataOrBuilder
-
getContextParamsOrDefault
Stream-level context parameters for processing.
map<string, string> context_params = 8;- Specified by:
getContextParamsOrDefaultin interfaceStreamMetadataOrBuilder
-
getContextParamsOrThrow
Stream-level context parameters for processing.
map<string, string> context_params = 8;- Specified by:
getContextParamsOrThrowin interfaceStreamMetadataOrBuilder
-
clearContextParams
-
removeContextParams
Stream-level context parameters for processing.
map<string, string> context_params = 8; -
getMutableContextParams
Deprecated.Use alternate mutation accessors instead. -
putContextParams
Stream-level context parameters for processing.
map<string, string> context_params = 8; -
putAllContextParams
Stream-level context parameters for processing.
map<string, string> context_params = 8;
-