Package ai.pipestream.data.module.v1
Interface ServiceMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServiceMetadata,ServiceMetadata.Builder
@Generated
public interface ServiceMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanKey-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.getHistory(int index) 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.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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPipelineName
String getPipelineName()The 'pipelineName' from PipelineConfig providing context for this call.
string pipeline_name = 1 [json_name = "pipelineName"];- Returns:
- The pipelineName.
-
getPipelineNameBytes
com.google.protobuf.ByteString getPipelineNameBytes()The 'pipelineName' from PipelineConfig providing context for this call.
string pipeline_name = 1 [json_name = "pipelineName"];- Returns:
- The bytes for pipelineName.
-
getPipeStepName
String getPipeStepName()The 'stepName' from PipelineStepConfig that this gRPC service instance is currently executing as.
string pipe_step_name = 2 [json_name = "pipeStepName"];- Returns:
- The pipeStepName.
-
getPipeStepNameBytes
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"];- Returns:
- The bytes for pipeStepName.
-
getStreamId
String getStreamId()Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).
string stream_id = 3 [json_name = "streamId"];- Returns:
- The streamId.
-
getStreamIdBytes
com.google.protobuf.ByteString getStreamIdBytes()Unique ID for the entire execution flow (equivalent to PipeStream.stream_id).
string stream_id = 3 [json_name = "streamId"];- Returns:
- The bytes for streamId.
-
getCurrentHopNumber
long getCurrentHopNumber()The current hop number in the pipeline for this step's execution.
int64 current_hop_number = 4 [json_name = "currentHopNumber"];- Returns:
- The currentHopNumber.
-
getHistoryList
List<StepExecutionRecord> 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"]; -
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"]; -
getHistoryCount
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"]; -
getHistoryOrBuilderList
List<? extends StepExecutionRecordOrBuilder> 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"]; -
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"]; -
hasStreamErrorData
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"];- Returns:
- Whether the streamErrorData field is set.
-
getStreamErrorData
ErrorData 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"];- Returns:
- The streamErrorData.
-
getStreamErrorDataOrBuilder
ErrorDataOrBuilder 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"]; -
getContextParamsCount
int getContextParamsCount()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"]; -
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"]; -
getContextParams
Deprecated.UsegetContextParamsMap()instead. -
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"]; -
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"]; -
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"];
-