Class StepExecutionRecord

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.StepExecutionRecord
All Implemented Interfaces:
StepExecutionRecordOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class StepExecutionRecord extends com.google.protobuf.GeneratedMessage implements StepExecutionRecordOrBuilder
 Execution record for a single pipeline processing step.

 Tracks the execution details, timing, status, and any errors for a step.
 
Protobuf type ai.pipestream.data.v1.StepExecutionRecord
See Also:
  • Field Details

    • HOP_NUMBER_FIELD_NUMBER

      public static final int HOP_NUMBER_FIELD_NUMBER
      See Also:
    • STEP_NAME_FIELD_NUMBER

      public static final int STEP_NAME_FIELD_NUMBER
      See Also:
    • SERVICE_INSTANCE_ID_FIELD_NUMBER

      public static final int SERVICE_INSTANCE_ID_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • PROCESSOR_LOGS_FIELD_NUMBER

      public static final int PROCESSOR_LOGS_FIELD_NUMBER
      See Also:
    • ERROR_INFO_FIELD_NUMBER

      public static final int ERROR_INFO_FIELD_NUMBER
      See Also:
    • ATTEMPTED_TARGET_STEP_NAME_FIELD_NUMBER

      public static final int ATTEMPTED_TARGET_STEP_NAME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

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

      public long getHopNumber()
       Sequential hop number for this step in the processing stream.
       
      int64 hop_number = 1 [json_name = "hopNumber"];
      Specified by:
      getHopNumber in interface StepExecutionRecordOrBuilder
      Returns:
      The hopNumber.
    • getStepName

      public String getStepName()
       Name of the pipeline step configuration that was executed.
       
      string step_name = 2 [json_name = "stepName"];
      Specified by:
      getStepName in interface StepExecutionRecordOrBuilder
      Returns:
      The stepName.
    • getStepNameBytes

      public com.google.protobuf.ByteString getStepNameBytes()
       Name of the pipeline step configuration that was executed.
       
      string step_name = 2 [json_name = "stepName"];
      Specified by:
      getStepNameBytes in interface StepExecutionRecordOrBuilder
      Returns:
      The bytes for stepName.
    • hasServiceInstanceId

      public boolean hasServiceInstanceId()
       Identifier of the service instance/pod that executed the step.
       
      optional string service_instance_id = 3 [json_name = "serviceInstanceId"];
      Specified by:
      hasServiceInstanceId in interface StepExecutionRecordOrBuilder
      Returns:
      Whether the serviceInstanceId field is set.
    • getServiceInstanceId

      public String getServiceInstanceId()
       Identifier of the service instance/pod that executed the step.
       
      optional string service_instance_id = 3 [json_name = "serviceInstanceId"];
      Specified by:
      getServiceInstanceId in interface StepExecutionRecordOrBuilder
      Returns:
      The serviceInstanceId.
    • getServiceInstanceIdBytes

      public com.google.protobuf.ByteString getServiceInstanceIdBytes()
       Identifier of the service instance/pod that executed the step.
       
      optional string service_instance_id = 3 [json_name = "serviceInstanceId"];
      Specified by:
      getServiceInstanceIdBytes in interface StepExecutionRecordOrBuilder
      Returns:
      The bytes for serviceInstanceId.
    • hasStartTime

      public boolean hasStartTime()
       Timestamp when step processing began.
       
      .google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];
      Specified by:
      hasStartTime in interface StepExecutionRecordOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Timestamp when step processing began.
       
      .google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];
      Specified by:
      getStartTime in interface StepExecutionRecordOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Timestamp when step processing began.
       
      .google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];
      Specified by:
      getStartTimeOrBuilder in interface StepExecutionRecordOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Timestamp when step processing ended.
       
      .google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];
      Specified by:
      hasEndTime in interface StepExecutionRecordOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Timestamp when step processing ended.
       
      .google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];
      Specified by:
      getEndTime in interface StepExecutionRecordOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Timestamp when step processing ended.
       
      .google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];
      Specified by:
      getEndTimeOrBuilder in interface StepExecutionRecordOrBuilder
    • getStatus

      public String getStatus()
       Execution outcome status.
      
       Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
       
      string status = 6 [json_name = "status"];
      Specified by:
      getStatus in interface StepExecutionRecordOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Execution outcome status.
      
       Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
       
      string status = 6 [json_name = "status"];
      Specified by:
      getStatusBytes in interface StepExecutionRecordOrBuilder
      Returns:
      The bytes for status.
    • getProcessorLogsList

      public com.google.protobuf.ProtocolStringList getProcessorLogsList()
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Specified by:
      getProcessorLogsList in interface StepExecutionRecordOrBuilder
      Returns:
      A list containing the processorLogs.
    • getProcessorLogsCount

      public int getProcessorLogsCount()
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Specified by:
      getProcessorLogsCount in interface StepExecutionRecordOrBuilder
      Returns:
      The count of processorLogs.
    • getProcessorLogs

      public String getProcessorLogs(int index)
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Specified by:
      getProcessorLogs in interface StepExecutionRecordOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The processorLogs at the given index.
    • getProcessorLogsBytes

      public com.google.protobuf.ByteString getProcessorLogsBytes(int index)
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Specified by:
      getProcessorLogsBytes in interface StepExecutionRecordOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the processorLogs at the given index.
    • hasErrorInfo

      public boolean hasErrorInfo()
       Error information if status is "FAILURE".
       
      optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];
      Specified by:
      hasErrorInfo in interface StepExecutionRecordOrBuilder
      Returns:
      Whether the errorInfo field is set.
    • getErrorInfo

      public ErrorData getErrorInfo()
       Error information if status is "FAILURE".
       
      optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];
      Specified by:
      getErrorInfo in interface StepExecutionRecordOrBuilder
      Returns:
      The errorInfo.
    • getErrorInfoOrBuilder

      public ErrorDataOrBuilder getErrorInfoOrBuilder()
       Error information if status is "FAILURE".
       
      optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];
      Specified by:
      getErrorInfoOrBuilder in interface StepExecutionRecordOrBuilder
    • hasAttemptedTargetStepName

      public boolean hasAttemptedTargetStepName()
       Target step name if status is "DISPATCH_FAILURE".
       
      optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];
      Specified by:
      hasAttemptedTargetStepName in interface StepExecutionRecordOrBuilder
      Returns:
      Whether the attemptedTargetStepName field is set.
    • getAttemptedTargetStepName

      public String getAttemptedTargetStepName()
       Target step name if status is "DISPATCH_FAILURE".
       
      optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];
      Specified by:
      getAttemptedTargetStepName in interface StepExecutionRecordOrBuilder
      Returns:
      The attemptedTargetStepName.
    • getAttemptedTargetStepNameBytes

      public com.google.protobuf.ByteString getAttemptedTargetStepNameBytes()
       Target step name if status is "DISPATCH_FAILURE".
       
      optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];
      Specified by:
      getAttemptedTargetStepNameBytes in interface StepExecutionRecordOrBuilder
      Returns:
      The bytes for attemptedTargetStepName.
    • 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 StepExecutionRecord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StepExecutionRecord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StepExecutionRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StepExecutionRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StepExecutionRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StepExecutionRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static StepExecutionRecord parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static StepExecutionRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StepExecutionRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static StepExecutionRecord.Builder newBuilder()
    • newBuilder

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

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

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

      public static StepExecutionRecord getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<StepExecutionRecord> 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 StepExecutionRecord getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder