View Source GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfo (google_api_content_warehouse v0.4.0)

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

  • attachment (type: list(GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoAttachment.t), default: nil) -
  • 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.
  • doc (type: GoogleApi.ContentWarehouse.V1.Model.GDocumentBase.t, default: nil) - The document itself. If present, the docservers parse the contents to create a mustang repository.
  • 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.
  • 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
  • originalEncoding (type: integer(), default: nil) - If the original encoding isn't UTF8
  • section (type: list(GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoSection.t), default: nil) -
  • sectionType (type: String.t, default: nil) - Indicates format of 'tokens' field in all Section entries.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.