GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalLocationConstraint
Table of Contents ▼
Jump to a specific part of the page:
Description
All the possible location constraints. This message is associated with a location and can be nested accordingly. E.g., for a compound location the constraint may be associated with the entire location or with either of the two internal locations (loc_1 and loc_2). There is an implicit AND relation between the different constraints. Next ID: 26.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
amenities
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalAmenities
, default:nil
)
- LINT.IfChange -
chainMember
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalChainMemberConstraint
, default:nil
)
- -
cuisine
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalCuisineConstraint
, default:nil
)
- -
evcsConnectorConstraint
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationConnectorConstraint
, default:nil
)
- Used for populating ElectricVehicleConnectorRefinement from QBF go/evcs-qbf-connector -
evcsPaymentConstraint
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationPaymentConstraint
, default:nil
)
- Used for populating ElectricVehiclePaymentRefinement from QBF go/evcs-qbf-payment -
evcsSpeedConstraint
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationSpeedConstraint
, default:nil
)
- -
gcidConstraint
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalGcidConstraint
, default:nil
)
- Used for GCID filter. Unlike other grammar, for now this is populated in Superroot (currently based on QBLD classification, and an allowlist of GCID). -
healthInsurance
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHealthInsuranceConstraint
, default:nil
)
- Used for health insurance filter populator. -
hyperReliableData
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData
, default:nil
)
- Some constraints are also hyper-reliable, such as [brunch] and [coffee]. -
new
(type:boolean()
, default:nil
)
- -
numBytes
(type:integer()
, default:nil
)
- -
open24Hours
(type:boolean()
, default:nil
)
- -
price
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint
, default:nil
)
- -
quality
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint
, default:nil
)
- -
rooms
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalRoomConstraint
, default:nil
)
- -
scalableAttribute
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalScalableAttribute
, default:nil
)
- -
service
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalServiceConstraint
, default:nil
)
- -
startByte
(type:integer()
, default:nil
)
- The span, in the raw input, which corresponds to this constraint, expressed as a byte offset and byte size. -
text
(type:String.t
, default:nil
)
- -
ungroundedConstraint
(type:boolean()
, default:nil
)
- Experimental, may change. -
unspecified
(type:boolean()
, default:nil
)
- Used to remove all constraints, e.g. [forget all the filters] -
vaccineType
(type:String.t
, default:nil
)
- Used for vaccine refinement: go/covid-vaccine-refinement. -
visitHistory
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalVisitHistoryConstraint
, default:nil
)
-
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalLocationConstraint{
amenities: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalAmenities.t() | nil,
chainMember: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalChainMemberConstraint.t() | nil,
cuisine: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalCuisineConstraint.t() | nil,
evcsConnectorConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationConnectorConstraint.t() | nil,
evcsPaymentConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationPaymentConstraint.t() | nil,
evcsSpeedConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationSpeedConstraint.t() | nil,
gcidConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalGcidConstraint.t() | nil,
healthInsurance: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHealthInsuranceConstraint.t() | nil,
hyperReliableData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData.t() | nil,
menuItem: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalMenuItem.t() | nil,
new: boolean() | nil,
numBytes: integer() | nil,
open24Hours: boolean() | nil,
price: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint.t() | nil,
quality: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint.t() | nil,
rooms: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalRoomConstraint.t() | nil,
scalableAttribute: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalScalableAttribute.t() | nil,
service: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalServiceConstraint.t() | nil,
startByte: integer() | nil,
text: String.t() | nil,
ungroundedConstraint: boolean() | nil,
unspecified: boolean() | nil,
vaccineType: String.t() | nil,
visitHistory: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalVisitHistoryConstraint.t() | nil
}
amenities: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalAmenities.t() | nil,
chainMember: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalChainMemberConstraint.t() | nil,
cuisine: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalCuisineConstraint.t() | nil,
evcsConnectorConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationConnectorConstraint.t() | nil,
evcsPaymentConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationPaymentConstraint.t() | nil,
evcsSpeedConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationSpeedConstraint.t() | nil,
gcidConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalGcidConstraint.t() | nil,
healthInsurance: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHealthInsuranceConstraint.t() | nil,
hyperReliableData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData.t() | nil,
menuItem: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalMenuItem.t() | nil,
new: boolean() | nil,
numBytes: integer() | nil,
open24Hours: boolean() | nil,
price: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint.t() | nil,
quality: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint.t() | nil,
rooms: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalRoomConstraint.t() | nil,
scalableAttribute: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalScalableAttribute.t() | nil,
service: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalServiceConstraint.t() | nil,
startByte: integer() | nil,
text: String.t() | nil,
ungroundedConstraint: boolean() | nil,
unspecified: boolean() | nil,
vaccineType: String.t() | nil,
visitHistory: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalVisitHistoryConstraint.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalLocationConstraint