Class UploadPipeDocRequest.Builder

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

public static final class UploadPipeDocRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UploadPipeDocRequest.Builder> implements UploadPipeDocRequestOrBuilder
 Request to upload a fully-formed PipeDoc.

 Power user path for internal services and advanced connectors.
 
Protobuf type ai.pipestream.connector.intake.v1.UploadPipeDocRequest
  • 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<UploadPipeDocRequest.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<UploadPipeDocRequest.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<UploadPipeDocRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UploadPipeDocRequest.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<UploadPipeDocRequest.Builder>
      Throws:
      IOException
    • getDatasourceId

      public String getDatasourceId()
       DataSource identifier (deterministic: hash of account_id + connector_id).
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Specified by:
      getDatasourceId in interface UploadPipeDocRequestOrBuilder
      Returns:
      The datasourceId.
    • getDatasourceIdBytes

      public com.google.protobuf.ByteString getDatasourceIdBytes()
       DataSource identifier (deterministic: hash of account_id + connector_id).
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Specified by:
      getDatasourceIdBytes in interface UploadPipeDocRequestOrBuilder
      Returns:
      The bytes for datasourceId.
    • setDatasourceId

      public UploadPipeDocRequest.Builder setDatasourceId(String value)
       DataSource identifier (deterministic: hash of account_id + connector_id).
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Parameters:
      value - The datasourceId to set.
      Returns:
      This builder for chaining.
    • clearDatasourceId

      public UploadPipeDocRequest.Builder clearDatasourceId()
       DataSource identifier (deterministic: hash of account_id + connector_id).
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Returns:
      This builder for chaining.
    • setDatasourceIdBytes

      public UploadPipeDocRequest.Builder setDatasourceIdBytes(com.google.protobuf.ByteString value)
       DataSource identifier (deterministic: hash of account_id + connector_id).
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Parameters:
      value - The bytes for datasourceId to set.
      Returns:
      This builder for chaining.
    • getApiKey

      public String getApiKey()
       API key or JWT token for authentication.
       
      string api_key = 2 [json_name = "apiKey"];
      Specified by:
      getApiKey in interface UploadPipeDocRequestOrBuilder
      Returns:
      The apiKey.
    • getApiKeyBytes

      public com.google.protobuf.ByteString getApiKeyBytes()
       API key or JWT token for authentication.
       
      string api_key = 2 [json_name = "apiKey"];
      Specified by:
      getApiKeyBytes in interface UploadPipeDocRequestOrBuilder
      Returns:
      The bytes for apiKey.
    • setApiKey

      public UploadPipeDocRequest.Builder setApiKey(String value)
       API key or JWT token for authentication.
       
      string api_key = 2 [json_name = "apiKey"];
      Parameters:
      value - The apiKey to set.
      Returns:
      This builder for chaining.
    • clearApiKey

      public UploadPipeDocRequest.Builder clearApiKey()
       API key or JWT token for authentication.
       
      string api_key = 2 [json_name = "apiKey"];
      Returns:
      This builder for chaining.
    • setApiKeyBytes

      public UploadPipeDocRequest.Builder setApiKeyBytes(com.google.protobuf.ByteString value)
       API key or JWT token for authentication.
       
      string api_key = 2 [json_name = "apiKey"];
      Parameters:
      value - The bytes for apiKey to set.
      Returns:
      This builder for chaining.
    • getSessionId

      public String getSessionId()
       Optional session ID for grouping related uploads.
       
      string session_id = 3 [json_name = "sessionId"];
      Specified by:
      getSessionId in interface UploadPipeDocRequestOrBuilder
      Returns:
      The sessionId.
    • getSessionIdBytes

      public com.google.protobuf.ByteString getSessionIdBytes()
       Optional session ID for grouping related uploads.
       
      string session_id = 3 [json_name = "sessionId"];
      Specified by:
      getSessionIdBytes in interface UploadPipeDocRequestOrBuilder
      Returns:
      The bytes for sessionId.
    • setSessionId

      public UploadPipeDocRequest.Builder setSessionId(String value)
       Optional session ID for grouping related uploads.
       
      string session_id = 3 [json_name = "sessionId"];
      Parameters:
      value - The sessionId to set.
      Returns:
      This builder for chaining.
    • clearSessionId

      public UploadPipeDocRequest.Builder clearSessionId()
       Optional session ID for grouping related uploads.
       
      string session_id = 3 [json_name = "sessionId"];
      Returns:
      This builder for chaining.
    • setSessionIdBytes

      public UploadPipeDocRequest.Builder setSessionIdBytes(com.google.protobuf.ByteString value)
       Optional session ID for grouping related uploads.
       
      string session_id = 3 [json_name = "sessionId"];
      Parameters:
      value - The bytes for sessionId to set.
      Returns:
      This builder for chaining.
    • hasPipeDoc

      public boolean hasPipeDoc()
       The full document structure with all metadata and content.
       
      .ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"];
      Specified by:
      hasPipeDoc in interface UploadPipeDocRequestOrBuilder
      Returns:
      Whether the pipeDoc field is set.
    • getPipeDoc

      public ai.pipestream.data.v1.PipeDoc getPipeDoc()
       The full document structure with all metadata and content.
       
      .ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"];
      Specified by:
      getPipeDoc in interface UploadPipeDocRequestOrBuilder
      Returns:
      The pipeDoc.
    • setPipeDoc

      public UploadPipeDocRequest.Builder setPipeDoc(ai.pipestream.data.v1.PipeDoc value)
       The full document structure with all metadata and content.
       
      .ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"];
    • setPipeDoc

      public UploadPipeDocRequest.Builder setPipeDoc(ai.pipestream.data.v1.PipeDoc.Builder builderForValue)
       The full document structure with all metadata and content.
       
      .ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"];
    • mergePipeDoc

      public UploadPipeDocRequest.Builder mergePipeDoc(ai.pipestream.data.v1.PipeDoc value)
       The full document structure with all metadata and content.
       
      .ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"];
    • clearPipeDoc

      public UploadPipeDocRequest.Builder clearPipeDoc()
       The full document structure with all metadata and content.
       
      .ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"];
    • getPipeDocBuilder

      public ai.pipestream.data.v1.PipeDoc.Builder getPipeDocBuilder()
       The full document structure with all metadata and content.
       
      .ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"];
    • getPipeDocOrBuilder

      public ai.pipestream.data.v1.PipeDocOrBuilder getPipeDocOrBuilder()
       The full document structure with all metadata and content.
       
      .ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"];
      Specified by:
      getPipeDocOrBuilder in interface UploadPipeDocRequestOrBuilder
    • getSourceDocId

      public String getSourceDocId()
       Source document identifier from the origin system.
       Used to generate deterministic doc_id: hash(datasource_id + source_doc_id)
       
      string source_doc_id = 5 [json_name = "sourceDocId"];
      Specified by:
      getSourceDocId in interface UploadPipeDocRequestOrBuilder
      Returns:
      The sourceDocId.
    • getSourceDocIdBytes

      public com.google.protobuf.ByteString getSourceDocIdBytes()
       Source document identifier from the origin system.
       Used to generate deterministic doc_id: hash(datasource_id + source_doc_id)
       
      string source_doc_id = 5 [json_name = "sourceDocId"];
      Specified by:
      getSourceDocIdBytes in interface UploadPipeDocRequestOrBuilder
      Returns:
      The bytes for sourceDocId.
    • setSourceDocId

      public UploadPipeDocRequest.Builder setSourceDocId(String value)
       Source document identifier from the origin system.
       Used to generate deterministic doc_id: hash(datasource_id + source_doc_id)
       
      string source_doc_id = 5 [json_name = "sourceDocId"];
      Parameters:
      value - The sourceDocId to set.
      Returns:
      This builder for chaining.
    • clearSourceDocId

      public UploadPipeDocRequest.Builder clearSourceDocId()
       Source document identifier from the origin system.
       Used to generate deterministic doc_id: hash(datasource_id + source_doc_id)
       
      string source_doc_id = 5 [json_name = "sourceDocId"];
      Returns:
      This builder for chaining.
    • setSourceDocIdBytes

      public UploadPipeDocRequest.Builder setSourceDocIdBytes(com.google.protobuf.ByteString value)
       Source document identifier from the origin system.
       Used to generate deterministic doc_id: hash(datasource_id + source_doc_id)
       
      string source_doc_id = 5 [json_name = "sourceDocId"];
      Parameters:
      value - The bytes for sourceDocId to set.
      Returns:
      This builder for chaining.