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

This protocol buffer holds establishment-specific attributes for features of type TYPE_ESTABLISHMENT.

Attributes

  • bizbuilderReference (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreBizBuilderReferenceProto.t, default: nil) - Reference to BizBuilder data for this establishment. The bizbuilder_reference field indicates that a feature is claimed in CBDB (with the canonical state in MapFacts). The bizbuilder_reference is different from the social_reference's claimed_gaia_id because some BizBuilder clients will not have +Pages. All claimed businesses should have a bizbuilder_reference.
  • hours (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto.t, default: nil) - Regular opening hours for the establishment (weekly schedule).
  • openingHours (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreOpeningHoursProto.t, default: nil) - Opening hours for this establishment, including regular weekly hours and exceptional hours (e.g. on holidays). NOTE: in practice, only the exceptional hours are filled in this message. A schema migration for regular weekly hours was planned back in 2015 (see b/23105782) but was not completed and is (as of May 2018) not prioritized. Clients should continue getting regular opening hours from the hours field above. In openinghours.h there is a utility function GetOpeningHoursFromFeature that merges EstablishmentProto.hours into this proto.
  • priceInfo (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePriceInfoProto.t, default: nil) - Pricing for products and services offered. Example: menus for restaurants.
  • serviceArea (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreServiceAreaProto.t, default: nil) -
  • telephone (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreTelephoneProto.t), default: nil) - Telephone number and related information.
  • type (type: String.t, default: nil) - DEPRECATED This is deprecated in favor of the top-level (in FeatureProto) set of GConcepts. The type of establishment -- see comments above.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.