Class ErrorData.Builder

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

public static final class ErrorData.Builder extends com.google.protobuf.GeneratedMessage.Builder<ErrorData.Builder> implements ErrorDataOrBuilder
 Error information for a failed processing step.

 Captures error details, timing, and input state for debugging and reproducibility.
 
Protobuf type ai.pipestream.data.v1.ErrorData
  • 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<ErrorData.Builder>
    • clear

      public ErrorData.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<ErrorData.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<ErrorData.Builder>
    • getDefaultInstanceForType

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

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

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

      public ErrorData.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<ErrorData.Builder>
    • mergeFrom

      public ErrorData.Builder mergeFrom(ErrorData other)
    • isInitialized

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

      public ErrorData.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<ErrorData.Builder>
      Throws:
      IOException
    • getErrorMessage

      public String getErrorMessage()
       Human-readable error description.
       
      string error_message = 1;
      Specified by:
      getErrorMessage in interface ErrorDataOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
       Human-readable error description.
       
      string error_message = 1;
      Specified by:
      getErrorMessageBytes in interface ErrorDataOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      public ErrorData.Builder setErrorMessage(String value)
       Human-readable error description.
       
      string error_message = 1;
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • clearErrorMessage

      public ErrorData.Builder clearErrorMessage()
       Human-readable error description.
       
      string error_message = 1;
      Returns:
      This builder for chaining.
    • setErrorMessageBytes

      public ErrorData.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
       Human-readable error description.
       
      string error_message = 1;
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.
    • hasErrorCode

      public boolean hasErrorCode()
       Machine-readable error code.
      
       Examples: "CONFIG_VALIDATION_ERROR", "TIMEOUT_ERROR", "PARSE_ERROR"
       
      optional string error_code = 2;
      Specified by:
      hasErrorCode in interface ErrorDataOrBuilder
      Returns:
      Whether the errorCode field is set.
    • getErrorCode

      public String getErrorCode()
       Machine-readable error code.
      
       Examples: "CONFIG_VALIDATION_ERROR", "TIMEOUT_ERROR", "PARSE_ERROR"
       
      optional string error_code = 2;
      Specified by:
      getErrorCode in interface ErrorDataOrBuilder
      Returns:
      The errorCode.
    • getErrorCodeBytes

      public com.google.protobuf.ByteString getErrorCodeBytes()
       Machine-readable error code.
      
       Examples: "CONFIG_VALIDATION_ERROR", "TIMEOUT_ERROR", "PARSE_ERROR"
       
      optional string error_code = 2;
      Specified by:
      getErrorCodeBytes in interface ErrorDataOrBuilder
      Returns:
      The bytes for errorCode.
    • setErrorCode

      public ErrorData.Builder setErrorCode(String value)
       Machine-readable error code.
      
       Examples: "CONFIG_VALIDATION_ERROR", "TIMEOUT_ERROR", "PARSE_ERROR"
       
      optional string error_code = 2;
      Parameters:
      value - The errorCode to set.
      Returns:
      This builder for chaining.
    • clearErrorCode

      public ErrorData.Builder clearErrorCode()
       Machine-readable error code.
      
       Examples: "CONFIG_VALIDATION_ERROR", "TIMEOUT_ERROR", "PARSE_ERROR"
       
      optional string error_code = 2;
      Returns:
      This builder for chaining.
    • setErrorCodeBytes

      public ErrorData.Builder setErrorCodeBytes(com.google.protobuf.ByteString value)
       Machine-readable error code.
      
       Examples: "CONFIG_VALIDATION_ERROR", "TIMEOUT_ERROR", "PARSE_ERROR"
       
      optional string error_code = 2;
      Parameters:
      value - The bytes for errorCode to set.
      Returns:
      This builder for chaining.
    • hasTechnicalDetails

      public boolean hasTechnicalDetails()
       Technical details such as stack trace snippets.
       
      optional string technical_details = 3;
      Specified by:
      hasTechnicalDetails in interface ErrorDataOrBuilder
      Returns:
      Whether the technicalDetails field is set.
    • getTechnicalDetails

      public String getTechnicalDetails()
       Technical details such as stack trace snippets.
       
      optional string technical_details = 3;
      Specified by:
      getTechnicalDetails in interface ErrorDataOrBuilder
      Returns:
      The technicalDetails.
    • getTechnicalDetailsBytes

      public com.google.protobuf.ByteString getTechnicalDetailsBytes()
       Technical details such as stack trace snippets.
       
      optional string technical_details = 3;
      Specified by:
      getTechnicalDetailsBytes in interface ErrorDataOrBuilder
      Returns:
      The bytes for technicalDetails.
    • setTechnicalDetails

      public ErrorData.Builder setTechnicalDetails(String value)
       Technical details such as stack trace snippets.
       
      optional string technical_details = 3;
      Parameters:
      value - The technicalDetails to set.
      Returns:
      This builder for chaining.
    • clearTechnicalDetails

      public ErrorData.Builder clearTechnicalDetails()
       Technical details such as stack trace snippets.
       
      optional string technical_details = 3;
      Returns:
      This builder for chaining.
    • setTechnicalDetailsBytes

      public ErrorData.Builder setTechnicalDetailsBytes(com.google.protobuf.ByteString value)
       Technical details such as stack trace snippets.
       
      optional string technical_details = 3;
      Parameters:
      value - The bytes for technicalDetails to set.
      Returns:
      This builder for chaining.
    • getOriginatingStepName

      public String getOriginatingStepName()
       Name of the step where the error originated or was detected.
       
      string originating_step_name = 4;
      Specified by:
      getOriginatingStepName in interface ErrorDataOrBuilder
      Returns:
      The originatingStepName.
    • getOriginatingStepNameBytes

      public com.google.protobuf.ByteString getOriginatingStepNameBytes()
       Name of the step where the error originated or was detected.
       
      string originating_step_name = 4;
      Specified by:
      getOriginatingStepNameBytes in interface ErrorDataOrBuilder
      Returns:
      The bytes for originatingStepName.
    • setOriginatingStepName

      public ErrorData.Builder setOriginatingStepName(String value)
       Name of the step where the error originated or was detected.
       
      string originating_step_name = 4;
      Parameters:
      value - The originatingStepName to set.
      Returns:
      This builder for chaining.
    • clearOriginatingStepName

      public ErrorData.Builder clearOriginatingStepName()
       Name of the step where the error originated or was detected.
       
      string originating_step_name = 4;
      Returns:
      This builder for chaining.
    • setOriginatingStepNameBytes

      public ErrorData.Builder setOriginatingStepNameBytes(com.google.protobuf.ByteString value)
       Name of the step where the error originated or was detected.
       
      string originating_step_name = 4;
      Parameters:
      value - The bytes for originatingStepName to set.
      Returns:
      This builder for chaining.
    • hasAttemptedTargetStepName

      public boolean hasAttemptedTargetStepName()
       Target step name if error occurred during routing/dispatch.
       
      optional string attempted_target_step_name = 5;
      Specified by:
      hasAttemptedTargetStepName in interface ErrorDataOrBuilder
      Returns:
      Whether the attemptedTargetStepName field is set.
    • getAttemptedTargetStepName

      public String getAttemptedTargetStepName()
       Target step name if error occurred during routing/dispatch.
       
      optional string attempted_target_step_name = 5;
      Specified by:
      getAttemptedTargetStepName in interface ErrorDataOrBuilder
      Returns:
      The attemptedTargetStepName.
    • getAttemptedTargetStepNameBytes

      public com.google.protobuf.ByteString getAttemptedTargetStepNameBytes()
       Target step name if error occurred during routing/dispatch.
       
      optional string attempted_target_step_name = 5;
      Specified by:
      getAttemptedTargetStepNameBytes in interface ErrorDataOrBuilder
      Returns:
      The bytes for attemptedTargetStepName.
    • setAttemptedTargetStepName

      public ErrorData.Builder setAttemptedTargetStepName(String value)
       Target step name if error occurred during routing/dispatch.
       
      optional string attempted_target_step_name = 5;
      Parameters:
      value - The attemptedTargetStepName to set.
      Returns:
      This builder for chaining.
    • clearAttemptedTargetStepName

      public ErrorData.Builder clearAttemptedTargetStepName()
       Target step name if error occurred during routing/dispatch.
       
      optional string attempted_target_step_name = 5;
      Returns:
      This builder for chaining.
    • setAttemptedTargetStepNameBytes

      public ErrorData.Builder setAttemptedTargetStepNameBytes(com.google.protobuf.ByteString value)
       Target step name if error occurred during routing/dispatch.
       
      optional string attempted_target_step_name = 5;
      Parameters:
      value - The bytes for attemptedTargetStepName to set.
      Returns:
      This builder for chaining.
    • hasInputStateAtFailure

      public boolean hasInputStateAtFailure()
       Input state at the time of failure for reproducibility.
       
      optional .ai.pipestream.data.v1.FailedStepInputState input_state_at_failure = 6;
      Specified by:
      hasInputStateAtFailure in interface ErrorDataOrBuilder
      Returns:
      Whether the inputStateAtFailure field is set.
    • getInputStateAtFailure

      public FailedStepInputState getInputStateAtFailure()
       Input state at the time of failure for reproducibility.
       
      optional .ai.pipestream.data.v1.FailedStepInputState input_state_at_failure = 6;
      Specified by:
      getInputStateAtFailure in interface ErrorDataOrBuilder
      Returns:
      The inputStateAtFailure.
    • setInputStateAtFailure

      public ErrorData.Builder setInputStateAtFailure(FailedStepInputState value)
       Input state at the time of failure for reproducibility.
       
      optional .ai.pipestream.data.v1.FailedStepInputState input_state_at_failure = 6;
    • setInputStateAtFailure

      public ErrorData.Builder setInputStateAtFailure(FailedStepInputState.Builder builderForValue)
       Input state at the time of failure for reproducibility.
       
      optional .ai.pipestream.data.v1.FailedStepInputState input_state_at_failure = 6;
    • mergeInputStateAtFailure

      public ErrorData.Builder mergeInputStateAtFailure(FailedStepInputState value)
       Input state at the time of failure for reproducibility.
       
      optional .ai.pipestream.data.v1.FailedStepInputState input_state_at_failure = 6;
    • clearInputStateAtFailure

      public ErrorData.Builder clearInputStateAtFailure()
       Input state at the time of failure for reproducibility.
       
      optional .ai.pipestream.data.v1.FailedStepInputState input_state_at_failure = 6;
    • getInputStateAtFailureBuilder

      public FailedStepInputState.Builder getInputStateAtFailureBuilder()
       Input state at the time of failure for reproducibility.
       
      optional .ai.pipestream.data.v1.FailedStepInputState input_state_at_failure = 6;
    • getInputStateAtFailureOrBuilder

      public FailedStepInputStateOrBuilder getInputStateAtFailureOrBuilder()
       Input state at the time of failure for reproducibility.
       
      optional .ai.pipestream.data.v1.FailedStepInputState input_state_at_failure = 6;
      Specified by:
      getInputStateAtFailureOrBuilder in interface ErrorDataOrBuilder
    • hasTimestamp

      public boolean hasTimestamp()
       Timestamp when the error occurred or was logged.
       
      .google.protobuf.Timestamp timestamp = 7;
      Specified by:
      hasTimestamp in interface ErrorDataOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public com.google.protobuf.Timestamp getTimestamp()
       Timestamp when the error occurred or was logged.
       
      .google.protobuf.Timestamp timestamp = 7;
      Specified by:
      getTimestamp in interface ErrorDataOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public ErrorData.Builder setTimestamp(com.google.protobuf.Timestamp value)
       Timestamp when the error occurred or was logged.
       
      .google.protobuf.Timestamp timestamp = 7;
    • setTimestamp

      public ErrorData.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when the error occurred or was logged.
       
      .google.protobuf.Timestamp timestamp = 7;
    • mergeTimestamp

      public ErrorData.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
       Timestamp when the error occurred or was logged.
       
      .google.protobuf.Timestamp timestamp = 7;
    • clearTimestamp

      public ErrorData.Builder clearTimestamp()
       Timestamp when the error occurred or was logged.
       
      .google.protobuf.Timestamp timestamp = 7;
    • getTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
       Timestamp when the error occurred or was logged.
       
      .google.protobuf.Timestamp timestamp = 7;
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
       Timestamp when the error occurred or was logged.
       
      .google.protobuf.Timestamp timestamp = 7;
      Specified by:
      getTimestampOrBuilder in interface ErrorDataOrBuilder