Class ProcessDataRequest.Builder

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

public static final class ProcessDataRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProcessDataRequest.Builder> implements ProcessDataRequestOrBuilder
 Request message for the ProcessData RPC.
 
Protobuf type ai.pipestream.data.module.v1.ProcessDataRequest
  • 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<ProcessDataRequest.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<ProcessDataRequest.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<ProcessDataRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ProcessDataRequest.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<ProcessDataRequest.Builder>
      Throws:
      IOException
    • hasDocument

      public boolean hasDocument()
       The primary document data to be processed.
       The Blob is now expected to be within PipeDoc if used.
       
      .ai.pipestream.data.v1.PipeDoc document = 1 [json_name = "document"];
      Specified by:
      hasDocument in interface ProcessDataRequestOrBuilder
      Returns:
      Whether the document field is set.
    • getDocument

      public PipeDoc getDocument()
       The primary document data to be processed.
       The Blob is now expected to be within PipeDoc if used.
       
      .ai.pipestream.data.v1.PipeDoc document = 1 [json_name = "document"];
      Specified by:
      getDocument in interface ProcessDataRequestOrBuilder
      Returns:
      The document.
    • setDocument

      public ProcessDataRequest.Builder setDocument(PipeDoc value)
       The primary document data to be processed.
       The Blob is now expected to be within PipeDoc if used.
       
      .ai.pipestream.data.v1.PipeDoc document = 1 [json_name = "document"];
    • setDocument

      public ProcessDataRequest.Builder setDocument(PipeDoc.Builder builderForValue)
       The primary document data to be processed.
       The Blob is now expected to be within PipeDoc if used.
       
      .ai.pipestream.data.v1.PipeDoc document = 1 [json_name = "document"];
    • mergeDocument

      public ProcessDataRequest.Builder mergeDocument(PipeDoc value)
       The primary document data to be processed.
       The Blob is now expected to be within PipeDoc if used.
       
      .ai.pipestream.data.v1.PipeDoc document = 1 [json_name = "document"];
    • clearDocument

      public ProcessDataRequest.Builder clearDocument()
       The primary document data to be processed.
       The Blob is now expected to be within PipeDoc if used.
       
      .ai.pipestream.data.v1.PipeDoc document = 1 [json_name = "document"];
    • getDocumentBuilder

      public PipeDoc.Builder getDocumentBuilder()
       The primary document data to be processed.
       The Blob is now expected to be within PipeDoc if used.
       
      .ai.pipestream.data.v1.PipeDoc document = 1 [json_name = "document"];
    • getDocumentOrBuilder

      public PipeDocOrBuilder getDocumentOrBuilder()
       The primary document data to be processed.
       The Blob is now expected to be within PipeDoc if used.
       
      .ai.pipestream.data.v1.PipeDoc document = 1 [json_name = "document"];
      Specified by:
      getDocumentOrBuilder in interface ProcessDataRequestOrBuilder
    • hasConfig

      public boolean hasConfig()
       Configuration for this specific processing step.
       
      .ai.pipestream.data.module.v1.ProcessConfiguration config = 2 [json_name = "config"];
      Specified by:
      hasConfig in interface ProcessDataRequestOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public ProcessConfiguration getConfig()
       Configuration for this specific processing step.
       
      .ai.pipestream.data.module.v1.ProcessConfiguration config = 2 [json_name = "config"];
      Specified by:
      getConfig in interface ProcessDataRequestOrBuilder
      Returns:
      The config.
    • setConfig

       Configuration for this specific processing step.
       
      .ai.pipestream.data.module.v1.ProcessConfiguration config = 2 [json_name = "config"];
    • setConfig

      public ProcessDataRequest.Builder setConfig(ProcessConfiguration.Builder builderForValue)
       Configuration for this specific processing step.
       
      .ai.pipestream.data.module.v1.ProcessConfiguration config = 2 [json_name = "config"];
    • mergeConfig

       Configuration for this specific processing step.
       
      .ai.pipestream.data.module.v1.ProcessConfiguration config = 2 [json_name = "config"];
    • clearConfig

      public ProcessDataRequest.Builder clearConfig()
       Configuration for this specific processing step.
       
      .ai.pipestream.data.module.v1.ProcessConfiguration config = 2 [json_name = "config"];
    • getConfigBuilder

      public ProcessConfiguration.Builder getConfigBuilder()
       Configuration for this specific processing step.
       
      .ai.pipestream.data.module.v1.ProcessConfiguration config = 2 [json_name = "config"];
    • getConfigOrBuilder

      public ProcessConfigurationOrBuilder getConfigOrBuilder()
       Configuration for this specific processing step.
       
      .ai.pipestream.data.module.v1.ProcessConfiguration config = 2 [json_name = "config"];
      Specified by:
      getConfigOrBuilder in interface ProcessDataRequestOrBuilder
    • hasMetadata

      public boolean hasMetadata()
       Engine-provided metadata for context and observability.
       
      .ai.pipestream.data.module.v1.ServiceMetadata metadata = 3 [json_name = "metadata"];
      Specified by:
      hasMetadata in interface ProcessDataRequestOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public ServiceMetadata getMetadata()
       Engine-provided metadata for context and observability.
       
      .ai.pipestream.data.module.v1.ServiceMetadata metadata = 3 [json_name = "metadata"];
      Specified by:
      getMetadata in interface ProcessDataRequestOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public ProcessDataRequest.Builder setMetadata(ServiceMetadata value)
       Engine-provided metadata for context and observability.
       
      .ai.pipestream.data.module.v1.ServiceMetadata metadata = 3 [json_name = "metadata"];
    • setMetadata

      public ProcessDataRequest.Builder setMetadata(ServiceMetadata.Builder builderForValue)
       Engine-provided metadata for context and observability.
       
      .ai.pipestream.data.module.v1.ServiceMetadata metadata = 3 [json_name = "metadata"];
    • mergeMetadata

      public ProcessDataRequest.Builder mergeMetadata(ServiceMetadata value)
       Engine-provided metadata for context and observability.
       
      .ai.pipestream.data.module.v1.ServiceMetadata metadata = 3 [json_name = "metadata"];
    • clearMetadata

      public ProcessDataRequest.Builder clearMetadata()
       Engine-provided metadata for context and observability.
       
      .ai.pipestream.data.module.v1.ServiceMetadata metadata = 3 [json_name = "metadata"];
    • getMetadataBuilder

      public ServiceMetadata.Builder getMetadataBuilder()
       Engine-provided metadata for context and observability.
       
      .ai.pipestream.data.module.v1.ServiceMetadata metadata = 3 [json_name = "metadata"];
    • getMetadataOrBuilder

      public ServiceMetadataOrBuilder getMetadataOrBuilder()
       Engine-provided metadata for context and observability.
       
      .ai.pipestream.data.module.v1.ServiceMetadata metadata = 3 [json_name = "metadata"];
      Specified by:
      getMetadataOrBuilder in interface ProcessDataRequestOrBuilder
    • getPostMappingsList

      public List<ProcessingMapping> getPostMappingsList()
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
      Specified by:
      getPostMappingsList in interface ProcessDataRequestOrBuilder
    • getPostMappingsCount

      public int getPostMappingsCount()
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
      Specified by:
      getPostMappingsCount in interface ProcessDataRequestOrBuilder
    • getPostMappings

      public ProcessingMapping getPostMappings(int index)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
      Specified by:
      getPostMappings in interface ProcessDataRequestOrBuilder
    • setPostMappings

      public ProcessDataRequest.Builder setPostMappings(int index, ProcessingMapping value)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • setPostMappings

      public ProcessDataRequest.Builder setPostMappings(int index, ProcessingMapping.Builder builderForValue)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • addPostMappings

      public ProcessDataRequest.Builder addPostMappings(ProcessingMapping value)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • addPostMappings

      public ProcessDataRequest.Builder addPostMappings(int index, ProcessingMapping value)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • addPostMappings

      public ProcessDataRequest.Builder addPostMappings(ProcessingMapping.Builder builderForValue)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • addPostMappings

      public ProcessDataRequest.Builder addPostMappings(int index, ProcessingMapping.Builder builderForValue)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • addAllPostMappings

      public ProcessDataRequest.Builder addAllPostMappings(Iterable<? extends ProcessingMapping> values)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • clearPostMappings

      public ProcessDataRequest.Builder clearPostMappings()
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • removePostMappings

      public ProcessDataRequest.Builder removePostMappings(int index)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • getPostMappingsBuilder

      public ProcessingMapping.Builder getPostMappingsBuilder(int index)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • getPostMappingsOrBuilder

      public ProcessingMappingOrBuilder getPostMappingsOrBuilder(int index)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
      Specified by:
      getPostMappingsOrBuilder in interface ProcessDataRequestOrBuilder
    • getPostMappingsOrBuilderList

      public List<? extends ProcessingMappingOrBuilder> getPostMappingsOrBuilderList()
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
      Specified by:
      getPostMappingsOrBuilderList in interface ProcessDataRequestOrBuilder
    • addPostMappingsBuilder

      public ProcessingMapping.Builder addPostMappingsBuilder()
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • addPostMappingsBuilder

      public ProcessingMapping.Builder addPostMappingsBuilder(int index)
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • getPostMappingsBuilderList

      public List<ProcessingMapping.Builder> getPostMappingsBuilderList()
       A list of declarative mapping rules for the engine to apply to the
       output_doc *after* this step completes successfully.
       
      repeated .ai.pipestream.data.v1.ProcessingMapping post_mappings = 5 [json_name = "postMappings"];
    • getIsTest

      public boolean getIsTest()
       Whether this is a test call that should not count as legitimate processing.
       Test calls follow the same logic but may be used for validation/health checks.
       
      bool is_test = 6 [json_name = "isTest"];
      Specified by:
      getIsTest in interface ProcessDataRequestOrBuilder
      Returns:
      The isTest.
    • setIsTest

      public ProcessDataRequest.Builder setIsTest(boolean value)
       Whether this is a test call that should not count as legitimate processing.
       Test calls follow the same logic but may be used for validation/health checks.
       
      bool is_test = 6 [json_name = "isTest"];
      Parameters:
      value - The isTest to set.
      Returns:
      This builder for chaining.
    • clearIsTest

      public ProcessDataRequest.Builder clearIsTest()
       Whether this is a test call that should not count as legitimate processing.
       Test calls follow the same logic but may be used for validation/health checks.
       
      bool is_test = 6 [json_name = "isTest"];
      Returns:
      This builder for chaining.