Variables
Insight_name, Insight_value
var (
Insight_name = map[int32]string{
0: "INSIGHT_UNSPECIFIED",
1: "INSIGHT_COUNT",
2: "INSIGHT_PLACES",
}
Insight_value = map[string]int32{
"INSIGHT_UNSPECIFIED": 0,
"INSIGHT_COUNT": 1,
"INSIGHT_PLACES": 2,
}
)
Enum value maps for Insight.
OperatingStatus_name, OperatingStatus_value
var (
OperatingStatus_name = map[int32]string{
0: "OPERATING_STATUS_UNSPECIFIED",
1: "OPERATING_STATUS_OPERATIONAL",
3: "OPERATING_STATUS_PERMANENTLY_CLOSED",
4: "OPERATING_STATUS_TEMPORARILY_CLOSED",
}
OperatingStatus_value = map[string]int32{
"OPERATING_STATUS_UNSPECIFIED": 0,
"OPERATING_STATUS_OPERATIONAL": 1,
"OPERATING_STATUS_PERMANENTLY_CLOSED": 3,
"OPERATING_STATUS_TEMPORARILY_CLOSED": 4,
}
)
Enum value maps for OperatingStatus.
PriceLevel_name, PriceLevel_value
var (
PriceLevel_name = map[int32]string{
0: "PRICE_LEVEL_UNSPECIFIED",
1: "PRICE_LEVEL_FREE",
2: "PRICE_LEVEL_INEXPENSIVE",
3: "PRICE_LEVEL_MODERATE",
4: "PRICE_LEVEL_EXPENSIVE",
5: "PRICE_LEVEL_VERY_EXPENSIVE",
}
PriceLevel_value = map[string]int32{
"PRICE_LEVEL_UNSPECIFIED": 0,
"PRICE_LEVEL_FREE": 1,
"PRICE_LEVEL_INEXPENSIVE": 2,
"PRICE_LEVEL_MODERATE": 3,
"PRICE_LEVEL_EXPENSIVE": 4,
"PRICE_LEVEL_VERY_EXPENSIVE": 5,
}
)
Enum value maps for PriceLevel.
File_google_maps_areainsights_v1_area_insights_service_proto
var File_google_maps_areainsights_v1_area_insights_service_proto protoreflect.FileDescriptor
Functions
func RegisterAreaInsightsServer
func RegisterAreaInsightsServer(s *grpc.Server, srv AreaInsightsServer)
AreaInsightsClient
type AreaInsightsClient interface {
// Compute Insights RPC
//
// This method lets you retrieve insights about areas using a variaty of
// filter such as: area, place type, operating status, price level
// and ratings. Currently "count" and "places" insights are supported. With
// "count" insights you can answer questions such as "How many restaurant are
// located in California that are operational, are inexpensive and have an
// average rating of at least 4 stars" (see `insight` enum for more details).
// With "places" insights, you can determine which places match the
// requested filter. Clients can then use those place resource names to fetch
// more details about each individual place using the Places API.
ComputeInsights(ctx context.Context, in *ComputeInsightsRequest, opts ...grpc.CallOption) (*ComputeInsightsResponse, error)
}
AreaInsightsClient is the client API for AreaInsights service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAreaInsightsClient
func NewAreaInsightsClient(cc grpc.ClientConnInterface) AreaInsightsClient
AreaInsightsServer
type AreaInsightsServer interface {
// Compute Insights RPC
//
// This method lets you retrieve insights about areas using a variaty of
// filter such as: area, place type, operating status, price level
// and ratings. Currently "count" and "places" insights are supported. With
// "count" insights you can answer questions such as "How many restaurant are
// located in California that are operational, are inexpensive and have an
// average rating of at least 4 stars" (see `insight` enum for more details).
// With "places" insights, you can determine which places match the
// requested filter. Clients can then use those place resource names to fetch
// more details about each individual place using the Places API.
ComputeInsights(context.Context, *ComputeInsightsRequest) (*ComputeInsightsResponse, error)
}
AreaInsightsServer is the server API for AreaInsights service.
ComputeInsightsRequest
type ComputeInsightsRequest struct {
// Required. Insights to compute. Currently only INSIGHT_COUNT and
// INSIGHT_PLACES are supported.
Insights []Insight `protobuf:"varint,4,rep,packed,name=insights,proto3,enum=google.maps.areainsights.v1.Insight" json:"insights,omitempty"`
// Required. Insight filter.
Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request for the ComputeInsights RPC.
func (*ComputeInsightsRequest) Descriptor
func (*ComputeInsightsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ComputeInsightsRequest.ProtoReflect.Descriptor instead.
func (*ComputeInsightsRequest) GetFilter
func (x *ComputeInsightsRequest) GetFilter() *Filter
func (*ComputeInsightsRequest) GetInsights
func (x *ComputeInsightsRequest) GetInsights() []Insight
func (*ComputeInsightsRequest) ProtoMessage
func (*ComputeInsightsRequest) ProtoMessage()
func (*ComputeInsightsRequest) ProtoReflect
func (x *ComputeInsightsRequest) ProtoReflect() protoreflect.Message
func (*ComputeInsightsRequest) Reset
func (x *ComputeInsightsRequest) Reset()
func (*ComputeInsightsRequest) String
func (x *ComputeInsightsRequest) String() string
ComputeInsightsResponse
type ComputeInsightsResponse struct {
// Result for Insights.INSIGHT_COUNT.
Count *int64 `protobuf:"varint,1,opt,name=count,proto3,oneof" json:"count,omitempty"`
// Result for Insights.INSIGHT_PLACES.
PlaceInsights []*PlaceInsight `protobuf:"bytes,5,rep,name=place_insights,json=placeInsights,proto3" json:"place_insights,omitempty"`
// contains filtered or unexported fields
}
Response for the ComputeInsights RPC.
func (*ComputeInsightsResponse) Descriptor
func (*ComputeInsightsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ComputeInsightsResponse.ProtoReflect.Descriptor instead.
func (*ComputeInsightsResponse) GetCount
func (x *ComputeInsightsResponse) GetCount() int64
func (*ComputeInsightsResponse) GetPlaceInsights
func (x *ComputeInsightsResponse) GetPlaceInsights() []*PlaceInsight
func (*ComputeInsightsResponse) ProtoMessage
func (*ComputeInsightsResponse) ProtoMessage()
func (*ComputeInsightsResponse) ProtoReflect
func (x *ComputeInsightsResponse) ProtoReflect() protoreflect.Message
func (*ComputeInsightsResponse) Reset
func (x *ComputeInsightsResponse) Reset()
func (*ComputeInsightsResponse) String
func (x *ComputeInsightsResponse) String() string
Filter
type Filter struct {
LocationFilter *LocationFilter `protobuf:"bytes,1,opt,name=location_filter,json=locationFilter,proto3" json:"location_filter,omitempty"`
TypeFilter *TypeFilter `protobuf:"bytes,2,opt,name=type_filter,json=typeFilter,proto3" json:"type_filter,omitempty"`
OperatingStatus []OperatingStatus "" /* 163 byte string literal not displayed */
PriceLevels []PriceLevel "" /* 146 byte string literal not displayed */
RatingFilter *RatingFilter `protobuf:"bytes,5,opt,name=rating_filter,json=ratingFilter,proto3" json:"rating_filter,omitempty"`
}
Filters for the ComputeInsights RPC.
func (*Filter) Descriptor
Deprecated: Use Filter.ProtoReflect.Descriptor instead.
func (*Filter) GetLocationFilter
func (x *Filter) GetLocationFilter() *LocationFilter
func (*Filter) GetOperatingStatus
func (x *Filter) GetOperatingStatus() []OperatingStatus
func (*Filter) GetPriceLevels
func (x *Filter) GetPriceLevels() []PriceLevel
func (*Filter) GetRatingFilter
func (x *Filter) GetRatingFilter() *RatingFilter
func (*Filter) GetTypeFilter
func (x *Filter) GetTypeFilter() *TypeFilter
func (*Filter) ProtoMessage
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) Reset
func (x *Filter) Reset()
func (*Filter) String
Insight
type Insight int32
Supported insights.
Insight_INSIGHT_UNSPECIFIED, Insight_INSIGHT_COUNT, Insight_INSIGHT_PLACES
const (
// Not Specified.
Insight_INSIGHT_UNSPECIFIED Insight = 0
// Count insight.
//
// When this insight is specified ComputeInsights returns the number of
// places that match the specified filter criteria.
// ```
// For example if the request is:
//
// ComputeInsightsRequest {
// insights: INSIGHT_COUNT
// filter {
// location_filter {region:
func (Insight) Descriptor
func (Insight) Descriptor() protoreflect.EnumDescriptor
func (Insight) Enum
func (Insight) EnumDescriptor
Deprecated: Use Insight.Descriptor instead.
func (Insight) Number
func (x Insight) Number() protoreflect.EnumNumber
func (Insight) String
func (Insight) Type
func (Insight) Type() protoreflect.EnumType
LocationFilter
type LocationFilter struct {
// One of the following must be specified.
//
// Types that are assignable to Area:
//
// *LocationFilter_Circle_
// *LocationFilter_Region_
// *LocationFilter_CustomArea_
Area isLocationFilter_Area `protobuf_oneof:"area"`
// contains filtered or unexported fields
}
Location filters.
Specifies the area of interest for the insight.
func (*LocationFilter) Descriptor
func (*LocationFilter) Descriptor() ([]byte, []int)
Deprecated: Use LocationFilter.ProtoReflect.Descriptor instead.
func (*LocationFilter) GetArea
func (m *LocationFilter) GetArea() isLocationFilter_Area
func (*LocationFilter) GetCircle
func (x *LocationFilter) GetCircle() *LocationFilter_Circle
func (*LocationFilter) GetCustomArea
func (x *LocationFilter) GetCustomArea() *LocationFilter_CustomArea
func (*LocationFilter) GetRegion
func (x *LocationFilter) GetRegion() *LocationFilter_Region
func (*LocationFilter) ProtoMessage
func (*LocationFilter) ProtoMessage()
func (*LocationFilter) ProtoReflect
func (x *LocationFilter) ProtoReflect() protoreflect.Message
func (*LocationFilter) Reset
func (x *LocationFilter) Reset()
func (*LocationFilter) String
func (x *LocationFilter) String() string
LocationFilter_Circle
type LocationFilter_Circle struct {
// The center of the circle.
//
// Types that are assignable to Center:
//
// *LocationFilter_Circle_LatLng
// *LocationFilter_Circle_Place
Center isLocationFilter_Circle_Center `protobuf_oneof:"center"`
// Optional. The radius of the circle in meters
Radius int32 `protobuf:"varint,3,opt,name=radius,proto3" json:"radius,omitempty"`
// contains filtered or unexported fields
}
A circle is defined by a center point and radius in meters.
func (*LocationFilter_Circle) Descriptor
func (*LocationFilter_Circle) Descriptor() ([]byte, []int)
Deprecated: Use LocationFilter_Circle.ProtoReflect.Descriptor instead.
func (*LocationFilter_Circle) GetCenter
func (m *LocationFilter_Circle) GetCenter() isLocationFilter_Circle_Center
func (*LocationFilter_Circle) GetLatLng
func (x *LocationFilter_Circle) GetLatLng() *latlng.LatLng
func (*LocationFilter_Circle) GetPlace
func (x *LocationFilter_Circle) GetPlace() string
func (*LocationFilter_Circle) GetRadius
func (x *LocationFilter_Circle) GetRadius() int32
func (*LocationFilter_Circle) ProtoMessage
func (*LocationFilter_Circle) ProtoMessage()
func (*LocationFilter_Circle) ProtoReflect
func (x *LocationFilter_Circle) ProtoReflect() protoreflect.Message
func (*LocationFilter_Circle) Reset
func (x *LocationFilter_Circle) Reset()
func (*LocationFilter_Circle) String
func (x *LocationFilter_Circle) String() string
LocationFilter_Circle_
type LocationFilter_Circle_ struct {
// Area as a circle.
Circle *LocationFilter_Circle `protobuf:"bytes,1,opt,name=circle,proto3,oneof"`
}
LocationFilter_Circle_LatLng
type LocationFilter_Circle_LatLng struct {
// The latitude and longitude of the center of the circle.
LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3,oneof"`
}
LocationFilter_Circle_Place
type LocationFilter_Circle_Place struct {
// The Place resource name of the center of the circle. Only point places
// are supported.
Place string `protobuf:"bytes,2,opt,name=place,proto3,oneof"`
}
LocationFilter_CustomArea
type LocationFilter_CustomArea struct {
// Required. The custom area represented as a polygon
Polygon *LocationFilter_CustomArea_Polygon `protobuf:"bytes,1,opt,name=polygon,proto3" json:"polygon,omitempty"`
// contains filtered or unexported fields
}
Custom Area.
func (*LocationFilter_CustomArea) Descriptor
func (*LocationFilter_CustomArea) Descriptor() ([]byte, []int)
Deprecated: Use LocationFilter_CustomArea.ProtoReflect.Descriptor instead.
func (*LocationFilter_CustomArea) GetPolygon
func (x *LocationFilter_CustomArea) GetPolygon() *LocationFilter_CustomArea_Polygon
func (*LocationFilter_CustomArea) ProtoMessage
func (*LocationFilter_CustomArea) ProtoMessage()
func (*LocationFilter_CustomArea) ProtoReflect
func (x *LocationFilter_CustomArea) ProtoReflect() protoreflect.Message
func (*LocationFilter_CustomArea) Reset
func (x *LocationFilter_CustomArea) Reset()
func (*LocationFilter_CustomArea) String
func (x *LocationFilter_CustomArea) String() string
LocationFilter_CustomArea_
type LocationFilter_CustomArea_ struct {
// Custom area specified by a polygon.
CustomArea *LocationFilter_CustomArea `protobuf:"bytes,3,opt,name=custom_area,json=customArea,proto3,oneof"`
}
LocationFilter_CustomArea_Polygon
type LocationFilter_CustomArea_Polygon struct {
// Optional. The coordinates that define the polygon.
Coordinates []*latlng.LatLng `protobuf:"bytes,1,rep,name=coordinates,proto3" json:"coordinates,omitempty"`
// contains filtered or unexported fields
}
A polygon is represented by a series of connected coordinates in an counterclockwise ordered sequence. The coordinates form a closed loop and define a filled region. The first and last coordinates are equivalent, and they must contain identical values. The format is a simplified version of GeoJSON polygons (we only support one counterclockwise exterior ring).
func (*LocationFilter_CustomArea_Polygon) Descriptor
func (*LocationFilter_CustomArea_Polygon) Descriptor() ([]byte, []int)
Deprecated: Use LocationFilter_CustomArea_Polygon.ProtoReflect.Descriptor instead.
func (*LocationFilter_CustomArea_Polygon) GetCoordinates
func (x *LocationFilter_CustomArea_Polygon) GetCoordinates() []*latlng.LatLng
func (*LocationFilter_CustomArea_Polygon) ProtoMessage
func (*LocationFilter_CustomArea_Polygon) ProtoMessage()
func (*LocationFilter_CustomArea_Polygon) ProtoReflect
func (x *LocationFilter_CustomArea_Polygon) ProtoReflect() protoreflect.Message
func (*LocationFilter_CustomArea_Polygon) Reset
func (x *LocationFilter_CustomArea_Polygon) Reset()
func (*LocationFilter_CustomArea_Polygon) String
func (x *LocationFilter_CustomArea_Polygon) String() string
LocationFilter_Region
type LocationFilter_Region struct {
// The resource name of a region.
//
// Types that are assignable to Region:
//
// *LocationFilter_Region_Place
Region isLocationFilter_Region_Region `protobuf_oneof:"region"`
// contains filtered or unexported fields
}
A region is a geographic boundary such as: cities, postal codes, counties, states, etc.
func (*LocationFilter_Region) Descriptor
func (*LocationFilter_Region) Descriptor() ([]byte, []int)
Deprecated: Use LocationFilter_Region.ProtoReflect.Descriptor instead.
func (*LocationFilter_Region) GetPlace
func (x *LocationFilter_Region) GetPlace() string
func (*LocationFilter_Region) GetRegion
func (m *LocationFilter_Region) GetRegion() isLocationFilter_Region_Region
func (*LocationFilter_Region) ProtoMessage
func (*LocationFilter_Region) ProtoMessage()
func (*LocationFilter_Region) ProtoReflect
func (x *LocationFilter_Region) ProtoReflect() protoreflect.Message
func (*LocationFilter_Region) Reset
func (x *LocationFilter_Region) Reset()
func (*LocationFilter_Region) String
func (x *LocationFilter_Region) String() string
LocationFilter_Region_
type LocationFilter_Region_ struct {
// Area as region.
Region *LocationFilter_Region `protobuf:"bytes,2,opt,name=region,proto3,oneof"`
}
LocationFilter_Region_Place
type LocationFilter_Region_Place struct {
// The Place resource name of a region.
Place string `protobuf:"bytes,1,opt,name=place,proto3,oneof"`
}
OperatingStatus
type OperatingStatus int32
Operating status of the place.
OperatingStatus_OPERATING_STATUS_UNSPECIFIED, OperatingStatus_OPERATING_STATUS_OPERATIONAL, OperatingStatus_OPERATING_STATUS_PERMANENTLY_CLOSED, OperatingStatus_OPERATING_STATUS_TEMPORARILY_CLOSED
const (
// Not Specified.
OperatingStatus_OPERATING_STATUS_UNSPECIFIED OperatingStatus = 0
// The place is operational and its open during its defined hours.
OperatingStatus_OPERATING_STATUS_OPERATIONAL OperatingStatus = 1
// The Place is no longer in business.
OperatingStatus_OPERATING_STATUS_PERMANENTLY_CLOSED OperatingStatus = 3
// The Place is temporarily closed and expected to reopen in the future.
OperatingStatus_OPERATING_STATUS_TEMPORARILY_CLOSED OperatingStatus = 4
)
func (OperatingStatus) Descriptor
func (OperatingStatus) Descriptor() protoreflect.EnumDescriptor
func (OperatingStatus) Enum
func (x OperatingStatus) Enum() *OperatingStatus
func (OperatingStatus) EnumDescriptor
func (OperatingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperatingStatus.Descriptor instead.
func (OperatingStatus) Number
func (x OperatingStatus) Number() protoreflect.EnumNumber
func (OperatingStatus) String
func (x OperatingStatus) String() string
func (OperatingStatus) Type
func (OperatingStatus) Type() protoreflect.EnumType
PlaceInsight
type PlaceInsight struct {
// The resource name of a place. This resource name can be used to retrieve
// details about the place using the [Places
// API](https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places/get).
Place string `protobuf:"bytes,1,opt,name=place,proto3" json:"place,omitempty"`
// contains filtered or unexported fields
}
Holds information about a place
func (*PlaceInsight) Descriptor
func (*PlaceInsight) Descriptor() ([]byte, []int)
Deprecated: Use PlaceInsight.ProtoReflect.Descriptor instead.
func (*PlaceInsight) GetPlace
func (x *PlaceInsight) GetPlace() string
func (*PlaceInsight) ProtoMessage
func (*PlaceInsight) ProtoMessage()
func (*PlaceInsight) ProtoReflect
func (x *PlaceInsight) ProtoReflect() protoreflect.Message
func (*PlaceInsight) Reset
func (x *PlaceInsight) Reset()
func (*PlaceInsight) String
func (x *PlaceInsight) String() string
PriceLevel
type PriceLevel int32
Price level of the place.
PriceLevel_PRICE_LEVEL_UNSPECIFIED, PriceLevel_PRICE_LEVEL_FREE, PriceLevel_PRICE_LEVEL_INEXPENSIVE, PriceLevel_PRICE_LEVEL_MODERATE, PriceLevel_PRICE_LEVEL_EXPENSIVE, PriceLevel_PRICE_LEVEL_VERY_EXPENSIVE
const (
// Place price level is unspecified or unknown.
PriceLevel_PRICE_LEVEL_UNSPECIFIED PriceLevel = 0
// Place provides free services.
PriceLevel_PRICE_LEVEL_FREE PriceLevel = 1
// Place provides inexpensive services.
PriceLevel_PRICE_LEVEL_INEXPENSIVE PriceLevel = 2
// Place provides moderately priced services.
PriceLevel_PRICE_LEVEL_MODERATE PriceLevel = 3
// Place provides expensive services.
PriceLevel_PRICE_LEVEL_EXPENSIVE PriceLevel = 4
// Place provides very expensive services.
PriceLevel_PRICE_LEVEL_VERY_EXPENSIVE PriceLevel = 5
)
func (PriceLevel) Descriptor
func (PriceLevel) Descriptor() protoreflect.EnumDescriptor
func (PriceLevel) Enum
func (x PriceLevel) Enum() *PriceLevel
func (PriceLevel) EnumDescriptor
func (PriceLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use PriceLevel.Descriptor instead.
func (PriceLevel) Number
func (x PriceLevel) Number() protoreflect.EnumNumber
func (PriceLevel) String
func (x PriceLevel) String() string
func (PriceLevel) Type
func (PriceLevel) Type() protoreflect.EnumType
RatingFilter
type RatingFilter struct {
// Optional. Restricts results to places whose average user rating is greater
// than or equal to min_rating. Values must be between 1.0 and 5.0.
MinRating *float32 `protobuf:"fixed32,5,opt,name=min_rating,json=minRating,proto3,oneof" json:"min_rating,omitempty"`
// Optional. Restricts results to places whose average user rating is strictly
// less than or equal to max_rating. Values must be between 1.0 and 5.0.
MaxRating *float32 `protobuf:"fixed32,6,opt,name=max_rating,json=maxRating,proto3,oneof" json:"max_rating,omitempty"`
// contains filtered or unexported fields
}
Average user rating filters.
func (*RatingFilter) Descriptor
func (*RatingFilter) Descriptor() ([]byte, []int)
Deprecated: Use RatingFilter.ProtoReflect.Descriptor instead.
func (*RatingFilter) GetMaxRating
func (x *RatingFilter) GetMaxRating() float32
func (*RatingFilter) GetMinRating
func (x *RatingFilter) GetMinRating() float32
func (*RatingFilter) ProtoMessage
func (*RatingFilter) ProtoMessage()
func (*RatingFilter) ProtoReflect
func (x *RatingFilter) ProtoReflect() protoreflect.Message
func (*RatingFilter) Reset
func (x *RatingFilter) Reset()
func (*RatingFilter) String
func (x *RatingFilter) String() string
TypeFilter
type TypeFilter struct {
// Optional. Included Place types.
IncludedTypes []string `protobuf:"bytes,1,rep,name=included_types,json=includedTypes,proto3" json:"included_types,omitempty"`
// Optional. Excluded Place types.
ExcludedTypes []string `protobuf:"bytes,2,rep,name=excluded_types,json=excludedTypes,proto3" json:"excluded_types,omitempty"`
// Optional. Included primary Place types.
IncludedPrimaryTypes []string `protobuf:"bytes,3,rep,name=included_primary_types,json=includedPrimaryTypes,proto3" json:"included_primary_types,omitempty"`
// Optional. Excluded primary Place types.
ExcludedPrimaryTypes []string `protobuf:"bytes,4,rep,name=excluded_primary_types,json=excludedPrimaryTypes,proto3" json:"excluded_primary_types,omitempty"`
// contains filtered or unexported fields
}
Place type filters.
Only Place types from Table a are supported.
A place can only have a single primary type associated with it. For example, the primary type might be "mexican_restaurant" or "steak_house". Use included_primary_types and excluded_primary_types to filter the results on a place's primary type.
A place can also have multiple type values associated with it. For example a restaurant might have the following types: "seafood_restaurant", "restaurant", "food", "point_of_interest", "establishment". Use included_types and excluded_types to filter the results on the list of types associated with a place.
If a search is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if you specify {"included_types": ["restaurant"], "excluded_primary_types": ["steak_house"]}, the returned places provide "restaurant" related services but do not operate primarily as a "steak_house".
If there are any conflicting types, i.e. a type appears in both included_types and excluded_types types or included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned.
One of included_types or included_primary_types must be set.
func (*TypeFilter) Descriptor
func (*TypeFilter) Descriptor() ([]byte, []int)
Deprecated: Use TypeFilter.ProtoReflect.Descriptor instead.
func (*TypeFilter) GetExcludedPrimaryTypes
func (x *TypeFilter) GetExcludedPrimaryTypes() []string
func (*TypeFilter) GetExcludedTypes
func (x *TypeFilter) GetExcludedTypes() []string
func (*TypeFilter) GetIncludedPrimaryTypes
func (x *TypeFilter) GetIncludedPrimaryTypes() []string
func (*TypeFilter) GetIncludedTypes
func (x *TypeFilter) GetIncludedTypes() []string
func (*TypeFilter) ProtoMessage
func (*TypeFilter) ProtoMessage()
func (*TypeFilter) ProtoReflect
func (x *TypeFilter) ProtoReflect() protoreflect.Message
func (*TypeFilter) Reset
func (x *TypeFilter) Reset()
func (*TypeFilter) String
func (x *TypeFilter) String() string
UnimplementedAreaInsightsServer
type UnimplementedAreaInsightsServer struct {
}
UnimplementedAreaInsightsServer can be embedded to have forward compatible implementations.
func (*UnimplementedAreaInsightsServer) ComputeInsights
func (*UnimplementedAreaInsightsServer) ComputeInsights(context.Context, *ComputeInsightsRequest) (*ComputeInsightsResponse, error)