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

Protocol buffer for attaching attributes and values to instances. This is for assigning a particular attribute and value to a repository item, not for metadata. For protocol buffers that represents metadata about attributes and values, see CanonicalAttribute in itemclass.proto and ValueSpace in valuespace.proto.

Attributes

  • applicationData (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) -
  • attributeDisplay (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeValueDisplayProto.t), default: nil) -
  • booleanValue (type: boolean(), default: nil) -
  • canonicalAttributeId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeIdProto.t, default: nil) - The canonical attribute for this attribute instance.
  • doubleValue (type: float(), default: nil) -
  • enumIdValue (type: String.t, default: nil) - For those attribute ids that expect their values to be taken from an enumeration-style set of values, that value's gcid should be stored here, e.g. "gcid:attval_yes".
  • floatValue (type: number(), default: nil) -
  • int64Value (type: String.t, default: nil) -
  • integerValue (type: integer(), default: nil) -
  • itemClassId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeIdProto.t, default: nil) -
  • metadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t, default: nil) - Field-level metadata for this attribute
  • protoValue (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Fully qualified package name because genprotohdf uses genproto for this proto2 syntax: https://wiki.corp.google.com/twiki/bin/view/Main/Proto2WithGenproto
  • stringValue (type: String.t, default: nil) - The attribute value falls into one of these fields, based on value_type:
  • uint32Value (type: integer(), default: nil) -
  • valueDisplay (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeValueDisplayProto.t), default: nil) - Used to store language-specific names of this attribute's value (e.g. a translation into another language).
  • valueSpaceId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeIdProto.t, default: nil) -
  • valueType (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeProto{
  applicationData:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  attributeDisplay:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeValueDisplayProto.t()]
    | nil,
  booleanValue: boolean() | nil,
  canonicalAttributeId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeIdProto.t() | nil,
  doubleValue: float() | nil,
  enumIdValue: String.t() | nil,
  floatValue: number() | nil,
  int64Value: String.t() | nil,
  integerValue: integer() | nil,
  itemClassId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeIdProto.t() | nil,
  metadata:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
  protoValue:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  stringValue: String.t() | nil,
  uint32Value: integer() | nil,
  valueDisplay:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeValueDisplayProto.t()]
    | nil,
  valueSpaceId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreAttributeIdProto.t() | nil,
  valueType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.