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.Connector identifier.The full document structure with all metadata and content.Optional session ID for grouping related uploads.API key or JWT token for authentication.com.google.protobuf.ByteStringAPI key or JWT token for authentication.Connector identifier.com.google.protobuf.ByteStringConnector identifier.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.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.setConnectorId(String value) Connector identifier.setConnectorIdBytes(com.google.protobuf.ByteString value) Connector identifier.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.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
-
getConnectorId
Connector identifier.
string connector_id = 1 [json_name = "connectorId"];- Specified by:
getConnectorIdin interfaceUploadPipeDocRequestOrBuilder- Returns:
- The connectorId.
-
getConnectorIdBytes
public com.google.protobuf.ByteString getConnectorIdBytes()Connector identifier.
string connector_id = 1 [json_name = "connectorId"];- Specified by:
getConnectorIdBytesin interfaceUploadPipeDocRequestOrBuilder- Returns:
- The bytes for connectorId.
-
setConnectorId
Connector identifier.
string connector_id = 1 [json_name = "connectorId"];- Parameters:
value- The connectorId to set.- Returns:
- This builder for chaining.
-
clearConnectorId
Connector identifier.
string connector_id = 1 [json_name = "connectorId"];- Returns:
- This builder for chaining.
-
setConnectorIdBytes
Connector identifier.
string connector_id = 1 [json_name = "connectorId"];- Parameters:
value- The bytes for connectorId 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
-