Interface UploadBlobRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UploadBlobRequest, UploadBlobRequest.Builder

@Generated public interface UploadBlobRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Additional metadata key-value pairs.
    API key for authentication.
    com.google.protobuf.ByteString
    API key for authentication.
    com.google.protobuf.ByteString
    Raw file content (up to 2GB).
    DataSource identifier (deterministic: hash of account_id + connector_id).
    com.google.protobuf.ByteString
    DataSource identifier (deterministic: hash of account_id + connector_id).
    Original filename.
    com.google.protobuf.ByteString
    Original filename.
    Deprecated.
    int
    Additional metadata key-value pairs.
    Additional metadata key-value pairs.
    getMetadataOrDefault(String key, String defaultValue)
    Additional metadata key-value pairs.
    Additional metadata key-value pairs.
    MIME type of the content.
    com.google.protobuf.ByteString
    MIME type of the content.
    Virtual path in the datasource's namespace (e.g., "/folder/file.txt").
    com.google.protobuf.ByteString
    Virtual path in the datasource's namespace (e.g., "/folder/file.txt").
    Optional session ID for grouping related uploads.
    com.google.protobuf.ByteString
    Optional session ID for grouping related uploads.
    Source document identifier from the origin system.
    com.google.protobuf.ByteString
    Source document identifier from the origin system.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDatasourceId

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

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

      String getApiKey()
       API key for authentication.
       
      string api_key = 2 [json_name = "apiKey"];
      Returns:
      The apiKey.
    • getApiKeyBytes

      com.google.protobuf.ByteString getApiKeyBytes()
       API key for authentication.
       
      string api_key = 2 [json_name = "apiKey"];
      Returns:
      The bytes for apiKey.
    • getSessionId

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

      com.google.protobuf.ByteString getSessionIdBytes()
       Optional session ID for grouping related uploads.
       
      string session_id = 3 [json_name = "sessionId"];
      Returns:
      The bytes for sessionId.
    • getFilename

      String getFilename()
       Original filename.
       
      string filename = 4 [json_name = "filename"];
      Returns:
      The filename.
    • getFilenameBytes

      com.google.protobuf.ByteString getFilenameBytes()
       Original filename.
       
      string filename = 4 [json_name = "filename"];
      Returns:
      The bytes for filename.
    • getMimeType

      String getMimeType()
       MIME type of the content.
       
      string mime_type = 5 [json_name = "mimeType"];
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
       MIME type of the content.
       
      string mime_type = 5 [json_name = "mimeType"];
      Returns:
      The bytes for mimeType.
    • getPath

      String getPath()
       Virtual path in the datasource's namespace (e.g., "/folder/file.txt").
       
      string path = 6 [json_name = "path"];
      Returns:
      The path.
    • getPathBytes

      com.google.protobuf.ByteString getPathBytes()
       Virtual path in the datasource's namespace (e.g., "/folder/file.txt").
       
      string path = 6 [json_name = "path"];
      Returns:
      The bytes for path.
    • getMetadataCount

      int getMetadataCount()
       Additional metadata key-value pairs.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
    • containsMetadata

      boolean containsMetadata(String key)
       Additional metadata key-value pairs.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
    • getMetadata

      @Deprecated Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

      Map<String,String> getMetadataMap()
       Additional metadata key-value pairs.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       Additional metadata key-value pairs.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       Additional metadata key-value pairs.
       
      map<string, string> metadata = 7 [json_name = "metadata"];
    • getContent

      com.google.protobuf.ByteString getContent()
       Raw file content (up to 2GB).
       
      bytes content = 8 [json_name = "content"];
      Returns:
      The content.
    • getSourceDocId

      String 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"];
      Returns:
      The sourceDocId.
    • getSourceDocIdBytes

      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"];
      Returns:
      The bytes for sourceDocId.