Class StepExecutionRecord.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StepExecutionRecord.Builder>
com.google.protobuf.GeneratedMessage.Builder<StepExecutionRecord.Builder>
ai.pipestream.data.v1.StepExecutionRecord.Builder
All Implemented Interfaces:
StepExecutionRecordOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StepExecutionRecord

public static final class StepExecutionRecord.Builder extends com.google.protobuf.GeneratedMessage.Builder<StepExecutionRecord.Builder> 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
  • 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.Builder<StepExecutionRecord.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StepExecutionRecord.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StepExecutionRecord.Builder>
    • getDefaultInstanceForType

      public StepExecutionRecord getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public StepExecutionRecord.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StepExecutionRecord.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StepExecutionRecord.Builder>
    • mergeFrom

      public StepExecutionRecord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StepExecutionRecord.Builder>
      Throws:
      IOException
    • 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.
    • setHopNumber

      public StepExecutionRecord.Builder setHopNumber(long value)
       Sequential hop number for this step in the processing stream.
       
      int64 hop_number = 1 [json_name = "hopNumber"];
      Parameters:
      value - The hopNumber to set.
      Returns:
      This builder for chaining.
    • clearHopNumber

      public StepExecutionRecord.Builder clearHopNumber()
       Sequential hop number for this step in the processing stream.
       
      int64 hop_number = 1 [json_name = "hopNumber"];
      Returns:
      This builder for chaining.
    • 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.
    • setStepName

      public StepExecutionRecord.Builder setStepName(String value)
       Name of the pipeline step configuration that was executed.
       
      string step_name = 2 [json_name = "stepName"];
      Parameters:
      value - The stepName to set.
      Returns:
      This builder for chaining.
    • clearStepName

      public StepExecutionRecord.Builder clearStepName()
       Name of the pipeline step configuration that was executed.
       
      string step_name = 2 [json_name = "stepName"];
      Returns:
      This builder for chaining.
    • setStepNameBytes

      public StepExecutionRecord.Builder setStepNameBytes(com.google.protobuf.ByteString value)
       Name of the pipeline step configuration that was executed.
       
      string step_name = 2 [json_name = "stepName"];
      Parameters:
      value - The bytes for stepName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setServiceInstanceId

      public StepExecutionRecord.Builder setServiceInstanceId(String value)
       Identifier of the service instance/pod that executed the step.
       
      optional string service_instance_id = 3 [json_name = "serviceInstanceId"];
      Parameters:
      value - The serviceInstanceId to set.
      Returns:
      This builder for chaining.
    • clearServiceInstanceId

      public StepExecutionRecord.Builder clearServiceInstanceId()
       Identifier of the service instance/pod that executed the step.
       
      optional string service_instance_id = 3 [json_name = "serviceInstanceId"];
      Returns:
      This builder for chaining.
    • setServiceInstanceIdBytes

      public StepExecutionRecord.Builder setServiceInstanceIdBytes(com.google.protobuf.ByteString value)
       Identifier of the service instance/pod that executed the step.
       
      optional string service_instance_id = 3 [json_name = "serviceInstanceId"];
      Parameters:
      value - The bytes for serviceInstanceId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setStartTime

      public StepExecutionRecord.Builder setStartTime(com.google.protobuf.Timestamp value)
       Timestamp when step processing began.
       
      .google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];
    • setStartTime

      public StepExecutionRecord.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when step processing began.
       
      .google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];
    • mergeStartTime

      public StepExecutionRecord.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Timestamp when step processing began.
       
      .google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];
    • clearStartTime

      public StepExecutionRecord.Builder clearStartTime()
       Timestamp when step processing began.
       
      .google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Timestamp when step processing began.
       
      .google.protobuf.Timestamp start_time = 4 [json_name = "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.
    • setEndTime

      public StepExecutionRecord.Builder setEndTime(com.google.protobuf.Timestamp value)
       Timestamp when step processing ended.
       
      .google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];
    • setEndTime

      public StepExecutionRecord.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when step processing ended.
       
      .google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];
    • mergeEndTime

      public StepExecutionRecord.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Timestamp when step processing ended.
       
      .google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];
    • clearEndTime

      public StepExecutionRecord.Builder clearEndTime()
       Timestamp when step processing ended.
       
      .google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Timestamp when step processing ended.
       
      .google.protobuf.Timestamp end_time = 5 [json_name = "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.
    • setStatus

      public StepExecutionRecord.Builder setStatus(String value)
       Execution outcome status.
      
       Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
       
      string status = 6 [json_name = "status"];
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public StepExecutionRecord.Builder clearStatus()
       Execution outcome status.
      
       Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
       
      string status = 6 [json_name = "status"];
      Returns:
      This builder for chaining.
    • setStatusBytes

      public StepExecutionRecord.Builder setStatusBytes(com.google.protobuf.ByteString value)
       Execution outcome status.
      
       Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
       
      string status = 6 [json_name = "status"];
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.
    • 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.
    • setProcessorLogs

      public StepExecutionRecord.Builder setProcessorLogs(int index, String value)
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Parameters:
      index - The index to set the value at.
      value - The processorLogs to set.
      Returns:
      This builder for chaining.
    • addProcessorLogs

      public StepExecutionRecord.Builder addProcessorLogs(String value)
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Parameters:
      value - The processorLogs to add.
      Returns:
      This builder for chaining.
    • addAllProcessorLogs

      public StepExecutionRecord.Builder addAllProcessorLogs(Iterable<String> values)
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Parameters:
      values - The processorLogs to add.
      Returns:
      This builder for chaining.
    • clearProcessorLogs

      public StepExecutionRecord.Builder clearProcessorLogs()
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Returns:
      This builder for chaining.
    • addProcessorLogsBytes

      public StepExecutionRecord.Builder addProcessorLogsBytes(com.google.protobuf.ByteString value)
       Logs from the processor for this step's execution.
       
      repeated string processor_logs = 7 [json_name = "processorLogs"];
      Parameters:
      value - The bytes of the processorLogs to add.
      Returns:
      This builder for chaining.
    • 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.
    • setErrorInfo

      public StepExecutionRecord.Builder setErrorInfo(ErrorData value)
       Error information if status is "FAILURE".
       
      optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];
    • setErrorInfo

      public StepExecutionRecord.Builder setErrorInfo(ErrorData.Builder builderForValue)
       Error information if status is "FAILURE".
       
      optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];
    • mergeErrorInfo

      public StepExecutionRecord.Builder mergeErrorInfo(ErrorData value)
       Error information if status is "FAILURE".
       
      optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];
    • clearErrorInfo

      public StepExecutionRecord.Builder clearErrorInfo()
       Error information if status is "FAILURE".
       
      optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];
    • getErrorInfoBuilder

      public ErrorData.Builder getErrorInfoBuilder()
       Error information if status is "FAILURE".
       
      optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "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.
    • setAttemptedTargetStepName

      public StepExecutionRecord.Builder setAttemptedTargetStepName(String value)
       Target step name if status is "DISPATCH_FAILURE".
       
      optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];
      Parameters:
      value - The attemptedTargetStepName to set.
      Returns:
      This builder for chaining.
    • clearAttemptedTargetStepName

      public StepExecutionRecord.Builder clearAttemptedTargetStepName()
       Target step name if status is "DISPATCH_FAILURE".
       
      optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];
      Returns:
      This builder for chaining.
    • setAttemptedTargetStepNameBytes

      public StepExecutionRecord.Builder setAttemptedTargetStepNameBytes(com.google.protobuf.ByteString value)
       Target step name if status is "DISPATCH_FAILURE".
       
      optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];
      Parameters:
      value - The bytes for attemptedTargetStepName to set.
      Returns:
      This builder for chaining.