Class UploadBlobRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.connector.intake.v1.UploadBlobRequest
- All Implemented Interfaces:
UploadBlobRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class UploadBlobRequest
extends com.google.protobuf.GeneratedMessage
implements UploadBlobRequestOrBuilder
Request to upload raw file content with minimal metadata. Simple path for basic file uploads where the service constructs the PipeDoc wrapper.Protobuf type
ai.pipestream.connector.intake.v1.UploadBlobRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest to upload raw file content with minimal metadata.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Additional metadata key-value pairs.booleanAPI key for authentication.com.google.protobuf.ByteStringAPI key for authentication.com.google.protobuf.ByteStringRaw file content (up to 2GB).DataSource identifier (deterministic: hash of account_id + connector_id).com.google.protobuf.ByteStringDataSource identifier (deterministic: hash of account_id + connector_id).static UploadBlobRequeststatic final com.google.protobuf.Descriptors.DescriptorOriginal filename.com.google.protobuf.ByteStringOriginal filename.Deprecated.intAdditional metadata key-value pairs.Additional metadata key-value pairs.getMetadataOrDefault(String key, String defaultValue) Additional metadata key-value pairs.getMetadataOrThrow(String key) Additional metadata key-value pairs.MIME type of the content.com.google.protobuf.ByteStringMIME type of the content.com.google.protobuf.Parser<UploadBlobRequest> getPath()Virtual path in the datasource's namespace (e.g., "/folder/file.txt").com.google.protobuf.ByteStringVirtual path in the datasource's namespace (e.g., "/folder/file.txt").intOptional 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.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic UploadBlobRequest.Builderstatic UploadBlobRequest.BuildernewBuilder(UploadBlobRequest prototype) protected UploadBlobRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static UploadBlobRequestparseDelimitedFrom(InputStream input) static UploadBlobRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UploadBlobRequestparseFrom(byte[] data) static UploadBlobRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UploadBlobRequestparseFrom(com.google.protobuf.ByteString data) static UploadBlobRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UploadBlobRequestparseFrom(com.google.protobuf.CodedInputStream input) static UploadBlobRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UploadBlobRequestparseFrom(InputStream input) static UploadBlobRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UploadBlobRequestparseFrom(ByteBuffer data) static UploadBlobRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UploadBlobRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DATASOURCE_ID_FIELD_NUMBER
public static final int DATASOURCE_ID_FIELD_NUMBER- See Also:
-
API_KEY_FIELD_NUMBER
public static final int API_KEY_FIELD_NUMBER- See Also:
-
SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER- See Also:
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER- See Also:
-
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER- See Also:
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER- See Also:
-
SOURCE_DOC_ID_FIELD_NUMBER
public static final int SOURCE_DOC_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDatasourceId
DataSource identifier (deterministic: hash of account_id + connector_id).
string datasource_id = 1 [json_name = "datasourceId"];- Specified by:
getDatasourceIdin interfaceUploadBlobRequestOrBuilder- 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 interfaceUploadBlobRequestOrBuilder- Returns:
- The bytes for datasourceId.
-
getApiKey
API key for authentication.
string api_key = 2 [json_name = "apiKey"];- Specified by:
getApiKeyin interfaceUploadBlobRequestOrBuilder- Returns:
- The apiKey.
-
getApiKeyBytes
public com.google.protobuf.ByteString getApiKeyBytes()API key for authentication.
string api_key = 2 [json_name = "apiKey"];- Specified by:
getApiKeyBytesin interfaceUploadBlobRequestOrBuilder- Returns:
- The bytes for apiKey.
-
getSessionId
Optional session ID for grouping related uploads.
string session_id = 3 [json_name = "sessionId"];- Specified by:
getSessionIdin interfaceUploadBlobRequestOrBuilder- 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 interfaceUploadBlobRequestOrBuilder- Returns:
- The bytes for sessionId.
-
getFilename
Original filename.
string filename = 4 [json_name = "filename"];- Specified by:
getFilenamein interfaceUploadBlobRequestOrBuilder- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()Original filename.
string filename = 4 [json_name = "filename"];- Specified by:
getFilenameBytesin interfaceUploadBlobRequestOrBuilder- Returns:
- The bytes for filename.
-
getMimeType
MIME type of the content.
string mime_type = 5 [json_name = "mimeType"];- Specified by:
getMimeTypein interfaceUploadBlobRequestOrBuilder- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()MIME type of the content.
string mime_type = 5 [json_name = "mimeType"];- Specified by:
getMimeTypeBytesin interfaceUploadBlobRequestOrBuilder- Returns:
- The bytes for mimeType.
-
getPath
Virtual path in the datasource's namespace (e.g., "/folder/file.txt").
string path = 6 [json_name = "path"];- Specified by:
getPathin interfaceUploadBlobRequestOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Virtual path in the datasource's namespace (e.g., "/folder/file.txt").
string path = 6 [json_name = "path"];- Specified by:
getPathBytesin interfaceUploadBlobRequestOrBuilder- Returns:
- The bytes for path.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:UploadBlobRequestOrBuilderAdditional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceUploadBlobRequestOrBuilder
-
containsMetadata
Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceUploadBlobRequestOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceUploadBlobRequestOrBuilder
-
getMetadataMap
Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceUploadBlobRequestOrBuilder
-
getMetadataOrDefault
Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceUploadBlobRequestOrBuilder
-
getMetadataOrThrow
Additional metadata key-value pairs.
map<string, string> metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceUploadBlobRequestOrBuilder
-
getContent
public com.google.protobuf.ByteString getContent()Raw file content (up to 2GB).
bytes content = 8 [json_name = "content"];- Specified by:
getContentin interfaceUploadBlobRequestOrBuilder- Returns:
- The content.
-
getSourceDocId
Source document identifier from the origin system. Used to generate deterministic doc_id: hash(datasource_id + source_doc_id) If not provided, path or filename will be used.
string source_doc_id = 9 [json_name = "sourceDocId"];- Specified by:
getSourceDocIdin interfaceUploadBlobRequestOrBuilder- 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) If not provided, path or filename will be used.
string source_doc_id = 9 [json_name = "sourceDocId"];- Specified by:
getSourceDocIdBytesin interfaceUploadBlobRequestOrBuilder- Returns:
- The bytes for sourceDocId.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UploadBlobRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UploadBlobRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UploadBlobRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UploadBlobRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UploadBlobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UploadBlobRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UploadBlobRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UploadBlobRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UploadBlobRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UploadBlobRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UploadBlobRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-