TeragoogleDocumentInfo

GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

The docshards are a FlatSSTable from (64-bit) urlfp to data containing the information found in this protocol buffer. (It's not actually one of these PBs for various performance reasons; instead, the DocumentFormat class handles serialization and deserialization in our own way) Next available ID: 37

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. attachment (type: list(GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoAttachment), default: nil)
    -
  2. averageTermWeight (type: integer(), default: nil)
    - The average weight of terms in the document. If not available, there will be no term weight averaging: font sizes will be taken literally from the document HTML.
  3. doc (type: GoogleApi.ContentWarehouse.V1.Model.GDocumentBase, default: nil)
    - The document itself. If present, the docservers parse the contents to create a mustang repository.
  4. extendedDocid (type: String.t, default: nil)
    - The serialized ExtendedDocId, needed to construct a proper docinfo response if the docinfo request is missing it and it's present.
  5. globalDocid (type: String.t, default: nil)
    - the global docid, we need it in the docservers (Continuum mode) to construct proper docinfo response when the docinfo request does not contain a valid global docid
  6. originalEncoding (type: integer(), default: nil)
    - If the original encoding isn't UTF8
  7. section (type: list(GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoSection), default: nil)
    -
  8. sectionType (type: String.t, default: nil)
    - Indicates format of 'tokens' field in all Section entries.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfo{
attachment: [GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoAttachment.t()] | nil,
averageTermWeight: integer() | nil,
doc: GoogleApi.ContentWarehouse.V1.Model.GDocumentBase.t() | nil,
extendedDocid: String.t() | nil,
globalDocid: String.t() | nil,
originalEncoding: integer() | nil,
section: [GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoSection.t()] | nil,
sectionType: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfo