Interface UploadChunkRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    map<string, string> metadata = 11 [json_name = "metadata"];
    int
    Chunk info
    Identity (connector-id from gRPC metadata)
    com.google.protobuf.ByteString
    Identity (connector-id from gRPC metadata)
    com.google.protobuf.ByteString
    The actual chunk data
    Unique identifier for this file
    com.google.protobuf.ByteString
    Unique identifier for this file
    File metadata (only needed on first chunk, but can be on all for simplicity)
    com.google.protobuf.ByteString
    File metadata (only needed on first chunk, but can be on all for simplicity)
    long
    int64 file_size = 10 [json_name = "fileSize"];
    boolean
    Is this the final chunk? (required when total_chunks=0)
    Deprecated.
    int
    map<string, string> metadata = 11 [json_name = "metadata"];
    map<string, string> metadata = 11 [json_name = "metadata"];
    getMetadataOrDefault(String key, String defaultValue)
    map<string, string> metadata = 11 [json_name = "metadata"];
    map<string, string> metadata = 11 [json_name = "metadata"];
    string mime_type = 9 [json_name = "mimeType"];
    com.google.protobuf.ByteString
    string mime_type = 9 [json_name = "mimeType"];
    File path/location
    com.google.protobuf.ByteString
    File path/location
    int
    Total chunks (0 if unknown, e.g.

    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

    • getCrawlId

      String getCrawlId()
       Identity (connector-id from gRPC metadata)
       
      string crawl_id = 1 [json_name = "crawlId"];
      Returns:
      The crawlId.
    • getCrawlIdBytes

      com.google.protobuf.ByteString getCrawlIdBytes()
       Identity (connector-id from gRPC metadata)
       
      string crawl_id = 1 [json_name = "crawlId"];
      Returns:
      The bytes for crawlId.
    • getFileId

      String getFileId()
       Unique identifier for this file
       
      string file_id = 2 [json_name = "fileId"];
      Returns:
      The fileId.
    • getFileIdBytes

      com.google.protobuf.ByteString getFileIdBytes()
       Unique identifier for this file
       
      string file_id = 2 [json_name = "fileId"];
      Returns:
      The bytes for fileId.
    • getChunkNumber

      int getChunkNumber()
       Chunk info
       
      int32 chunk_number = 3 [json_name = "chunkNumber"];
      Returns:
      The chunkNumber.
    • getTotalChunks

      int getTotalChunks()
       Total chunks (0 if unknown, e.g. streaming from unknown source)
       
      int32 total_chunks = 4 [json_name = "totalChunks"];
      Returns:
      The totalChunks.
    • getData

      com.google.protobuf.ByteString getData()
       The actual chunk data
       
      bytes data = 5 [json_name = "data"];
      Returns:
      The data.
    • getIsLast

      boolean getIsLast()
       Is this the final chunk? (required when total_chunks=0)
       
      bool is_last = 6 [json_name = "isLast"];
      Returns:
      The isLast.
    • getFilename

      String getFilename()
       File metadata (only needed on first chunk, but can be on all for simplicity)
       
      string filename = 7 [json_name = "filename"];
      Returns:
      The filename.
    • getFilenameBytes

      com.google.protobuf.ByteString getFilenameBytes()
       File metadata (only needed on first chunk, but can be on all for simplicity)
       
      string filename = 7 [json_name = "filename"];
      Returns:
      The bytes for filename.
    • getPath

      String getPath()
       File path/location
       
      string path = 8 [json_name = "path"];
      Returns:
      The path.
    • getPathBytes

      com.google.protobuf.ByteString getPathBytes()
       File path/location
       
      string path = 8 [json_name = "path"];
      Returns:
      The bytes for path.
    • getMimeType

      String getMimeType()
      string mime_type = 9 [json_name = "mimeType"];
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
      string mime_type = 9 [json_name = "mimeType"];
      Returns:
      The bytes for mimeType.
    • getFileSize

      long getFileSize()
      int64 file_size = 10 [json_name = "fileSize"];
      Returns:
      The fileSize.
    • getMetadataCount

      int getMetadataCount()
      map<string, string> metadata = 11 [json_name = "metadata"];
    • containsMetadata

      boolean containsMetadata(String key)
      map<string, string> metadata = 11 [json_name = "metadata"];
    • getMetadata

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

      Map<String,String> getMetadataMap()
      map<string, string> metadata = 11 [json_name = "metadata"];
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
      map<string, string> metadata = 11 [json_name = "metadata"];
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
      map<string, string> metadata = 11 [json_name = "metadata"];