GeostoreTextAffixProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreTextAffixProto


Table of Contents ▼

Jump to a specific part of the page:

Description

Represents text (with an associated language) that is affixed to the beginning and/or end of a primary text.

Attributes List

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

View Attributes

Attributes

  1. language (type: String.t, default: nil)
    - The external form of a Google International Identifiers Initiative (III) LanguageCode object. See google3/i18n/identifiers/languagecode.h for details. These strings should be treated as opaque blobs. You can use LanguageCodeConverter::FromOther to convert the string to a LanguageCode reference. You can then call methods on the LanguageCode class to extract language/script/region subtags (if any). See also http://g3doc/i18n/identifiers/g3doc/using-iii. We place extra restrictions on languages in addition to what the III library requires. See http://go/geo-schema-reference/feature-properties/languages.md
  2. prefix (type: String.t, default: nil)
    - Text to prepend to the primary text, including any necessary trailing whitespace. At least one of prefix or suffix is required.
  3. suffix (type: String.t, default: nil)
    - Text to append to the end of the primary text, including any necessary leading whitespace. At least one of prefix or suffix is required.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreTextAffixProto{
language: String.t() | nil,
prefix: String.t() | nil,
suffix: String.t() | nil
}

Function

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

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