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

Analog to freebase::Value TODO(b/144526840) This representation has several quality and performance issues. Next available tag number: 12

Attributes

  • boolValue (type: boolean(), default: nil) - Present when value is bool.
  • compoundValue (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefCompactKgTopic.t, default: nil) - Compound values are those that contain either a number of simple valued facets (such as a latitude/longitude pair), or "mediator" topics representing multi-dimensional relationships between topics. See metaweb/data/topictable/topic.proto for more details.
  • datetimeValue (type: String.t, default: nil) - Present when value is datetime.
  • enumValue (type: String.t, default: nil) - Present when value is enum.
  • floatValue (type: float(), default: nil) - Present when value is float.
  • idValue (type: String.t, default: nil) - Present when value is an id.
  • intValue (type: String.t, default: nil) - Present when value is int.
  • serializedProtoValue (type: String.t, default: nil) - Present when value is a serialized protocol buffer.
  • textValue (type: String.t, default: nil) - Present when value is text.
  • uriValue (type: String.t, default: nil) - Present when value is URI.
  • uriValueFprint32 (type: integer(), default: nil) - 32-bit fprint of uri. Can be used instead of uri_value to save space. See GetNormalizedUriFprint32().

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefCompactKgValue{
  boolValue: boolean() | nil,
  compoundValue:
    GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefCompactKgTopic.t() | nil,
  datetimeValue: String.t() | nil,
  enumValue: String.t() | nil,
  floatValue: float() | nil,
  idValue: String.t() | nil,
  intValue: String.t() | nil,
  serializedProtoValue: String.t() | nil,
  textValue: String.t() | nil,
  uriValue: String.t() | nil,
  uriValueFprint32: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.