Package ai.pipestream.data.module.v1
Class ServiceMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.module.v1.ServiceMetadata
- All Implemented Interfaces:
ServiceMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ServiceMetadata
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains metadata provided by the pipeline engine for 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 TypeMethodDescriptionbooleanKey-value parameters for the entire run's context (e.g., tenant_id, user_id, correlation_id).booleanDeprecated.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 ServiceMetadatastatic final com.google.protobuf.Descriptors.DescriptorgetHistory(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.com.google.protobuf.Parser<ServiceMetadata> 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.intIf 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).inthashCode()booleanIf the overall stream was previously marked with a critical error.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic ServiceMetadata.Builderstatic ServiceMetadata.BuildernewBuilder(ServiceMetadata prototype) protected ServiceMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ServiceMetadataparseDelimitedFrom(InputStream input) static ServiceMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMetadataparseFrom(byte[] data) static ServiceMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMetadataparseFrom(com.google.protobuf.ByteString data) static ServiceMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMetadataparseFrom(com.google.protobuf.CodedInputStream input) static ServiceMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMetadataparseFrom(InputStream input) static ServiceMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceMetadataparseFrom(ByteBuffer data) static ServiceMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServiceMetadata> 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
-
PIPELINE_NAME_FIELD_NUMBER
public static final int PIPELINE_NAME_FIELD_NUMBER- See Also:
-
PIPE_STEP_NAME_FIELD_NUMBER
public static final int PIPE_STEP_NAME_FIELD_NUMBER- See Also:
-
STREAM_ID_FIELD_NUMBER
public static final int STREAM_ID_FIELD_NUMBER- See Also:
-
CURRENT_HOP_NUMBER_FIELD_NUMBER
public static final int CURRENT_HOP_NUMBER_FIELD_NUMBER- See Also:
-
HISTORY_FIELD_NUMBER
public static final int HISTORY_FIELD_NUMBER- See Also:
-
STREAM_ERROR_DATA_FIELD_NUMBER
public static final int STREAM_ERROR_DATA_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
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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
-
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 ServiceMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ServiceMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ServiceMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ServiceMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ServiceMetadata 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 ServiceMetadata.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
-