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 Summary
Modifier and TypeMethodDescriptionbuild()clear()API key or JWT token for authentication.DataSource identifier (deterministic: hash of account_id + connector_id).The full document structure with all metadata and content.Optional session ID for grouping related uploads.Source document identifier from the origin system.API key or JWT token for authentication.com.google.protobuf.ByteStringAPI key or JWT token for authentication.DataSource identifier (deterministic: hash of account_id + connector_id).com.google.protobuf.ByteStringDataSource identifier (deterministic: hash of account_id + connector_id).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorai.pipestream.data.v1.PipeDocThe full document structure with all metadata and content.ai.pipestream.data.v1.PipeDoc.BuilderThe full document structure with all metadata and content.ai.pipestream.data.v1.PipeDocOrBuilderThe full document structure with all metadata and content.Optional session ID for grouping related uploads.com.google.protobuf.ByteStringOptional session ID for grouping related uploads.Source document identifier from the origin system.com.google.protobuf.ByteStringSource document identifier from the origin system.booleanThe full document structure with all metadata and content.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UploadPipeDocRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePipeDoc(ai.pipestream.data.v1.PipeDoc value) The full document structure with all metadata and content.API key or JWT token for authentication.setApiKeyBytes(com.google.protobuf.ByteString value) API key or JWT token for authentication.setDatasourceId(String value) DataSource identifier (deterministic: hash of account_id + connector_id).setDatasourceIdBytes(com.google.protobuf.ByteString value) DataSource identifier (deterministic: hash of account_id + connector_id).setPipeDoc(ai.pipestream.data.v1.PipeDoc value) The full document structure with all metadata and content.setPipeDoc(ai.pipestream.data.v1.PipeDoc.Builder builderForValue) The full document structure with all metadata and content.setSessionId(String value) Optional session ID for grouping related uploads.setSessionIdBytes(com.google.protobuf.ByteString value) Optional session ID for grouping related uploads.setSourceDocId(String value) Source document identifier from the origin system.setSourceDocIdBytes(com.google.protobuf.ByteString value) Source document identifier from the origin system.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UploadPipeDocRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UploadPipeDocRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UploadPipeDocRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UploadPipeDocRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UploadPipeDocRequest.Builder>- Throws:
IOException
-
getDatasourceId
DataSource identifier (deterministic: hash of account_id + connector_id).
string datasource_id = 1 [json_name = "datasourceId"];- Specified by:
getDatasourceIdin interfaceUploadPipeDocRequestOrBuilder- 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:
getDatasourceIdBytesin interfaceUploadPipeDocRequestOrBuilder- Returns:
- The bytes for datasourceId.
-
setDatasourceId
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
DataSource identifier (deterministic: hash of account_id + connector_id).
string datasource_id = 1 [json_name = "datasourceId"];- Returns:
- This builder for chaining.
-
setDatasourceIdBytes
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
API key or JWT token for authentication.
string api_key = 2 [json_name = "apiKey"];- Specified by:
getApiKeyin interfaceUploadPipeDocRequestOrBuilder- 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:
getApiKeyBytesin interfaceUploadPipeDocRequestOrBuilder- Returns:
- The bytes for apiKey.
-
setApiKey
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
API key or JWT token for authentication.
string api_key = 2 [json_name = "apiKey"];- Returns:
- This builder for chaining.
-
setApiKeyBytes
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
Optional session ID for grouping related uploads.
string session_id = 3 [json_name = "sessionId"];- Specified by:
getSessionIdin interfaceUploadPipeDocRequestOrBuilder- 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:
getSessionIdBytesin interfaceUploadPipeDocRequestOrBuilder- Returns:
- The bytes for sessionId.
-
setSessionId
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
Optional session ID for grouping related uploads.
string session_id = 3 [json_name = "sessionId"];- Returns:
- This builder for chaining.
-
setSessionIdBytes
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:
hasPipeDocin interfaceUploadPipeDocRequestOrBuilder- 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:
getPipeDocin interfaceUploadPipeDocRequestOrBuilder- Returns:
- The pipeDoc.
-
setPipeDoc
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
The full document structure with all metadata and content.
.ai.pipestream.data.v1.PipeDoc pipe_doc = 4 [json_name = "pipeDoc"]; -
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:
getPipeDocOrBuilderin interfaceUploadPipeDocRequestOrBuilder
-
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:
getSourceDocIdin interfaceUploadPipeDocRequestOrBuilder- 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:
getSourceDocIdBytesin interfaceUploadPipeDocRequestOrBuilder- Returns:
- The bytes for sourceDocId.
-
setSourceDocId
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
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
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.
-