View Source GoogleApi.ContentWarehouse.V1.Model.GeostorePhysicalLineProto (google_api_content_warehouse v0.3.0)

Describes a single physical marker line. NOTE: PhysicalLineProto could be compared against one another by canonicalizing them via GetCanonicalPhysicalLine() in google3/geostore/base/internal/lane_marker.cc. Any fields that don't contribute to the definition of a physical line in the real world should be bundled with the annotative fields near the bottom and excluded in GetCanonicalPhysicalLine(). LINT.IfChange

Attributes

  • dashLengthMeters (type: number(), default: nil) - Applicable for DASHED and DOTTED_DASHED lines.
  • gapColor (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePaintedElementLogicalColorProto.t, default: nil) - This should be rarely needed, but can represent patterns of alternating colors.
  • gapLengthMeters (type: number(), default: nil) - Applicable for DASHED, DOTTED, and DOTTED_DASHED lines.
  • material (type: list(String.t), default: nil) -
  • paintColor (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePaintedElementLogicalColorProto.t, default: nil) - Color for the painted elements. Applicable to all types.
  • pattern (type: String.t, default: nil) -
  • physicalLineToken (type: String.t, default: nil) - A token that can be used to identify the version of the data about this marker line.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostorePhysicalLineProto{
  dashLengthMeters: number() | nil,
  gapColor:
    GoogleApi.ContentWarehouse.V1.Model.GeostorePaintedElementLogicalColorProto.t()
    | nil,
  gapLengthMeters: number() | nil,
  material: [String.t()] | nil,
  paintColor:
    GoogleApi.ContentWarehouse.V1.Model.GeostorePaintedElementLogicalColorProto.t()
    | nil,
  pattern: String.t() | nil,
  physicalLineToken: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.