Class ProcessDataResponse.Builder

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

public static final class ProcessDataResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProcessDataResponse.Builder> implements ProcessDataResponseOrBuilder
 Response message for the ProcessData RPC.
 This is returned by the gRPC Service Implementation back to the engine.
 Renamed to avoid confusion with engine ProcessResponse.
 
Protobuf type ai.pipestream.data.module.v1.ProcessDataResponse
  • 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<ProcessDataResponse.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<ProcessDataResponse.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<ProcessDataResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ProcessDataResponse.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<ProcessDataResponse.Builder>
      Throws:
      IOException
    • getSuccess

      public boolean getSuccess()
       Outcome: True if this step's processing was successful, false otherwise.
       
      bool success = 1;
      Specified by:
      getSuccess in interface ProcessDataResponseOrBuilder
      Returns:
      The success.
    • setSuccess

      public ProcessDataResponse.Builder setSuccess(boolean value)
       Outcome: True if this step's processing was successful, false otherwise.
       
      bool success = 1;
      Parameters:
      value - The success to set.
      Returns:
      This builder for chaining.
    • clearSuccess

      public ProcessDataResponse.Builder clearSuccess()
       Outcome: True if this step's processing was successful, false otherwise.
       
      bool success = 1;
      Returns:
      This builder for chaining.
    • hasOutputDoc

      public boolean hasOutputDoc()
       Output Data: The modified or newly created PipeDoc.
       either remains unchanged or that this step does not modify the PipeDoc directly.
       The Blob is part of the PipeDoc.
       
      optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;
      Specified by:
      hasOutputDoc in interface ProcessDataResponseOrBuilder
      Returns:
      Whether the outputDoc field is set.
    • getOutputDoc

      public PipeDoc getOutputDoc()
       Output Data: The modified or newly created PipeDoc.
       either remains unchanged or that this step does not modify the PipeDoc directly.
       The Blob is part of the PipeDoc.
       
      optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;
      Specified by:
      getOutputDoc in interface ProcessDataResponseOrBuilder
      Returns:
      The outputDoc.
    • setOutputDoc

      public ProcessDataResponse.Builder setOutputDoc(PipeDoc value)
       Output Data: The modified or newly created PipeDoc.
       either remains unchanged or that this step does not modify the PipeDoc directly.
       The Blob is part of the PipeDoc.
       
      optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;
    • setOutputDoc

      public ProcessDataResponse.Builder setOutputDoc(PipeDoc.Builder builderForValue)
       Output Data: The modified or newly created PipeDoc.
       either remains unchanged or that this step does not modify the PipeDoc directly.
       The Blob is part of the PipeDoc.
       
      optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;
    • mergeOutputDoc

      public ProcessDataResponse.Builder mergeOutputDoc(PipeDoc value)
       Output Data: The modified or newly created PipeDoc.
       either remains unchanged or that this step does not modify the PipeDoc directly.
       The Blob is part of the PipeDoc.
       
      optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;
    • clearOutputDoc

      public ProcessDataResponse.Builder clearOutputDoc()
       Output Data: The modified or newly created PipeDoc.
       either remains unchanged or that this step does not modify the PipeDoc directly.
       The Blob is part of the PipeDoc.
       
      optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;
    • getOutputDocBuilder

      public PipeDoc.Builder getOutputDocBuilder()
       Output Data: The modified or newly created PipeDoc.
       either remains unchanged or that this step does not modify the PipeDoc directly.
       The Blob is part of the PipeDoc.
       
      optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;
    • getOutputDocOrBuilder

      public PipeDocOrBuilder getOutputDocOrBuilder()
       Output Data: The modified or newly created PipeDoc.
       either remains unchanged or that this step does not modify the PipeDoc directly.
       The Blob is part of the PipeDoc.
       
      optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;
      Specified by:
      getOutputDocOrBuilder in interface ProcessDataResponseOrBuilder
    • hasErrorDetails

      public boolean hasErrorDetails()
       Error Details: Structured error information from *this processor* if success is false.
       This is for errors specific to the processor's execution logic.
       
      optional .google.protobuf.Struct error_details = 3;
      Specified by:
      hasErrorDetails in interface ProcessDataResponseOrBuilder
      Returns:
      Whether the errorDetails field is set.
    • getErrorDetails

      public com.google.protobuf.Struct getErrorDetails()
       Error Details: Structured error information from *this processor* if success is false.
       This is for errors specific to the processor's execution logic.
       
      optional .google.protobuf.Struct error_details = 3;
      Specified by:
      getErrorDetails in interface ProcessDataResponseOrBuilder
      Returns:
      The errorDetails.
    • setErrorDetails

      public ProcessDataResponse.Builder setErrorDetails(com.google.protobuf.Struct value)
       Error Details: Structured error information from *this processor* if success is false.
       This is for errors specific to the processor's execution logic.
       
      optional .google.protobuf.Struct error_details = 3;
    • setErrorDetails

      public ProcessDataResponse.Builder setErrorDetails(com.google.protobuf.Struct.Builder builderForValue)
       Error Details: Structured error information from *this processor* if success is false.
       This is for errors specific to the processor's execution logic.
       
      optional .google.protobuf.Struct error_details = 3;
    • mergeErrorDetails

      public ProcessDataResponse.Builder mergeErrorDetails(com.google.protobuf.Struct value)
       Error Details: Structured error information from *this processor* if success is false.
       This is for errors specific to the processor's execution logic.
       
      optional .google.protobuf.Struct error_details = 3;
    • clearErrorDetails

      public ProcessDataResponse.Builder clearErrorDetails()
       Error Details: Structured error information from *this processor* if success is false.
       This is for errors specific to the processor's execution logic.
       
      optional .google.protobuf.Struct error_details = 3;
    • getErrorDetailsBuilder

      public com.google.protobuf.Struct.Builder getErrorDetailsBuilder()
       Error Details: Structured error information from *this processor* if success is false.
       This is for errors specific to the processor's execution logic.
       
      optional .google.protobuf.Struct error_details = 3;
    • getErrorDetailsOrBuilder

      public com.google.protobuf.StructOrBuilder getErrorDetailsOrBuilder()
       Error Details: Structured error information from *this processor* if success is false.
       This is for errors specific to the processor's execution logic.
       
      optional .google.protobuf.Struct error_details = 3;
      Specified by:
      getErrorDetailsOrBuilder in interface ProcessDataResponseOrBuilder
    • getProcessorLogsList

      public com.google.protobuf.ProtocolStringList getProcessorLogsList()
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Specified by:
      getProcessorLogsList in interface ProcessDataResponseOrBuilder
      Returns:
      A list containing the processorLogs.
    • getProcessorLogsCount

      public int getProcessorLogsCount()
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Specified by:
      getProcessorLogsCount in interface ProcessDataResponseOrBuilder
      Returns:
      The count of processorLogs.
    • getProcessorLogs

      public String getProcessorLogs(int index)
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Specified by:
      getProcessorLogs in interface ProcessDataResponseOrBuilder
      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)
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Specified by:
      getProcessorLogsBytes in interface ProcessDataResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the processorLogs at the given index.
    • setProcessorLogs

      public ProcessDataResponse.Builder setProcessorLogs(int index, String value)
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Parameters:
      index - The index to set the value at.
      value - The processorLogs to set.
      Returns:
      This builder for chaining.
    • addProcessorLogs

      public ProcessDataResponse.Builder addProcessorLogs(String value)
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Parameters:
      value - The processorLogs to add.
      Returns:
      This builder for chaining.
    • addAllProcessorLogs

      public ProcessDataResponse.Builder addAllProcessorLogs(Iterable<String> values)
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Parameters:
      values - The processorLogs to add.
      Returns:
      This builder for chaining.
    • clearProcessorLogs

      public ProcessDataResponse.Builder clearProcessorLogs()
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Returns:
      This builder for chaining.
    • addProcessorLogsBytes

      public ProcessDataResponse.Builder addProcessorLogsBytes(com.google.protobuf.ByteString value)
       Logging: Logs or summary information generated by this processor step.
       
      repeated string processor_logs = 4;
      Parameters:
      value - The bytes of the processorLogs to add.
      Returns:
      This builder for chaining.