Package ai.pipestream.data.module.v1
Class ServiceMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServiceMetadata.Builder>
com.google.protobuf.GeneratedMessage.Builder<ServiceMetadata.Builder>
ai.pipestream.data.module.v1.ServiceMetadata.Builder
- All Implemented Interfaces:
ServiceMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
ServiceMetadata
public static final class ServiceMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceMetadata.Builder>
implements ServiceMetadataOrBuilder
Contains metadata provided by the pipeline engine for context. This data is generally for informational purposes, logging, tracing, or advanced conditional logic.Protobuf type
ai.pipestream.data.module.v1.ServiceMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllHistory(Iterable<? extends StepExecutionRecord> values) History of previously executed steps in this stream.addHistory(int index, StepExecutionRecord value) History of previously executed steps in this stream.addHistory(int index, StepExecutionRecord.Builder builderForValue) History of previously executed steps in this stream.addHistory(StepExecutionRecord value) History of previously executed steps in this stream.addHistory(StepExecutionRecord.Builder builderForValue) History of previously executed steps in this stream.History of previously executed steps in this stream.addHistoryBuilder(int index) History of previously executed steps in this stream.build()clear()The current hop number in the pipeline for this step's execution.History of previously executed steps in this stream.The 'pipelineName' from PipelineConfig providing context for this call.The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.If the overall stream was previously marked with a critical error.Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).booleanKey-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).Deprecated.intKey-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).getContextParamsOrDefault(String key, String defaultValue) Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).longThe current hop number in the pipeline for this step's execution.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHistory(int index) History of previously executed steps in this stream.getHistoryBuilder(int index) History of previously executed steps in this stream.History of previously executed steps in this stream.intHistory of previously executed steps in this stream.History of previously executed steps in this stream.getHistoryOrBuilder(int index) History of previously executed steps in this stream.List<? extends StepExecutionRecordOrBuilder> History of previously executed steps in this stream.Deprecated.The 'pipelineName' from PipelineConfig providing context for this call.com.google.protobuf.ByteStringThe 'pipelineName' from PipelineConfig providing context for this call.The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.com.google.protobuf.ByteStringThe 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.If the overall stream was previously marked with a critical error.If the overall stream was previously marked with a critical error.If the overall stream was previously marked with a critical error.Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).com.google.protobuf.ByteStringUnique ID for the entire execution flow (equivalent to PipeStream.stream_id).booleanIf the overall stream was previously marked with a critical error.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(ServiceMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStreamErrorData(ErrorData value) If the overall stream was previously marked with a critical error.putAllContextParams(Map<String, String> values) Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).putContextParams(String key, String value) Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).removeHistory(int index) History of previously executed steps in this stream.setCurrentHopNumber(long value) The current hop number in the pipeline for this step's execution.setHistory(int index, StepExecutionRecord value) History of previously executed steps in this stream.setHistory(int index, StepExecutionRecord.Builder builderForValue) History of previously executed steps in this stream.setPipelineName(String value) The 'pipelineName' from PipelineConfig providing context for this call.setPipelineNameBytes(com.google.protobuf.ByteString value) The 'pipelineName' from PipelineConfig providing context for this call.setPipeStepName(String value) The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.setPipeStepNameBytes(com.google.protobuf.ByteString value) The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.setStreamErrorData(ErrorData value) If the overall stream was previously marked with a critical error.setStreamErrorData(ErrorData.Builder builderForValue) If the overall stream was previously marked with a critical error.setStreamId(String value) Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).setStreamIdBytes(com.google.protobuf.ByteString value) Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).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<ServiceMetadata.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ServiceMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServiceMetadata.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<ServiceMetadata.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<ServiceMetadata.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<ServiceMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServiceMetadata.Builder>
-
mergeFrom
public ServiceMetadata.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<ServiceMetadata.Builder>- Throws:
IOException
-
getPipelineName
The 'pipelineName' from PipelineConfig providing context for this call.
string pipeline_name = 1 [json_name = "pipelineName"];- Specified by:
getPipelineNamein interfaceServiceMetadataOrBuilder- Returns:
- The pipelineName.
-
getPipelineNameBytes
public com.google.protobuf.ByteString getPipelineNameBytes()The 'pipelineName' from PipelineConfig providing context for this call.
string pipeline_name = 1 [json_name = "pipelineName"];- Specified by:
getPipelineNameBytesin interfaceServiceMetadataOrBuilder- Returns:
- The bytes for pipelineName.
-
setPipelineName
The 'pipelineName' from PipelineConfig providing context for this call.
string pipeline_name = 1 [json_name = "pipelineName"];- Parameters:
value- The pipelineName to set.- Returns:
- This builder for chaining.
-
clearPipelineName
The 'pipelineName' from PipelineConfig providing context for this call.
string pipeline_name = 1 [json_name = "pipelineName"];- Returns:
- This builder for chaining.
-
setPipelineNameBytes
The 'pipelineName' from PipelineConfig providing context for this call.
string pipeline_name = 1 [json_name = "pipelineName"];- Parameters:
value- The bytes for pipelineName to set.- Returns:
- This builder for chaining.
-
getPipeStepName
The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.
string pipe_step_name = 2 [json_name = "pipeStepName"];- Specified by:
getPipeStepNamein interfaceServiceMetadataOrBuilder- Returns:
- The pipeStepName.
-
getPipeStepNameBytes
public com.google.protobuf.ByteString getPipeStepNameBytes()The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.
string pipe_step_name = 2 [json_name = "pipeStepName"];- Specified by:
getPipeStepNameBytesin interfaceServiceMetadataOrBuilder- Returns:
- The bytes for pipeStepName.
-
setPipeStepName
The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.
string pipe_step_name = 2 [json_name = "pipeStepName"];- Parameters:
value- The pipeStepName to set.- Returns:
- This builder for chaining.
-
clearPipeStepName
The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.
string pipe_step_name = 2 [json_name = "pipeStepName"];- Returns:
- This builder for chaining.
-
setPipeStepNameBytes
The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.
string pipe_step_name = 2 [json_name = "pipeStepName"];- Parameters:
value- The bytes for pipeStepName to set.- Returns:
- This builder for chaining.
-
getStreamId
Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).
string stream_id = 3 [json_name = "streamId"];- Specified by:
getStreamIdin interfaceServiceMetadataOrBuilder- Returns:
- The streamId.
-
getStreamIdBytes
public com.google.protobuf.ByteString getStreamIdBytes()Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).
string stream_id = 3 [json_name = "streamId"];- Specified by:
getStreamIdBytesin interfaceServiceMetadataOrBuilder- Returns:
- The bytes for streamId.
-
setStreamId
Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).
string stream_id = 3 [json_name = "streamId"];- Parameters:
value- The streamId to set.- Returns:
- This builder for chaining.
-
clearStreamId
Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).
string stream_id = 3 [json_name = "streamId"];- Returns:
- This builder for chaining.
-
setStreamIdBytes
Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).
string stream_id = 3 [json_name = "streamId"];- Parameters:
value- The bytes for streamId to set.- Returns:
- This builder for chaining.
-
getCurrentHopNumber
public long getCurrentHopNumber()The current hop number in the pipeline for this step's execution.
int64 current_hop_number = 4 [json_name = "currentHopNumber"];- Specified by:
getCurrentHopNumberin interfaceServiceMetadataOrBuilder- Returns:
- The currentHopNumber.
-
setCurrentHopNumber
The current hop number in the pipeline for this step's execution.
int64 current_hop_number = 4 [json_name = "currentHopNumber"];- Parameters:
value- The currentHopNumber to set.- Returns:
- This builder for chaining.
-
clearCurrentHopNumber
The current hop number in the pipeline for this step's execution.
int64 current_hop_number = 4 [json_name = "currentHopNumber"];- Returns:
- This builder for chaining.
-
getHistoryList
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"];- Specified by:
getHistoryListin interfaceServiceMetadataOrBuilder
-
getHistoryCount
public int getHistoryCount()History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"];- Specified by:
getHistoryCountin interfaceServiceMetadataOrBuilder
-
getHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"];- Specified by:
getHistoryin interfaceServiceMetadataOrBuilder
-
setHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
setHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
addHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
addHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
addHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
addHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
addAllHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
clearHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
removeHistory
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
getHistoryBuilder
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
getHistoryOrBuilder
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"];- Specified by:
getHistoryOrBuilderin interfaceServiceMetadataOrBuilder
-
getHistoryOrBuilderList
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"];- Specified by:
getHistoryOrBuilderListin interfaceServiceMetadataOrBuilder
-
addHistoryBuilder
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
addHistoryBuilder
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
getHistoryBuilderList
History of previously executed steps in this stream. Note: This can be large. Modules should use it judiciously.
repeated .ai.pipestream.data.v1.StepExecutionRecord history = 5 [json_name = "history"]; -
hasStreamErrorData
public boolean hasStreamErrorData()If the overall stream was previously marked with a critical error. Modules might use this to alter behavior (e.g., skip processing if stream is already failed).
optional .ai.pipestream.data.v1.ErrorData stream_error_data = 6 [json_name = "streamErrorData"];- Specified by:
hasStreamErrorDatain interfaceServiceMetadataOrBuilder- Returns:
- Whether the streamErrorData field is set.
-
getStreamErrorData
If the overall stream was previously marked with a critical error. Modules might use this to alter behavior (e.g., skip processing if stream is already failed).
optional .ai.pipestream.data.v1.ErrorData stream_error_data = 6 [json_name = "streamErrorData"];- Specified by:
getStreamErrorDatain interfaceServiceMetadataOrBuilder- Returns:
- The streamErrorData.
-
setStreamErrorData
If the overall stream was previously marked with a critical error. Modules might use this to alter behavior (e.g., skip processing if stream is already failed).
optional .ai.pipestream.data.v1.ErrorData stream_error_data = 6 [json_name = "streamErrorData"]; -
setStreamErrorData
If the overall stream was previously marked with a critical error. Modules might use this to alter behavior (e.g., skip processing if stream is already failed).
optional .ai.pipestream.data.v1.ErrorData stream_error_data = 6 [json_name = "streamErrorData"]; -
mergeStreamErrorData
If the overall stream was previously marked with a critical error. Modules might use this to alter behavior (e.g., skip processing if stream is already failed).
optional .ai.pipestream.data.v1.ErrorData stream_error_data = 6 [json_name = "streamErrorData"]; -
clearStreamErrorData
If the overall stream was previously marked with a critical error. Modules might use this to alter behavior (e.g., skip processing if stream is already failed).
optional .ai.pipestream.data.v1.ErrorData stream_error_data = 6 [json_name = "streamErrorData"]; -
getStreamErrorDataBuilder
If the overall stream was previously marked with a critical error. Modules might use this to alter behavior (e.g., skip processing if stream is already failed).
optional .ai.pipestream.data.v1.ErrorData stream_error_data = 6 [json_name = "streamErrorData"]; -
getStreamErrorDataOrBuilder
If the overall stream was previously marked with a critical error. Modules might use this to alter behavior (e.g., skip processing if stream is already failed).
optional .ai.pipestream.data.v1.ErrorData stream_error_data = 6 [json_name = "streamErrorData"];- Specified by:
getStreamErrorDataOrBuilderin interfaceServiceMetadataOrBuilder
-
getContextParamsCount
public int getContextParamsCount()Description copied from interface:ServiceMetadataOrBuilderKey-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id). Equivalent to PipeStream.context_params.
map<string, string> context_params = 7 [json_name = "contextParams"];- Specified by:
getContextParamsCountin interfaceServiceMetadataOrBuilder
-
containsContextParams
Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id). Equivalent to PipeStream.context_params.
map<string, string> context_params = 7 [json_name = "contextParams"];- Specified by:
containsContextParamsin interfaceServiceMetadataOrBuilder
-
getContextParams
Deprecated.UsegetContextParamsMap()instead.- Specified by:
getContextParamsin interfaceServiceMetadataOrBuilder
-
getContextParamsMap
Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id). Equivalent to PipeStream.context_params.
map<string, string> context_params = 7 [json_name = "contextParams"];- Specified by:
getContextParamsMapin interfaceServiceMetadataOrBuilder
-
getContextParamsOrDefault
Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id). Equivalent to PipeStream.context_params.
map<string, string> context_params = 7 [json_name = "contextParams"];- Specified by:
getContextParamsOrDefaultin interfaceServiceMetadataOrBuilder
-
getContextParamsOrThrow
Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id). Equivalent to PipeStream.context_params.
map<string, string> context_params = 7 [json_name = "contextParams"];- Specified by:
getContextParamsOrThrowin interfaceServiceMetadataOrBuilder
-
clearContextParams
-
removeContextParams
Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id). Equivalent to PipeStream.context_params.
map<string, string> context_params = 7 [json_name = "contextParams"]; -
getMutableContextParams
Deprecated.Use alternate mutation accessors instead. -
putContextParams
Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id). Equivalent to PipeStream.context_params.
map<string, string> context_params = 7 [json_name = "contextParams"]; -
putAllContextParams
Key-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id). Equivalent to PipeStream.context_params.
map<string, string> context_params = 7 [json_name = "contextParams"];
-