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

This protocol buffer holds the building-specific attributes for features of type TYPE_COMPOUND_BUILDING.

Attributes

  • baseHeightMetersAgl (type: number(), default: nil) - The height of the base of this building, in meters above ground-level, if known.
  • defaultDisplayLevel (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - The level in this building that should get displayed by default. If present, the default display level must be one of this building's levels that are listed in the level[] field, and if a level is set as a default level of one building, all buildings sharing the level should have that same level as their default level. If not present, clients should not display any level by default for that building.
  • floors (type: integer(), default: nil) - The number of floors above the base of the building, if known. For example a regular 1-story building would set this to "1". Use a value of GeostoreConstants::kDefaultHeightPerFloor when converting "floors" to "height_meters".
  • floorsMetadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t, default: nil) -
  • heightMeters (type: number(), default: nil) - The height of the building above its base, in meters, if known.
  • heightMetersMetadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t, default: nil) -
  • level (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t), default: nil) - The levels in this building, in no particular order. These levels refer back to the building via another strong reference (the LevelProto.building field).
  • structure (type: String.t, default: nil) - "Structure" denotes a physical architecture of the building that is readily visible. This attribute is useful in that rarer structures can make good landmarks.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreBuildingProto{
  baseHeightMetersAgl: number() | nil,
  defaultDisplayLevel:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  floors: integer() | nil,
  floorsMetadata:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
  heightMeters: number() | nil,
  heightMetersMetadata:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
  level: [GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t()] | nil,
  structure: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.