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

Internal-only proto used to express additional information about segments. This is intended for communicating extra information between editing clients and the repository, and should not be used by or visible to clients. WARNING - if you add new fields to InternalSegmentProto, make sure that geostore/tools/internal/mr-mergesegments_test.cc is aware of them.

Attributes

  • disallowedConnections (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreInternalSegmentProtoLaneConnectionReference.t), default: nil) - A list of lane connections that are explicitly not allowed to be added. NOTE: This should never reference existing lane connections on this segment.
  • disallowedPrimaryConnection (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreInternalSegmentProtoLaneConnectionReference.t), default: nil) - A list of lane connections which cannot have the primary_connection bit set.
  • travelAllowance (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreRestrictionProto.t), default: nil) - The set of restrictions that apply to this segment; these are actually POSITIVE restrictions, i.e. they are known to be allowed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreInternalSegmentProto{
  disallowedConnections:
    [
      GoogleApi.ContentWarehouse.V1.Model.GeostoreInternalSegmentProtoLaneConnectionReference.t()
    ]
    | nil,
  disallowedPrimaryConnection:
    [
      GoogleApi.ContentWarehouse.V1.Model.GeostoreInternalSegmentProtoLaneConnectionReference.t()
    ]
    | nil,
  travelAllowance:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreRestrictionProto.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.