proto

package
v1.17.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mixer_proto protoreflect.FileDescriptor

Functions

func RegisterMixerServer

func RegisterMixerServer(s *grpc.Server, srv MixerServer)

Types

type ChartStore

type ChartStore struct {

	// Types that are assignable to Val:
	//	*ChartStore_ObsTimeSeries
	//	*ChartStore_ObsCollection
	Val isChartStore_Val `protobuf_oneof:"val"`
	// contains filtered or unexported fields
}

Wrapper for observation data.

func (*ChartStore) Descriptor deprecated

func (*ChartStore) Descriptor() ([]byte, []int)

Deprecated: Use ChartStore.ProtoReflect.Descriptor instead.

func (*ChartStore) GetObsCollection

func (x *ChartStore) GetObsCollection() *ObsCollection

func (*ChartStore) GetObsTimeSeries

func (x *ChartStore) GetObsTimeSeries() *ObsTimeSeries

func (*ChartStore) GetVal

func (m *ChartStore) GetVal() isChartStore_Val

func (*ChartStore) ProtoMessage

func (*ChartStore) ProtoMessage()

func (*ChartStore) ProtoReflect

func (x *ChartStore) ProtoReflect() protoreflect.Message

func (*ChartStore) Reset

func (x *ChartStore) Reset()

func (*ChartStore) String

func (x *ChartStore) String() string

type ChartStore_ObsCollection

type ChartStore_ObsCollection struct {
	ObsCollection *ObsCollection `protobuf:"bytes,2,opt,name=obs_collection,json=obsCollection,proto3,oneof"`
}

type ChartStore_ObsTimeSeries

type ChartStore_ObsTimeSeries struct {
	ObsTimeSeries *ObsTimeSeries `protobuf:"bytes,1,opt,name=obs_time_series,json=obsTimeSeries,proto3,oneof"`
}

type ContainedInPlaceRelation

type ContainedInPlaceRelation struct {
	ParentId   string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	ParentType string `protobuf:"bytes,2,opt,name=parent_type,json=parentType,proto3" json:"parent_type,omitempty"`
	ChildId    string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"`
	ChildType  string `protobuf:"bytes,4,opt,name=child_type,json=childType,proto3" json:"child_type,omitempty"`
	// contains filtered or unexported fields
}

A pair of entities linked by containedInPlace.

func (*ContainedInPlaceRelation) Descriptor deprecated

func (*ContainedInPlaceRelation) Descriptor() ([]byte, []int)

Deprecated: Use ContainedInPlaceRelation.ProtoReflect.Descriptor instead.

func (*ContainedInPlaceRelation) GetChildId

func (x *ContainedInPlaceRelation) GetChildId() string

func (*ContainedInPlaceRelation) GetChildType

func (x *ContainedInPlaceRelation) GetChildType() string

func (*ContainedInPlaceRelation) GetParentId

func (x *ContainedInPlaceRelation) GetParentId() string

func (*ContainedInPlaceRelation) GetParentType

func (x *ContainedInPlaceRelation) GetParentType() string

func (*ContainedInPlaceRelation) ProtoMessage

func (*ContainedInPlaceRelation) ProtoMessage()

func (*ContainedInPlaceRelation) ProtoReflect

func (x *ContainedInPlaceRelation) ProtoReflect() protoreflect.Message

func (*ContainedInPlaceRelation) Reset

func (x *ContainedInPlaceRelation) Reset()

func (*ContainedInPlaceRelation) String

func (x *ContainedInPlaceRelation) String() string

type DateList

type DateList struct {
	Dates []string `protobuf:"bytes,1,rep,name=dates,proto3" json:"dates,omitempty"`
	// contains filtered or unexported fields
}

func (*DateList) Descriptor deprecated

func (*DateList) Descriptor() ([]byte, []int)

Deprecated: Use DateList.ProtoReflect.Descriptor instead.

func (*DateList) GetDates

func (x *DateList) GetDates() []string

func (*DateList) ProtoMessage

func (*DateList) ProtoMessage()

func (*DateList) ProtoReflect

func (x *DateList) ProtoReflect() protoreflect.Message

func (*DateList) Reset

func (x *DateList) Reset()

func (*DateList) String

func (x *DateList) String() string

type EntityInfo

type EntityInfo struct {
	Name         string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Types        []string `protobuf:"bytes,2,rep,name=types,proto3" json:"types,omitempty"`
	Dcid         string   `protobuf:"bytes,3,opt,name=dcid,proto3" json:"dcid,omitempty"`
	ProvenanceId string   `protobuf:"bytes,4,opt,name=provenance_id,json=provenanceId,proto3" json:"provenance_id,omitempty"`
	Value        string   `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // Only for object value.
	// contains filtered or unexported fields
}

Basic info for an entity (subject or object).

func (*EntityInfo) Descriptor deprecated

func (*EntityInfo) Descriptor() ([]byte, []int)

Deprecated: Use EntityInfo.ProtoReflect.Descriptor instead.

func (*EntityInfo) GetDcid

func (x *EntityInfo) GetDcid() string

func (*EntityInfo) GetName

func (x *EntityInfo) GetName() string

func (*EntityInfo) GetProvenanceId

func (x *EntityInfo) GetProvenanceId() string

func (*EntityInfo) GetTypes

func (x *EntityInfo) GetTypes() []string

func (*EntityInfo) GetValue

func (x *EntityInfo) GetValue() string

func (*EntityInfo) ProtoMessage

func (*EntityInfo) ProtoMessage()

func (*EntityInfo) ProtoReflect

func (x *EntityInfo) ProtoReflect() protoreflect.Message

func (*EntityInfo) Reset

func (x *EntityInfo) Reset()

func (*EntityInfo) String

func (x *EntityInfo) String() string

type EntityInfoCollection

type EntityInfoCollection struct {
	Entities   []*EntityInfo `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	TotalCount int64         `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Before potential truncation.
	// contains filtered or unexported fields
}

Basic info for a collection of entities.

func (*EntityInfoCollection) Descriptor deprecated

func (*EntityInfoCollection) Descriptor() ([]byte, []int)

Deprecated: Use EntityInfoCollection.ProtoReflect.Descriptor instead.

func (*EntityInfoCollection) GetEntities

func (x *EntityInfoCollection) GetEntities() []*EntityInfo

func (*EntityInfoCollection) GetTotalCount

func (x *EntityInfoCollection) GetTotalCount() int64

func (*EntityInfoCollection) ProtoMessage

func (*EntityInfoCollection) ProtoMessage()

func (*EntityInfoCollection) ProtoReflect

func (x *EntityInfoCollection) ProtoReflect() protoreflect.Message

func (*EntityInfoCollection) Reset

func (x *EntityInfoCollection) Reset()

func (*EntityInfoCollection) String

func (x *EntityInfoCollection) String() string

type GetLandingPageDataRequest

type GetLandingPageDataRequest struct {

	// The dcid of the place.
	Place string `protobuf:"bytes,1,opt,name=place,proto3" json:"place,omitempty"`
	// A list of all stat vars used in the landing page.
	StatVars []string `protobuf:"bytes,2,rep,name=stat_vars,json=statVars,proto3" json:"stat_vars,omitempty"`
	// Seed value for random selection. Used by test to get deterministic result.
	Seed int64 `protobuf:"varint,3,opt,name=seed,proto3" json:"seed,omitempty"`
	// contains filtered or unexported fields
}

Request to get all stat data in landing page for a place.

func (*GetLandingPageDataRequest) Descriptor deprecated

func (*GetLandingPageDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLandingPageDataRequest.ProtoReflect.Descriptor instead.

func (*GetLandingPageDataRequest) GetPlace

func (x *GetLandingPageDataRequest) GetPlace() string

func (*GetLandingPageDataRequest) GetSeed

func (x *GetLandingPageDataRequest) GetSeed() int64

func (*GetLandingPageDataRequest) GetStatVars

func (x *GetLandingPageDataRequest) GetStatVars() []string

func (*GetLandingPageDataRequest) ProtoMessage

func (*GetLandingPageDataRequest) ProtoMessage()

func (*GetLandingPageDataRequest) ProtoReflect

func (*GetLandingPageDataRequest) Reset

func (x *GetLandingPageDataRequest) Reset()

func (*GetLandingPageDataRequest) String

func (x *GetLandingPageDataRequest) String() string

type GetLandingPageDataResponse

type GetLandingPageDataResponse struct {
	Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response to get landing page info for places.

func (*GetLandingPageDataResponse) Descriptor deprecated

func (*GetLandingPageDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLandingPageDataResponse.ProtoReflect.Descriptor instead.

func (*GetLandingPageDataResponse) GetPayload

func (x *GetLandingPageDataResponse) GetPayload() string

func (*GetLandingPageDataResponse) ProtoMessage

func (*GetLandingPageDataResponse) ProtoMessage()

func (*GetLandingPageDataResponse) ProtoReflect

func (*GetLandingPageDataResponse) Reset

func (x *GetLandingPageDataResponse) Reset()

func (*GetLandingPageDataResponse) String

func (x *GetLandingPageDataResponse) String() string

type GetLocationsRankingsRequest

type GetLocationsRankingsRequest struct {
	StatVarDcids []string `protobuf:"bytes,1,rep,name=stat_var_dcids,json=statVarDcids,proto3" json:"stat_var_dcids,omitempty"`
	// Place type to get rankings for.
	PlaceType string `protobuf:"bytes,2,opt,name=place_type,json=placeType,proto3" json:"place_type,omitempty"`
	// (Optional) Whether to require all related places under the same ancestor.
	WithinPlace string `protobuf:"bytes,3,opt,name=within_place,json=withinPlace,proto3" json:"within_place,omitempty"`
	// (Optional) Whether the computation needs to be based on per capita.
	IsPerCapita bool `protobuf:"varint,4,opt,name=is_per_capita,json=isPerCapita,proto3" json:"is_per_capita,omitempty"`
	// contains filtered or unexported fields
}

Request to get rankings of locations for given stat var DCIDs.

func (*GetLocationsRankingsRequest) Descriptor deprecated

func (*GetLocationsRankingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLocationsRankingsRequest.ProtoReflect.Descriptor instead.

func (*GetLocationsRankingsRequest) GetIsPerCapita

func (x *GetLocationsRankingsRequest) GetIsPerCapita() bool

func (*GetLocationsRankingsRequest) GetPlaceType

func (x *GetLocationsRankingsRequest) GetPlaceType() string

func (*GetLocationsRankingsRequest) GetStatVarDcids

func (x *GetLocationsRankingsRequest) GetStatVarDcids() []string

func (*GetLocationsRankingsRequest) GetWithinPlace

func (x *GetLocationsRankingsRequest) GetWithinPlace() string

func (*GetLocationsRankingsRequest) ProtoMessage

func (*GetLocationsRankingsRequest) ProtoMessage()

func (*GetLocationsRankingsRequest) ProtoReflect

func (*GetLocationsRankingsRequest) Reset

func (x *GetLocationsRankingsRequest) Reset()

func (*GetLocationsRankingsRequest) String

func (x *GetLocationsRankingsRequest) String() string

type GetLocationsRankingsResponse

type GetLocationsRankingsResponse struct {
	Payload map[string]*RelatedPlacesInfo `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetLocationsRankingsResponse) Descriptor deprecated

func (*GetLocationsRankingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLocationsRankingsResponse.ProtoReflect.Descriptor instead.

func (*GetLocationsRankingsResponse) GetPayload

func (*GetLocationsRankingsResponse) ProtoMessage

func (*GetLocationsRankingsResponse) ProtoMessage()

func (*GetLocationsRankingsResponse) ProtoReflect

func (*GetLocationsRankingsResponse) Reset

func (x *GetLocationsRankingsResponse) Reset()

func (*GetLocationsRankingsResponse) String

type GetObservationsRequest

type GetObservationsRequest struct {

	// Population for a list of populations.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// The measured property of the observation.
	MeasuredProperty string `protobuf:"bytes,2,opt,name=measured_property,json=measuredProperty,proto3" json:"measured_property,omitempty"`
	// The observation date.
	ObservationDate string `protobuf:"bytes,3,opt,name=observation_date,json=observationDate,proto3" json:"observation_date,omitempty"`
	// The statistics type, like "measured_value", "median_value", etc...
	// TODO: Change the variable name to 'stat_type' to be consistent.
	StatsType string `protobuf:"bytes,4,opt,name=stats_type,json=statsType,proto3" json:"stats_type,omitempty"`
	// (Optional) Observation period like "P1Y", "P3M" etc...
	ObservationPeriod string `protobuf:"bytes,5,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"`
	// (Opitonal) Measurement method used to get the observation.
	MeasurementMethod string `protobuf:"bytes,6,opt,name=measurement_method,json=measurementMethod,proto3" json:"measurement_method,omitempty"`
	// contains filtered or unexported fields
}

Request to get observation given a list of population and observation properties.

func (*GetObservationsRequest) Descriptor deprecated

func (*GetObservationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetObservationsRequest.ProtoReflect.Descriptor instead.

func (*GetObservationsRequest) GetDcids

func (x *GetObservationsRequest) GetDcids() []string

func (*GetObservationsRequest) GetMeasuredProperty

func (x *GetObservationsRequest) GetMeasuredProperty() string

func (*GetObservationsRequest) GetMeasurementMethod

func (x *GetObservationsRequest) GetMeasurementMethod() string

func (*GetObservationsRequest) GetObservationDate

func (x *GetObservationsRequest) GetObservationDate() string

func (*GetObservationsRequest) GetObservationPeriod

func (x *GetObservationsRequest) GetObservationPeriod() string

func (*GetObservationsRequest) GetStatsType

func (x *GetObservationsRequest) GetStatsType() string

func (*GetObservationsRequest) ProtoMessage

func (*GetObservationsRequest) ProtoMessage()

func (*GetObservationsRequest) ProtoReflect

func (x *GetObservationsRequest) ProtoReflect() protoreflect.Message

func (*GetObservationsRequest) Reset

func (x *GetObservationsRequest) Reset()

func (*GetObservationsRequest) String

func (x *GetObservationsRequest) String() string

type GetObservationsResponse

type GetObservationsResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response of GetObservation request.

func (*GetObservationsResponse) Descriptor deprecated

func (*GetObservationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetObservationsResponse.ProtoReflect.Descriptor instead.

func (*GetObservationsResponse) GetPayload

func (x *GetObservationsResponse) GetPayload() string

func (*GetObservationsResponse) ProtoMessage

func (*GetObservationsResponse) ProtoMessage()

func (*GetObservationsResponse) ProtoReflect

func (x *GetObservationsResponse) ProtoReflect() protoreflect.Message

func (*GetObservationsResponse) Reset

func (x *GetObservationsResponse) Reset()

func (*GetObservationsResponse) String

func (x *GetObservationsResponse) String() string

type GetPlaceObsRequest

type GetPlaceObsRequest struct {

	// The type of the place.
	PlaceType string `protobuf:"bytes,1,opt,name=place_type,json=placeType,proto3" json:"place_type,omitempty"`
	// The type of the Statistical population.
	PopulationType string `protobuf:"bytes,2,opt,name=population_type,json=populationType,proto3" json:"population_type,omitempty"`
	// A list of constraining property values that defines the population.
	Pvs []*PropertyValue `protobuf:"bytes,3,rep,name=pvs,proto3" json:"pvs,omitempty"`
	// Observation date.
	ObservationDate string `protobuf:"bytes,4,opt,name=observation_date,json=observationDate,proto3" json:"observation_date,omitempty"`
	// contains filtered or unexported fields
}

Requests to get observation for all place.

func (*GetPlaceObsRequest) Descriptor deprecated

func (*GetPlaceObsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceObsRequest.ProtoReflect.Descriptor instead.

func (*GetPlaceObsRequest) GetObservationDate

func (x *GetPlaceObsRequest) GetObservationDate() string

func (*GetPlaceObsRequest) GetPlaceType

func (x *GetPlaceObsRequest) GetPlaceType() string

func (*GetPlaceObsRequest) GetPopulationType

func (x *GetPlaceObsRequest) GetPopulationType() string

func (*GetPlaceObsRequest) GetPvs

func (x *GetPlaceObsRequest) GetPvs() []*PropertyValue

func (*GetPlaceObsRequest) ProtoMessage

func (*GetPlaceObsRequest) ProtoMessage()

func (*GetPlaceObsRequest) ProtoReflect

func (x *GetPlaceObsRequest) ProtoReflect() protoreflect.Message

func (*GetPlaceObsRequest) Reset

func (x *GetPlaceObsRequest) Reset()

func (*GetPlaceObsRequest) String

func (x *GetPlaceObsRequest) String() string

type GetPlaceObsResponse

type GetPlaceObsResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response of GetPlaceObs.

func (*GetPlaceObsResponse) Descriptor deprecated

func (*GetPlaceObsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceObsResponse.ProtoReflect.Descriptor instead.

func (*GetPlaceObsResponse) GetPayload

func (x *GetPlaceObsResponse) GetPayload() string

func (*GetPlaceObsResponse) ProtoMessage

func (*GetPlaceObsResponse) ProtoMessage()

func (*GetPlaceObsResponse) ProtoReflect

func (x *GetPlaceObsResponse) ProtoReflect() protoreflect.Message

func (*GetPlaceObsResponse) Reset

func (x *GetPlaceObsResponse) Reset()

func (*GetPlaceObsResponse) String

func (x *GetPlaceObsResponse) String() string

type GetPlaceStatDateWithinPlaceRequest

type GetPlaceStatDateWithinPlaceRequest struct {
	AncestorPlace string   `protobuf:"bytes,1,opt,name=ancestor_place,json=ancestorPlace,proto3" json:"ancestor_place,omitempty"`
	PlaceType     string   `protobuf:"bytes,2,opt,name=place_type,json=placeType,proto3" json:"place_type,omitempty"`
	StatVars      []string `protobuf:"bytes,3,rep,name=stat_vars,json=statVars,proto3" json:"stat_vars,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPlaceStatDateWithinPlaceRequest) Descriptor deprecated

func (*GetPlaceStatDateWithinPlaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceStatDateWithinPlaceRequest.ProtoReflect.Descriptor instead.

func (*GetPlaceStatDateWithinPlaceRequest) GetAncestorPlace

func (x *GetPlaceStatDateWithinPlaceRequest) GetAncestorPlace() string

func (*GetPlaceStatDateWithinPlaceRequest) GetPlaceType

func (x *GetPlaceStatDateWithinPlaceRequest) GetPlaceType() string

func (*GetPlaceStatDateWithinPlaceRequest) GetStatVars

func (x *GetPlaceStatDateWithinPlaceRequest) GetStatVars() []string

func (*GetPlaceStatDateWithinPlaceRequest) ProtoMessage

func (*GetPlaceStatDateWithinPlaceRequest) ProtoMessage()

func (*GetPlaceStatDateWithinPlaceRequest) ProtoReflect

func (*GetPlaceStatDateWithinPlaceRequest) Reset

func (*GetPlaceStatDateWithinPlaceRequest) String

type GetPlaceStatDateWithinPlaceResponse

type GetPlaceStatDateWithinPlaceResponse struct {

	// Keyed by statVar.
	Data map[string]*DateList `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetPlaceStatDateWithinPlaceResponse) Descriptor deprecated

func (*GetPlaceStatDateWithinPlaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceStatDateWithinPlaceResponse.ProtoReflect.Descriptor instead.

func (*GetPlaceStatDateWithinPlaceResponse) GetData

func (*GetPlaceStatDateWithinPlaceResponse) ProtoMessage

func (*GetPlaceStatDateWithinPlaceResponse) ProtoMessage()

func (*GetPlaceStatDateWithinPlaceResponse) ProtoReflect

func (*GetPlaceStatDateWithinPlaceResponse) Reset

func (*GetPlaceStatDateWithinPlaceResponse) String

type GetPlaceStatVarsRequest

type GetPlaceStatVarsRequest struct {

	// DCIDs of the places.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetPlaceStatVars API.

func (*GetPlaceStatVarsRequest) Descriptor deprecated

func (*GetPlaceStatVarsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceStatVarsRequest.ProtoReflect.Descriptor instead.

func (*GetPlaceStatVarsRequest) GetDcids

func (x *GetPlaceStatVarsRequest) GetDcids() []string

func (*GetPlaceStatVarsRequest) ProtoMessage

func (*GetPlaceStatVarsRequest) ProtoMessage()

func (*GetPlaceStatVarsRequest) ProtoReflect

func (x *GetPlaceStatVarsRequest) ProtoReflect() protoreflect.Message

func (*GetPlaceStatVarsRequest) Reset

func (x *GetPlaceStatVarsRequest) Reset()

func (*GetPlaceStatVarsRequest) String

func (x *GetPlaceStatVarsRequest) String() string

type GetPlaceStatVarsResponse

type GetPlaceStatVarsResponse struct {

	// A map from place dcid to a list of statistical variable dcids.
	Places map[string]*StatVars `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response message for GetPlaceStatVars API.

func (*GetPlaceStatVarsResponse) Descriptor deprecated

func (*GetPlaceStatVarsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceStatVarsResponse.ProtoReflect.Descriptor instead.

func (*GetPlaceStatVarsResponse) GetPlaces

func (x *GetPlaceStatVarsResponse) GetPlaces() map[string]*StatVars

func (*GetPlaceStatVarsResponse) ProtoMessage

func (*GetPlaceStatVarsResponse) ProtoMessage()

func (*GetPlaceStatVarsResponse) ProtoReflect

func (x *GetPlaceStatVarsResponse) ProtoReflect() protoreflect.Message

func (*GetPlaceStatVarsResponse) Reset

func (x *GetPlaceStatVarsResponse) Reset()

func (*GetPlaceStatVarsResponse) String

func (x *GetPlaceStatVarsResponse) String() string

type GetPlaceStatVarsUnionRequest

type GetPlaceStatVarsUnionRequest struct {

	// DCIDs of the places.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetPlaceStatVarsUnion API.

func (*GetPlaceStatVarsUnionRequest) Descriptor deprecated

func (*GetPlaceStatVarsUnionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceStatVarsUnionRequest.ProtoReflect.Descriptor instead.

func (*GetPlaceStatVarsUnionRequest) GetDcids

func (x *GetPlaceStatVarsUnionRequest) GetDcids() []string

func (*GetPlaceStatVarsUnionRequest) ProtoMessage

func (*GetPlaceStatVarsUnionRequest) ProtoMessage()

func (*GetPlaceStatVarsUnionRequest) ProtoReflect

func (*GetPlaceStatVarsUnionRequest) Reset

func (x *GetPlaceStatVarsUnionRequest) Reset()

func (*GetPlaceStatVarsUnionRequest) String

type GetPlaceStatVarsUnionResponse

type GetPlaceStatVarsUnionResponse struct {
	StatVars *StatVars `protobuf:"bytes,1,opt,name=stat_vars,json=statVars,proto3" json:"stat_vars,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetPlaceStatVarsUnion API.

func (*GetPlaceStatVarsUnionResponse) Descriptor deprecated

func (*GetPlaceStatVarsUnionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceStatVarsUnionResponse.ProtoReflect.Descriptor instead.

func (*GetPlaceStatVarsUnionResponse) GetStatVars

func (x *GetPlaceStatVarsUnionResponse) GetStatVars() *StatVars

func (*GetPlaceStatVarsUnionResponse) ProtoMessage

func (*GetPlaceStatVarsUnionResponse) ProtoMessage()

func (*GetPlaceStatVarsUnionResponse) ProtoReflect

func (*GetPlaceStatVarsUnionResponse) Reset

func (x *GetPlaceStatVarsUnionResponse) Reset()

func (*GetPlaceStatVarsUnionResponse) String

type GetPlaceStatsVarRequest

type GetPlaceStatsVarRequest struct {

	// DCIDs of the places.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetPlaceStats API.

func (*GetPlaceStatsVarRequest) Descriptor deprecated

func (*GetPlaceStatsVarRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceStatsVarRequest.ProtoReflect.Descriptor instead.

func (*GetPlaceStatsVarRequest) GetDcids

func (x *GetPlaceStatsVarRequest) GetDcids() []string

func (*GetPlaceStatsVarRequest) ProtoMessage

func (*GetPlaceStatsVarRequest) ProtoMessage()

func (*GetPlaceStatsVarRequest) ProtoReflect

func (x *GetPlaceStatsVarRequest) ProtoReflect() protoreflect.Message

func (*GetPlaceStatsVarRequest) Reset

func (x *GetPlaceStatsVarRequest) Reset()

func (*GetPlaceStatsVarRequest) String

func (x *GetPlaceStatsVarRequest) String() string

type GetPlaceStatsVarResponse

type GetPlaceStatsVarResponse struct {

	// A map from place dcid to a list of statistical variable dcids.
	Places map[string]*StatsVars `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response message for GetPlaceStats API.

func (*GetPlaceStatsVarResponse) Descriptor deprecated

func (*GetPlaceStatsVarResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPlaceStatsVarResponse.ProtoReflect.Descriptor instead.

func (*GetPlaceStatsVarResponse) GetPlaces

func (x *GetPlaceStatsVarResponse) GetPlaces() map[string]*StatsVars

func (*GetPlaceStatsVarResponse) ProtoMessage

func (*GetPlaceStatsVarResponse) ProtoMessage()

func (*GetPlaceStatsVarResponse) ProtoReflect

func (x *GetPlaceStatsVarResponse) ProtoReflect() protoreflect.Message

func (*GetPlaceStatsVarResponse) Reset

func (x *GetPlaceStatsVarResponse) Reset()

func (*GetPlaceStatsVarResponse) String

func (x *GetPlaceStatsVarResponse) String() string

type GetPlacesInRequest

type GetPlacesInRequest struct {

	// The parent place dcids.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// The child place type.
	PlaceType string `protobuf:"bytes,2,opt,name=place_type,json=placeType,proto3" json:"place_type,omitempty"`
	// contains filtered or unexported fields
}

Request to get places that are contained in parent places.

func (*GetPlacesInRequest) Descriptor deprecated

func (*GetPlacesInRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPlacesInRequest.ProtoReflect.Descriptor instead.

func (*GetPlacesInRequest) GetDcids

func (x *GetPlacesInRequest) GetDcids() []string

func (*GetPlacesInRequest) GetPlaceType

func (x *GetPlacesInRequest) GetPlaceType() string

func (*GetPlacesInRequest) ProtoMessage

func (*GetPlacesInRequest) ProtoMessage()

func (*GetPlacesInRequest) ProtoReflect

func (x *GetPlacesInRequest) ProtoReflect() protoreflect.Message

func (*GetPlacesInRequest) Reset

func (x *GetPlacesInRequest) Reset()

func (*GetPlacesInRequest) String

func (x *GetPlacesInRequest) String() string

type GetPlacesInResponse

type GetPlacesInResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response of GetPlacesIn.

func (*GetPlacesInResponse) Descriptor deprecated

func (*GetPlacesInResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPlacesInResponse.ProtoReflect.Descriptor instead.

func (*GetPlacesInResponse) GetPayload

func (x *GetPlacesInResponse) GetPayload() string

func (*GetPlacesInResponse) ProtoMessage

func (*GetPlacesInResponse) ProtoMessage()

func (*GetPlacesInResponse) ProtoReflect

func (x *GetPlacesInResponse) ProtoReflect() protoreflect.Message

func (*GetPlacesInResponse) Reset

func (x *GetPlacesInResponse) Reset()

func (*GetPlacesInResponse) String

func (x *GetPlacesInResponse) String() string

type GetPopObsRequest

type GetPopObsRequest struct {

	// DCID of a place.
	Dcid string `protobuf:"bytes,1,opt,name=dcid,proto3" json:"dcid,omitempty"`
	// contains filtered or unexported fields
}

Request to get all population/observation information for a place.

func (*GetPopObsRequest) Descriptor deprecated

func (*GetPopObsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPopObsRequest.ProtoReflect.Descriptor instead.

func (*GetPopObsRequest) GetDcid

func (x *GetPopObsRequest) GetDcid() string

func (*GetPopObsRequest) ProtoMessage

func (*GetPopObsRequest) ProtoMessage()

func (*GetPopObsRequest) ProtoReflect

func (x *GetPopObsRequest) ProtoReflect() protoreflect.Message

func (*GetPopObsRequest) Reset

func (x *GetPopObsRequest) Reset()

func (*GetPopObsRequest) String

func (x *GetPopObsRequest) String() string

type GetPopObsResponse

type GetPopObsResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response of GetPopObs.

func (*GetPopObsResponse) Descriptor deprecated

func (*GetPopObsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPopObsResponse.ProtoReflect.Descriptor instead.

func (*GetPopObsResponse) GetPayload

func (x *GetPopObsResponse) GetPayload() string

func (*GetPopObsResponse) ProtoMessage

func (*GetPopObsResponse) ProtoMessage()

func (*GetPopObsResponse) ProtoReflect

func (x *GetPopObsResponse) ProtoReflect() protoreflect.Message

func (*GetPopObsResponse) Reset

func (x *GetPopObsResponse) Reset()

func (*GetPopObsResponse) String

func (x *GetPopObsResponse) String() string

type GetPopulationsRequest

type GetPopulationsRequest struct {

	// DCIDs for a list of places.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// Population type.
	PopulationType string `protobuf:"bytes,2,opt,name=population_type,json=populationType,proto3" json:"population_type,omitempty"`
	// A list of constraining property values that define the population.
	Pvs []*PropertyValue `protobuf:"bytes,3,rep,name=pvs,proto3" json:"pvs,omitempty"`
	// contains filtered or unexported fields
}

Request to get certain population for a set of places.

func (*GetPopulationsRequest) Descriptor deprecated

func (*GetPopulationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPopulationsRequest.ProtoReflect.Descriptor instead.

func (*GetPopulationsRequest) GetDcids

func (x *GetPopulationsRequest) GetDcids() []string

func (*GetPopulationsRequest) GetPopulationType

func (x *GetPopulationsRequest) GetPopulationType() string

func (*GetPopulationsRequest) GetPvs

func (x *GetPopulationsRequest) GetPvs() []*PropertyValue

func (*GetPopulationsRequest) ProtoMessage

func (*GetPopulationsRequest) ProtoMessage()

func (*GetPopulationsRequest) ProtoReflect

func (x *GetPopulationsRequest) ProtoReflect() protoreflect.Message

func (*GetPopulationsRequest) Reset

func (x *GetPopulationsRequest) Reset()

func (*GetPopulationsRequest) String

func (x *GetPopulationsRequest) String() string

type GetPopulationsResponse

type GetPopulationsResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response of GetPopulation.

func (*GetPopulationsResponse) Descriptor deprecated

func (*GetPopulationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPopulationsResponse.ProtoReflect.Descriptor instead.

func (*GetPopulationsResponse) GetPayload

func (x *GetPopulationsResponse) GetPayload() string

func (*GetPopulationsResponse) ProtoMessage

func (*GetPopulationsResponse) ProtoMessage()

func (*GetPopulationsResponse) ProtoReflect

func (x *GetPopulationsResponse) ProtoReflect() protoreflect.Message

func (*GetPopulationsResponse) Reset

func (x *GetPopulationsResponse) Reset()

func (*GetPopulationsResponse) String

func (x *GetPopulationsResponse) String() string

type GetPropertyLabelsRequest

type GetPropertyLabelsRequest struct {

	// The dcids of nodes.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// contains filtered or unexported fields
}

Request to get property labels.

func (*GetPropertyLabelsRequest) Descriptor deprecated

func (*GetPropertyLabelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPropertyLabelsRequest.ProtoReflect.Descriptor instead.

func (*GetPropertyLabelsRequest) GetDcids

func (x *GetPropertyLabelsRequest) GetDcids() []string

func (*GetPropertyLabelsRequest) ProtoMessage

func (*GetPropertyLabelsRequest) ProtoMessage()

func (*GetPropertyLabelsRequest) ProtoReflect

func (x *GetPropertyLabelsRequest) ProtoReflect() protoreflect.Message

func (*GetPropertyLabelsRequest) Reset

func (x *GetPropertyLabelsRequest) Reset()

func (*GetPropertyLabelsRequest) String

func (x *GetPropertyLabelsRequest) String() string

type GetPropertyLabelsResponse

type GetPropertyLabelsResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response returned by GetPropertyLabels.

func (*GetPropertyLabelsResponse) Descriptor deprecated

func (*GetPropertyLabelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPropertyLabelsResponse.ProtoReflect.Descriptor instead.

func (*GetPropertyLabelsResponse) GetPayload

func (x *GetPropertyLabelsResponse) GetPayload() string

func (*GetPropertyLabelsResponse) ProtoMessage

func (*GetPropertyLabelsResponse) ProtoMessage()

func (*GetPropertyLabelsResponse) ProtoReflect

func (*GetPropertyLabelsResponse) Reset

func (x *GetPropertyLabelsResponse) Reset()

func (*GetPropertyLabelsResponse) String

func (x *GetPropertyLabelsResponse) String() string

type GetPropertyValuesRequest

type GetPropertyValuesRequest struct {

	// The dcids of nodes to query for.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// The type of the neighboring node to query for.
	ValueType string `protobuf:"bytes,2,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`
	// The property to get adjacent nodes for.
	Property string `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"`
	// Maximum number of nodes to query for.
	Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// Direction, "in" or "out", default to "out".
	Direction string `protobuf:"bytes,5,opt,name=direction,proto3" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

Request to get all neighboring nodes along an edge labeled by a property.

func (*GetPropertyValuesRequest) Descriptor deprecated

func (*GetPropertyValuesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPropertyValuesRequest.ProtoReflect.Descriptor instead.

func (*GetPropertyValuesRequest) GetDcids

func (x *GetPropertyValuesRequest) GetDcids() []string

func (*GetPropertyValuesRequest) GetDirection

func (x *GetPropertyValuesRequest) GetDirection() string

func (*GetPropertyValuesRequest) GetLimit

func (x *GetPropertyValuesRequest) GetLimit() int32

func (*GetPropertyValuesRequest) GetProperty

func (x *GetPropertyValuesRequest) GetProperty() string

func (*GetPropertyValuesRequest) GetValueType

func (x *GetPropertyValuesRequest) GetValueType() string

func (*GetPropertyValuesRequest) ProtoMessage

func (*GetPropertyValuesRequest) ProtoMessage()

func (*GetPropertyValuesRequest) ProtoReflect

func (x *GetPropertyValuesRequest) ProtoReflect() protoreflect.Message

func (*GetPropertyValuesRequest) Reset

func (x *GetPropertyValuesRequest) Reset()

func (*GetPropertyValuesRequest) String

func (x *GetPropertyValuesRequest) String() string

type GetPropertyValuesResponse

type GetPropertyValuesResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response returned by GetPropertyValues.

func (*GetPropertyValuesResponse) Descriptor deprecated

func (*GetPropertyValuesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPropertyValuesResponse.ProtoReflect.Descriptor instead.

func (*GetPropertyValuesResponse) GetPayload

func (x *GetPropertyValuesResponse) GetPayload() string

func (*GetPropertyValuesResponse) ProtoMessage

func (*GetPropertyValuesResponse) ProtoMessage()

func (*GetPropertyValuesResponse) ProtoReflect

func (*GetPropertyValuesResponse) Reset

func (x *GetPropertyValuesResponse) Reset()

func (*GetPropertyValuesResponse) String

func (x *GetPropertyValuesResponse) String() string

type GetRelatedLocationsRequest

type GetRelatedLocationsRequest struct {

	// Place DCID.
	Dcid         string   `protobuf:"bytes,1,opt,name=dcid,proto3" json:"dcid,omitempty"`
	StatVarDcids []string `protobuf:"bytes,2,rep,name=stat_var_dcids,json=statVarDcids,proto3" json:"stat_var_dcids,omitempty"`
	// (Optional) Whether to require all related places under the same ancestor.
	WithinPlace string `protobuf:"bytes,4,opt,name=within_place,json=withinPlace,proto3" json:"within_place,omitempty"`
	// (Optional) Whether the computation needs to be based on per capita.
	IsPerCapita bool `protobuf:"varint,5,opt,name=is_per_capita,json=isPerCapita,proto3" json:"is_per_capita,omitempty"`
	// contains filtered or unexported fields
}

Request to get related locations of a place for given stat var DCIDs.

func (*GetRelatedLocationsRequest) Descriptor deprecated

func (*GetRelatedLocationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRelatedLocationsRequest.ProtoReflect.Descriptor instead.

func (*GetRelatedLocationsRequest) GetDcid

func (x *GetRelatedLocationsRequest) GetDcid() string

func (*GetRelatedLocationsRequest) GetIsPerCapita

func (x *GetRelatedLocationsRequest) GetIsPerCapita() bool

func (*GetRelatedLocationsRequest) GetStatVarDcids

func (x *GetRelatedLocationsRequest) GetStatVarDcids() []string

func (*GetRelatedLocationsRequest) GetWithinPlace

func (x *GetRelatedLocationsRequest) GetWithinPlace() string

func (*GetRelatedLocationsRequest) ProtoMessage

func (*GetRelatedLocationsRequest) ProtoMessage()

func (*GetRelatedLocationsRequest) ProtoReflect

func (*GetRelatedLocationsRequest) Reset

func (x *GetRelatedLocationsRequest) Reset()

func (*GetRelatedLocationsRequest) String

func (x *GetRelatedLocationsRequest) String() string

type GetRelatedLocationsResponse

type GetRelatedLocationsResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response of GetRelatedLocations request.

func (*GetRelatedLocationsResponse) Descriptor deprecated

func (*GetRelatedLocationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRelatedLocationsResponse.ProtoReflect.Descriptor instead.

func (*GetRelatedLocationsResponse) GetPayload

func (x *GetRelatedLocationsResponse) GetPayload() string

func (*GetRelatedLocationsResponse) ProtoMessage

func (*GetRelatedLocationsResponse) ProtoMessage()

func (*GetRelatedLocationsResponse) ProtoReflect

func (*GetRelatedLocationsResponse) Reset

func (x *GetRelatedLocationsResponse) Reset()

func (*GetRelatedLocationsResponse) String

func (x *GetRelatedLocationsResponse) String() string

type GetStatAllRequest

type GetStatAllRequest struct {

	// dcids of the place.
	Places []string `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
	// dcids of the stat var.
	StatVars []string `protobuf:"bytes,2,rep,name=stat_vars,json=statVars,proto3" json:"stat_vars,omitempty"`
	// contains filtered or unexported fields
}

Request for GetStatAll service.

func (*GetStatAllRequest) Descriptor deprecated

func (*GetStatAllRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatAllRequest.ProtoReflect.Descriptor instead.

func (*GetStatAllRequest) GetPlaces

func (x *GetStatAllRequest) GetPlaces() []string

func (*GetStatAllRequest) GetStatVars

func (x *GetStatAllRequest) GetStatVars() []string

func (*GetStatAllRequest) ProtoMessage

func (*GetStatAllRequest) ProtoMessage()

func (*GetStatAllRequest) ProtoReflect

func (x *GetStatAllRequest) ProtoReflect() protoreflect.Message

func (*GetStatAllRequest) Reset

func (x *GetStatAllRequest) Reset()

func (*GetStatAllRequest) String

func (x *GetStatAllRequest) String() string

type GetStatAllResponse

type GetStatAllResponse struct {
	PlaceData map[string]*PlaceStat `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response for GetStatAll service.

The response is a two level map, with the first level keyed by place dcid, and the second level keyed by the stat var dcid. Each leaf object contains multiple source series with <date, value> object and observation metadata.

The response is transcoded by esp: https://cloud.google.com/endpoints/docs/grpc/grpc-service-config Example response after esp transcoding is like below.

{
  placeData: {
    "geoId/01": {
      statVarData: {
        "statvar1": {
          "placeName": "City of Mountain View",
          "sourceSeries": [
            {
              "val": {
                "2008": 2116,
                "2009": 2155,
                "2010": 1633,
                "2011": 1509,
                "2012": 1581,
                "2013": 1867,
                "2014": 1770,
                "2015": 2201,
                "2016": 1913,
                "2017": 2138
              },
              "observationPeriod": "P1Y",
              "importName": "FBIGovCrime",
              "provenanceDomain": "fbi.gov"
            }
          ]
        },
      }
    },
    "geoId/02": {
      statVarData: {
        "statvar3": {...},
      }
    }
  }
}

func (*GetStatAllResponse) Descriptor deprecated

func (*GetStatAllResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatAllResponse.ProtoReflect.Descriptor instead.

func (*GetStatAllResponse) GetPlaceData

func (x *GetStatAllResponse) GetPlaceData() map[string]*PlaceStat

func (*GetStatAllResponse) ProtoMessage

func (*GetStatAllResponse) ProtoMessage()

func (*GetStatAllResponse) ProtoReflect

func (x *GetStatAllResponse) ProtoReflect() protoreflect.Message

func (*GetStatAllResponse) Reset

func (x *GetStatAllResponse) Reset()

func (*GetStatAllResponse) String

func (x *GetStatAllResponse) String() string

type GetStatCollectionRequest

type GetStatCollectionRequest struct {

	// Parent place dcid.
	ParentPlace string `protobuf:"bytes,1,opt,name=parent_place,json=parentPlace,proto3" json:"parent_place,omitempty"`
	// Child place type.
	ChildType string `protobuf:"bytes,2,opt,name=child_type,json=childType,proto3" json:"child_type,omitempty"`
	// Date for the stat in ISO format.
	Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// Dcid of the stat var.
	StatVars []string `protobuf:"bytes,4,rep,name=stat_vars,json=statVars,proto3" json:"stat_vars,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatCollectionRequest) Descriptor deprecated

func (*GetStatCollectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatCollectionRequest.ProtoReflect.Descriptor instead.

func (*GetStatCollectionRequest) GetChildType

func (x *GetStatCollectionRequest) GetChildType() string

func (*GetStatCollectionRequest) GetDate

func (x *GetStatCollectionRequest) GetDate() string

func (*GetStatCollectionRequest) GetParentPlace

func (x *GetStatCollectionRequest) GetParentPlace() string

func (*GetStatCollectionRequest) GetStatVars

func (x *GetStatCollectionRequest) GetStatVars() []string

func (*GetStatCollectionRequest) ProtoMessage

func (*GetStatCollectionRequest) ProtoMessage()

func (*GetStatCollectionRequest) ProtoReflect

func (x *GetStatCollectionRequest) ProtoReflect() protoreflect.Message

func (*GetStatCollectionRequest) Reset

func (x *GetStatCollectionRequest) Reset()

func (*GetStatCollectionRequest) String

func (x *GetStatCollectionRequest) String() string

type GetStatCollectionResponse

type GetStatCollectionResponse struct {
	Data map[string]*SourceSeries `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response for GetStatCollection service.

func (*GetStatCollectionResponse) Descriptor deprecated

func (*GetStatCollectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatCollectionResponse.ProtoReflect.Descriptor instead.

func (*GetStatCollectionResponse) GetData

func (x *GetStatCollectionResponse) GetData() map[string]*SourceSeries

func (*GetStatCollectionResponse) ProtoMessage

func (*GetStatCollectionResponse) ProtoMessage()

func (*GetStatCollectionResponse) ProtoReflect

func (*GetStatCollectionResponse) Reset

func (x *GetStatCollectionResponse) Reset()

func (*GetStatCollectionResponse) String

func (x *GetStatCollectionResponse) String() string

type GetStatSeriesRequest

type GetStatSeriesRequest struct {

	// dcid of the place.
	Place string `protobuf:"bytes,1,opt,name=place,proto3" json:"place,omitempty"`
	// dcid of the stat var.
	StatVar string `protobuf:"bytes,2,opt,name=stat_var,json=statVar,proto3" json:"stat_var,omitempty"`
	// (optional) measurement method of the observation, ex: "CensusACS5yrSurvey".
	MeasurementMethod string `protobuf:"bytes,3,opt,name=measurement_method,json=measurementMethod,proto3" json:"measurement_method,omitempty"`
	// (optional) observation period of the observation, ex: "P1Y".
	ObservationPeriod string `protobuf:"bytes,4,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"`
	// (optional) unit of the observation.
	Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
	// (optional) scaling factor of the observation.
	ScalingFactor string `protobuf:"bytes,6,opt,name=scaling_factor,json=scalingFactor,proto3" json:"scaling_factor,omitempty"`
	// contains filtered or unexported fields
}

Request for GetStatSeries service.

func (*GetStatSeriesRequest) Descriptor deprecated

func (*GetStatSeriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatSeriesRequest.ProtoReflect.Descriptor instead.

func (*GetStatSeriesRequest) GetMeasurementMethod

func (x *GetStatSeriesRequest) GetMeasurementMethod() string

func (*GetStatSeriesRequest) GetObservationPeriod

func (x *GetStatSeriesRequest) GetObservationPeriod() string

func (*GetStatSeriesRequest) GetPlace

func (x *GetStatSeriesRequest) GetPlace() string

func (*GetStatSeriesRequest) GetScalingFactor

func (x *GetStatSeriesRequest) GetScalingFactor() string

func (*GetStatSeriesRequest) GetStatVar

func (x *GetStatSeriesRequest) GetStatVar() string

func (*GetStatSeriesRequest) GetUnit

func (x *GetStatSeriesRequest) GetUnit() string

func (*GetStatSeriesRequest) ProtoMessage

func (*GetStatSeriesRequest) ProtoMessage()

func (*GetStatSeriesRequest) ProtoReflect

func (x *GetStatSeriesRequest) ProtoReflect() protoreflect.Message

func (*GetStatSeriesRequest) Reset

func (x *GetStatSeriesRequest) Reset()

func (*GetStatSeriesRequest) String

func (x *GetStatSeriesRequest) String() string

type GetStatSeriesResponse

type GetStatSeriesResponse struct {

	// A map from ISO date to stat value.
	Series map[string]float64 `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response for GetStatSeries service.

func (*GetStatSeriesResponse) Descriptor deprecated

func (*GetStatSeriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatSeriesResponse.ProtoReflect.Descriptor instead.

func (*GetStatSeriesResponse) GetSeries

func (x *GetStatSeriesResponse) GetSeries() map[string]float64

func (*GetStatSeriesResponse) ProtoMessage

func (*GetStatSeriesResponse) ProtoMessage()

func (*GetStatSeriesResponse) ProtoReflect

func (x *GetStatSeriesResponse) ProtoReflect() protoreflect.Message

func (*GetStatSeriesResponse) Reset

func (x *GetStatSeriesResponse) Reset()

func (*GetStatSeriesResponse) String

func (x *GetStatSeriesResponse) String() string

type GetStatSetRequest

type GetStatSetRequest struct {

	// A list of place DCIDs.
	Places []string `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
	// A list of statistical variable DCIDs.
	StatVars []string `protobuf:"bytes,2,rep,name=stat_vars,json=statVars,proto3" json:"stat_vars,omitempty"`
	// (Optional) date of the stat.
	// If not sepcified, the latest stat of a chosen source will be returned.
	Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatSetRequest) Descriptor deprecated

func (*GetStatSetRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatSetRequest.ProtoReflect.Descriptor instead.

func (*GetStatSetRequest) GetDate

func (x *GetStatSetRequest) GetDate() string

func (*GetStatSetRequest) GetPlaces

func (x *GetStatSetRequest) GetPlaces() []string

func (*GetStatSetRequest) GetStatVars

func (x *GetStatSetRequest) GetStatVars() []string

func (*GetStatSetRequest) ProtoMessage

func (*GetStatSetRequest) ProtoMessage()

func (*GetStatSetRequest) ProtoReflect

func (x *GetStatSetRequest) ProtoReflect() protoreflect.Message

func (*GetStatSetRequest) Reset

func (x *GetStatSetRequest) Reset()

func (*GetStatSetRequest) String

func (x *GetStatSetRequest) String() string

type GetStatSetResponse

type GetStatSetResponse struct {

	// Keyed by statVar.
	Data map[string]*PlacePointStat `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetStatSetResponse) Descriptor deprecated

func (*GetStatSetResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatSetResponse.ProtoReflect.Descriptor instead.

func (*GetStatSetResponse) GetData

func (x *GetStatSetResponse) GetData() map[string]*PlacePointStat

func (*GetStatSetResponse) ProtoMessage

func (*GetStatSetResponse) ProtoMessage()

func (*GetStatSetResponse) ProtoReflect

func (x *GetStatSetResponse) ProtoReflect() protoreflect.Message

func (*GetStatSetResponse) Reset

func (x *GetStatSetResponse) Reset()

func (*GetStatSetResponse) String

func (x *GetStatSetResponse) String() string

type GetStatSetSeriesRequest added in v1.14.0

type GetStatSetSeriesRequest struct {

	// The dcids of the place.
	Places []string `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
	// The dcids of the statistical variables.
	StatVars []string `protobuf:"bytes,2,rep,name=stat_vars,json=statVars,proto3" json:"stat_vars,omitempty"`
	// contains filtered or unexported fields
}

Request for GetStatSetSeries API. TODO(shifucun): Deprecate GetStats() once all clients are switched to use this API. Request message for GetStatSetSeries.

func (*GetStatSetSeriesRequest) Descriptor deprecated added in v1.14.0

func (*GetStatSetSeriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatSetSeriesRequest.ProtoReflect.Descriptor instead.

func (*GetStatSetSeriesRequest) GetPlaces added in v1.14.0

func (x *GetStatSetSeriesRequest) GetPlaces() []string

func (*GetStatSetSeriesRequest) GetStatVars added in v1.14.0

func (x *GetStatSetSeriesRequest) GetStatVars() []string

func (*GetStatSetSeriesRequest) ProtoMessage added in v1.14.0

func (*GetStatSetSeriesRequest) ProtoMessage()

func (*GetStatSetSeriesRequest) ProtoReflect added in v1.14.0

func (x *GetStatSetSeriesRequest) ProtoReflect() protoreflect.Message

func (*GetStatSetSeriesRequest) Reset added in v1.14.0

func (x *GetStatSetSeriesRequest) Reset()

func (*GetStatSetSeriesRequest) String added in v1.14.0

func (x *GetStatSetSeriesRequest) String() string

type GetStatSetSeriesResponse added in v1.14.0

type GetStatSetSeriesResponse struct {

	// A map from place dcid to series map.
	Data map[string]*SeriesMap `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response of GetStatSetSeries

func (*GetStatSetSeriesResponse) Descriptor deprecated added in v1.14.0

func (*GetStatSetSeriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatSetSeriesResponse.ProtoReflect.Descriptor instead.

func (*GetStatSetSeriesResponse) GetData added in v1.14.0

func (x *GetStatSetSeriesResponse) GetData() map[string]*SeriesMap

func (*GetStatSetSeriesResponse) ProtoMessage added in v1.14.0

func (*GetStatSetSeriesResponse) ProtoMessage()

func (*GetStatSetSeriesResponse) ProtoReflect added in v1.14.0

func (x *GetStatSetSeriesResponse) ProtoReflect() protoreflect.Message

func (*GetStatSetSeriesResponse) Reset added in v1.14.0

func (x *GetStatSetSeriesResponse) Reset()

func (*GetStatSetSeriesResponse) String added in v1.14.0

func (x *GetStatSetSeriesResponse) String() string

type GetStatValueRequest

type GetStatValueRequest struct {

	// dcid of the place.
	Place string `protobuf:"bytes,1,opt,name=place,proto3" json:"place,omitempty"`
	// dcid of the stat var.
	StatVar string `protobuf:"bytes,2,opt,name=stat_var,json=statVar,proto3" json:"stat_var,omitempty"`
	// (optional) date of the stat. The latest date will be used if unspecified.
	Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// (optional) measurement method of the observation, ex: "CensusACS5yrSurvey".
	MeasurementMethod string `protobuf:"bytes,4,opt,name=measurement_method,json=measurementMethod,proto3" json:"measurement_method,omitempty"`
	// (optional) observation period of the observation, ex: "P1Y".
	ObservationPeriod string `protobuf:"bytes,5,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"`
	// (optional) unit of the observation.
	Unit string `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,omitempty"`
	// (optional) scaling factor of the observation.
	ScalingFactor string `protobuf:"bytes,7,opt,name=scaling_factor,json=scalingFactor,proto3" json:"scaling_factor,omitempty"`
	// contains filtered or unexported fields
}

Request for GetStat service.

func (*GetStatValueRequest) Descriptor deprecated

func (*GetStatValueRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatValueRequest.ProtoReflect.Descriptor instead.

func (*GetStatValueRequest) GetDate

func (x *GetStatValueRequest) GetDate() string

func (*GetStatValueRequest) GetMeasurementMethod

func (x *GetStatValueRequest) GetMeasurementMethod() string

func (*GetStatValueRequest) GetObservationPeriod

func (x *GetStatValueRequest) GetObservationPeriod() string

func (*GetStatValueRequest) GetPlace

func (x *GetStatValueRequest) GetPlace() string

func (*GetStatValueRequest) GetScalingFactor

func (x *GetStatValueRequest) GetScalingFactor() string

func (*GetStatValueRequest) GetStatVar

func (x *GetStatValueRequest) GetStatVar() string

func (*GetStatValueRequest) GetUnit

func (x *GetStatValueRequest) GetUnit() string

func (*GetStatValueRequest) ProtoMessage

func (*GetStatValueRequest) ProtoMessage()

func (*GetStatValueRequest) ProtoReflect

func (x *GetStatValueRequest) ProtoReflect() protoreflect.Message

func (*GetStatValueRequest) Reset

func (x *GetStatValueRequest) Reset()

func (*GetStatValueRequest) String

func (x *GetStatValueRequest) String() string

type GetStatValueResponse

type GetStatValueResponse struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatValueResponse) Descriptor deprecated

func (*GetStatValueResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatValueResponse.ProtoReflect.Descriptor instead.

func (*GetStatValueResponse) GetValue

func (x *GetStatValueResponse) GetValue() float64

func (*GetStatValueResponse) ProtoMessage

func (*GetStatValueResponse) ProtoMessage()

func (*GetStatValueResponse) ProtoReflect

func (x *GetStatValueResponse) ProtoReflect() protoreflect.Message

func (*GetStatValueResponse) Reset

func (x *GetStatValueResponse) Reset()

func (*GetStatValueResponse) String

func (x *GetStatValueResponse) String() string

type GetStatsRequest

type GetStatsRequest struct {

	// The dcids of the place.
	Place []string `protobuf:"bytes,1,rep,name=place,proto3" json:"place,omitempty"`
	// The dcid of the StatisticalVariable.
	StatsVar string `protobuf:"bytes,2,opt,name=stats_var,json=statsVar,proto3" json:"stats_var,omitempty"`
	// (Optional) The measurement method of the observation. If not specified,
	// stats series with any measurement methods could be returned.
	MeasurementMethod string `protobuf:"bytes,4,opt,name=measurement_method,json=measurementMethod,proto3" json:"measurement_method,omitempty"`
	// (Optional) The unit of the observation. If not specified, stats series with
	// any unit could be returned.
	Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
	// (Optional) The observation period of the observation. If not specified,
	// stats series with any observation period could be returned.
	ObservationPeriod string `protobuf:"bytes,6,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetStats.

func (*GetStatsRequest) Descriptor deprecated

func (*GetStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatsRequest.ProtoReflect.Descriptor instead.

func (*GetStatsRequest) GetMeasurementMethod

func (x *GetStatsRequest) GetMeasurementMethod() string

func (*GetStatsRequest) GetObservationPeriod

func (x *GetStatsRequest) GetObservationPeriod() string

func (*GetStatsRequest) GetPlace

func (x *GetStatsRequest) GetPlace() []string

func (*GetStatsRequest) GetStatsVar

func (x *GetStatsRequest) GetStatsVar() string

func (*GetStatsRequest) GetUnit

func (x *GetStatsRequest) GetUnit() string

func (*GetStatsRequest) ProtoMessage

func (*GetStatsRequest) ProtoMessage()

func (*GetStatsRequest) ProtoReflect

func (x *GetStatsRequest) ProtoReflect() protoreflect.Message

func (*GetStatsRequest) Reset

func (x *GetStatsRequest) Reset()

func (*GetStatsRequest) String

func (x *GetStatsRequest) String() string

type GetStatsResponse

type GetStatsResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response of GetStats

func (*GetStatsResponse) Descriptor deprecated

func (*GetStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatsResponse.ProtoReflect.Descriptor instead.

func (*GetStatsResponse) GetPayload

func (x *GetStatsResponse) GetPayload() string

func (*GetStatsResponse) ProtoMessage

func (*GetStatsResponse) ProtoMessage()

func (*GetStatsResponse) ProtoReflect

func (x *GetStatsResponse) ProtoReflect() protoreflect.Message

func (*GetStatsResponse) Reset

func (x *GetStatsResponse) Reset()

func (*GetStatsResponse) String

func (x *GetStatsResponse) String() string

type GetTriplesRequest

type GetTriplesRequest struct {

	// The dcids of the nodes to query for.
	Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
	// Maximum number of triples for each property and type of the neighbor.
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

Request to get all triples linking to the given nodes.

func (*GetTriplesRequest) Descriptor deprecated

func (*GetTriplesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTriplesRequest.ProtoReflect.Descriptor instead.

func (*GetTriplesRequest) GetDcids

func (x *GetTriplesRequest) GetDcids() []string

func (*GetTriplesRequest) GetLimit

func (x *GetTriplesRequest) GetLimit() int32

func (*GetTriplesRequest) ProtoMessage

func (*GetTriplesRequest) ProtoMessage()

func (*GetTriplesRequest) ProtoReflect

func (x *GetTriplesRequest) ProtoReflect() protoreflect.Message

func (*GetTriplesRequest) Reset

func (x *GetTriplesRequest) Reset()

func (*GetTriplesRequest) String

func (x *GetTriplesRequest) String() string

type GetTriplesResponse

type GetTriplesResponse struct {

	// The JSON payload.
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Response returned by GetTriples.

func (*GetTriplesResponse) Descriptor deprecated

func (*GetTriplesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTriplesResponse.ProtoReflect.Descriptor instead.

func (*GetTriplesResponse) GetPayload

func (x *GetTriplesResponse) GetPayload() string

func (*GetTriplesResponse) ProtoMessage

func (*GetTriplesResponse) ProtoMessage()

func (*GetTriplesResponse) ProtoReflect

func (x *GetTriplesResponse) ProtoReflect() protoreflect.Message

func (*GetTriplesResponse) Reset

func (x *GetTriplesResponse) Reset()

func (*GetTriplesResponse) String

func (x *GetTriplesResponse) String() string

type MixerClient

type MixerClient interface {
	// Query DataCommons Graph with Sparql.
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
	// Fetch property labels adjacent of nodes
	GetPropertyLabels(ctx context.Context, in *GetPropertyLabelsRequest, opts ...grpc.CallOption) (*GetPropertyLabelsResponse, error)
	// Fetch nodes that linked to source nodes with a given property.
	GetPropertyValues(ctx context.Context, in *GetPropertyValuesRequest, opts ...grpc.CallOption) (*GetPropertyValuesResponse, error)
	// Fetch triples that have the given nodes as subject or object.
	GetTriples(ctx context.Context, in *GetTriplesRequest, opts ...grpc.CallOption) (*GetTriplesResponse, error)
	// Get populations for a list of places, given the population type and
	// constraining property values.
	GetPopulations(ctx context.Context, in *GetPopulationsRequest, opts ...grpc.CallOption) (*GetPopulationsResponse, error)
	// Get observations for a list of population, given the observation
	// constraints.
	GetObservations(ctx context.Context, in *GetObservationsRequest, opts ...grpc.CallOption) (*GetObservationsResponse, error)
	// Get places contained in parent places.
	GetPlacesIn(ctx context.Context, in *GetPlacesInRequest, opts ...grpc.CallOption) (*GetPlacesInResponse, error)
	// Get population and observation data for a place.
	GetPopObs(ctx context.Context, in *GetPopObsRequest, opts ...grpc.CallOption) (*GetPopObsResponse, error)
	// Get observation data for a list of places, given place type, population
	// type, and population constraining properties.
	GetPlaceObs(ctx context.Context, in *GetPlaceObsRequest, opts ...grpc.CallOption) (*GetPlaceObsResponse, error)
	// Get stats of places by StatisticalVariable. If multiple time series data
	// are avaialable, the highest ranked one by measurement method and import
	// will be returned.
	GetStats(ctx context.Context, in *GetStatsRequest, opts ...grpc.CallOption) (*GetStatsResponse, error)
	// Get stat of a set of places and statistical variables.
	//
	// If multiple time series data are avaialable, the highest ranked one by
	// measurement method, scaling factor and import will be returned.
	// This is a newer version of GetStats() that takes multiple stat vars and
	// returns protobuf field instead of "payload" of json string.
	GetStatSetSeries(ctx context.Context, in *GetStatSetSeriesRequest, opts ...grpc.CallOption) (*GetStatSetSeriesResponse, error)
	// Get a single stat value given a place, a statistical variable and a date.
	// If no date is given, the latest statistical variable will be returned.
	GetStatValue(ctx context.Context, in *GetStatValueRequest, opts ...grpc.CallOption) (*GetStatValueResponse, error)
	// Get a series of stat value with dates, given the place and statistical
	// variable.
	GetStatSeries(ctx context.Context, in *GetStatSeriesRequest, opts ...grpc.CallOption) (*GetStatSeriesResponse, error)
	// Get all stat series given a list of places and a list of statistical
	// variables.
	GetStatAll(ctx context.Context, in *GetStatAllRequest, opts ...grpc.CallOption) (*GetStatAllResponse, error)
	// Get the stat value for children places of certain place type at a given
	// date.
	GetStatCollection(ctx context.Context, in *GetStatCollectionRequest, opts ...grpc.CallOption) (*GetStatCollectionResponse, error)
	// Get the stat value for given places and stat vars. If date is not given,
	// then the latest value for each <place, stat var> is returned.
	GetStatSet(ctx context.Context, in *GetStatSetRequest, opts ...grpc.CallOption) (*GetStatSetResponse, error)
	// Get rankings for given stat var DCIDs.
	GetLocationsRankings(ctx context.Context, in *GetLocationsRankingsRequest, opts ...grpc.CallOption) (*GetLocationsRankingsResponse, error)
	// Get related locations for given stat var DCIDs.
	GetRelatedLocations(ctx context.Context, in *GetRelatedLocationsRequest, opts ...grpc.CallOption) (*GetRelatedLocationsResponse, error)
	// Get landing page info for a place.
	GetLandingPageData(ctx context.Context, in *GetLandingPageDataRequest, opts ...grpc.CallOption) (*GetLandingPageDataResponse, error)
	// Translate Sparql Query into translation results.
	Translate(ctx context.Context, in *TranslateRequest, opts ...grpc.CallOption) (*TranslateResponse, error)
	// Given a text search query, return all entities matching the query.
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
	// Give a list of place dcids, return all the statistical variables for each
	// place.
	GetPlaceStatsVar(ctx context.Context, in *GetPlaceStatsVarRequest, opts ...grpc.CallOption) (*GetPlaceStatsVarResponse, error)
	// Give a list of place dcids, return all the statistical variables for each
	// place.
	// TODO(shifucun): Deprecate GetPlaceStatsVar when all internal clients are migrated.
	GetPlaceStatVars(ctx context.Context, in *GetPlaceStatVarsRequest, opts ...grpc.CallOption) (*GetPlaceStatVarsResponse, error)
	// Given a list of place dcids, returns the union of available
	// statistical variables for the places.
	GetPlaceStatVarsUnion(ctx context.Context, in *GetPlaceStatVarsUnionRequest, opts ...grpc.CallOption) (*GetPlaceStatVarsUnionResponse, error)
	// Given ancestor place, child place type and stat vars, return the dates that have
	// data for each stat var across all child places.
	GetPlaceStatDateWithinPlace(ctx context.Context, in *GetPlaceStatDateWithinPlaceRequest, opts ...grpc.CallOption) (*GetPlaceStatDateWithinPlaceResponse, error)
}

MixerClient is the client API for Mixer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMixerClient

func NewMixerClient(cc grpc.ClientConnInterface) MixerClient

type MixerServer

type MixerServer interface {
	// Query DataCommons Graph with Sparql.
	Query(context.Context, *QueryRequest) (*QueryResponse, error)
	// Fetch property labels adjacent of nodes
	GetPropertyLabels(context.Context, *GetPropertyLabelsRequest) (*GetPropertyLabelsResponse, error)
	// Fetch nodes that linked to source nodes with a given property.
	GetPropertyValues(context.Context, *GetPropertyValuesRequest) (*GetPropertyValuesResponse, error)
	// Fetch triples that have the given nodes as subject or object.
	GetTriples(context.Context, *GetTriplesRequest) (*GetTriplesResponse, error)
	// Get populations for a list of places, given the population type and
	// constraining property values.
	GetPopulations(context.Context, *GetPopulationsRequest) (*GetPopulationsResponse, error)
	// Get observations for a list of population, given the observation
	// constraints.
	GetObservations(context.Context, *GetObservationsRequest) (*GetObservationsResponse, error)
	// Get places contained in parent places.
	GetPlacesIn(context.Context, *GetPlacesInRequest) (*GetPlacesInResponse, error)
	// Get population and observation data for a place.
	GetPopObs(context.Context, *GetPopObsRequest) (*GetPopObsResponse, error)
	// Get observation data for a list of places, given place type, population
	// type, and population constraining properties.
	GetPlaceObs(context.Context, *GetPlaceObsRequest) (*GetPlaceObsResponse, error)
	// Get stats of places by StatisticalVariable. If multiple time series data
	// are avaialable, the highest ranked one by measurement method and import
	// will be returned.
	GetStats(context.Context, *GetStatsRequest) (*GetStatsResponse, error)
	// Get stat of a set of places and statistical variables.
	//
	// If multiple time series data are avaialable, the highest ranked one by
	// measurement method, scaling factor and import will be returned.
	// This is a newer version of GetStats() that takes multiple stat vars and
	// returns protobuf field instead of "payload" of json string.
	GetStatSetSeries(context.Context, *GetStatSetSeriesRequest) (*GetStatSetSeriesResponse, error)
	// Get a single stat value given a place, a statistical variable and a date.
	// If no date is given, the latest statistical variable will be returned.
	GetStatValue(context.Context, *GetStatValueRequest) (*GetStatValueResponse, error)
	// Get a series of stat value with dates, given the place and statistical
	// variable.
	GetStatSeries(context.Context, *GetStatSeriesRequest) (*GetStatSeriesResponse, error)
	// Get all stat series given a list of places and a list of statistical
	// variables.
	GetStatAll(context.Context, *GetStatAllRequest) (*GetStatAllResponse, error)
	// Get the stat value for children places of certain place type at a given
	// date.
	GetStatCollection(context.Context, *GetStatCollectionRequest) (*GetStatCollectionResponse, error)
	// Get the stat value for given places and stat vars. If date is not given,
	// then the latest value for each <place, stat var> is returned.
	GetStatSet(context.Context, *GetStatSetRequest) (*GetStatSetResponse, error)
	// Get rankings for given stat var DCIDs.
	GetLocationsRankings(context.Context, *GetLocationsRankingsRequest) (*GetLocationsRankingsResponse, error)
	// Get related locations for given stat var DCIDs.
	GetRelatedLocations(context.Context, *GetRelatedLocationsRequest) (*GetRelatedLocationsResponse, error)
	// Get landing page info for a place.
	GetLandingPageData(context.Context, *GetLandingPageDataRequest) (*GetLandingPageDataResponse, error)
	// Translate Sparql Query into translation results.
	Translate(context.Context, *TranslateRequest) (*TranslateResponse, error)
	// Given a text search query, return all entities matching the query.
	Search(context.Context, *SearchRequest) (*SearchResponse, error)
	// Give a list of place dcids, return all the statistical variables for each
	// place.
	GetPlaceStatsVar(context.Context, *GetPlaceStatsVarRequest) (*GetPlaceStatsVarResponse, error)
	// Give a list of place dcids, return all the statistical variables for each
	// place.
	// TODO(shifucun): Deprecate GetPlaceStatsVar when all internal clients are migrated.
	GetPlaceStatVars(context.Context, *GetPlaceStatVarsRequest) (*GetPlaceStatVarsResponse, error)
	// Given a list of place dcids, returns the union of available
	// statistical variables for the places.
	GetPlaceStatVarsUnion(context.Context, *GetPlaceStatVarsUnionRequest) (*GetPlaceStatVarsUnionResponse, error)
	// Given ancestor place, child place type and stat vars, return the dates that have
	// data for each stat var across all child places.
	GetPlaceStatDateWithinPlace(context.Context, *GetPlaceStatDateWithinPlaceRequest) (*GetPlaceStatDateWithinPlaceResponse, error)
}

MixerServer is the server API for Mixer service. All implementations should embed UnimplementedMixerServer for forward compatibility

type ObsCollection

type ObsCollection struct {
	SourceCohorts []*SourceSeries `protobuf:"bytes,2,rep,name=source_cohorts,json=sourceCohorts,proto3" json:"source_cohorts,omitempty"`
	// contains filtered or unexported fields
}

A collection of observation values for various places with the same parent and place type, for given measured property, observation period, stat type, observation date, pop type, and an optional list of pop PVs.

func (*ObsCollection) Descriptor deprecated

func (*ObsCollection) Descriptor() ([]byte, []int)

Deprecated: Use ObsCollection.ProtoReflect.Descriptor instead.

func (*ObsCollection) GetSourceCohorts

func (x *ObsCollection) GetSourceCohorts() []*SourceSeries

func (*ObsCollection) ProtoMessage

func (*ObsCollection) ProtoMessage()

func (*ObsCollection) ProtoReflect

func (x *ObsCollection) ProtoReflect() protoreflect.Message

func (*ObsCollection) Reset

func (x *ObsCollection) Reset()

func (*ObsCollection) String

func (x *ObsCollection) String() string

type ObsTimeSeries

type ObsTimeSeries struct {
	Data map[string]float64 `` // Date to value.
	/* 151-byte string literal not displayed */
	PlaceName        string          `protobuf:"bytes,3,opt,name=place_name,json=placeName,proto3" json:"place_name,omitempty"`
	PlaceDcid        string          `protobuf:"bytes,5,opt,name=place_dcid,json=placeDcid,proto3" json:"place_dcid,omitempty"` // Only set if the key uses mid.
	SourceSeries     []*SourceSeries `protobuf:"bytes,6,rep,name=source_series,json=sourceSeries,proto3" json:"source_series,omitempty"`
	ProvenanceDomain string          `protobuf:"bytes,7,opt,name=provenance_domain,json=provenanceDomain,proto3" json:"provenance_domain,omitempty"`
	ProvenanceUrl    string          `protobuf:"bytes,8,opt,name=provenance_url,json=provenanceUrl,proto3" json:"provenance_url,omitempty"`
	// contains filtered or unexported fields
}

Represents observation time series data.

func (*ObsTimeSeries) Descriptor deprecated

func (*ObsTimeSeries) Descriptor() ([]byte, []int)

Deprecated: Use ObsTimeSeries.ProtoReflect.Descriptor instead.

func (*ObsTimeSeries) GetData

func (x *ObsTimeSeries) GetData() map[string]float64

func (*ObsTimeSeries) GetPlaceDcid

func (x *ObsTimeSeries) GetPlaceDcid() string

func (*ObsTimeSeries) GetPlaceName

func (x *ObsTimeSeries) GetPlaceName() string

func (*ObsTimeSeries) GetProvenanceDomain

func (x *ObsTimeSeries) GetProvenanceDomain() string

func (*ObsTimeSeries) GetProvenanceUrl

func (x *ObsTimeSeries) GetProvenanceUrl() string

func (*ObsTimeSeries) GetSourceSeries

func (x *ObsTimeSeries) GetSourceSeries() []*SourceSeries

func (*ObsTimeSeries) ProtoMessage

func (*ObsTimeSeries) ProtoMessage()

func (*ObsTimeSeries) ProtoReflect

func (x *ObsTimeSeries) ProtoReflect() protoreflect.Message

func (*ObsTimeSeries) Reset

func (x *ObsTimeSeries) Reset()

func (*ObsTimeSeries) String

func (x *ObsTimeSeries) String() string

type PlacePointStat

type PlacePointStat struct {

	// Keyed by place DCID.
	Stat map[string]*PointStat `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PlacePointStat) Descriptor deprecated

func (*PlacePointStat) Descriptor() ([]byte, []int)

Deprecated: Use PlacePointStat.ProtoReflect.Descriptor instead.

func (*PlacePointStat) GetStat

func (x *PlacePointStat) GetStat() map[string]*PointStat

func (*PlacePointStat) ProtoMessage

func (*PlacePointStat) ProtoMessage()

func (*PlacePointStat) ProtoReflect

func (x *PlacePointStat) ProtoReflect() protoreflect.Message

func (*PlacePointStat) Reset

func (x *PlacePointStat) Reset()

func (*PlacePointStat) String

func (x *PlacePointStat) String() string

type PlaceStat

type PlaceStat struct {
	StatVarData map[string]*ObsTimeSeries `` /* 184-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PlaceStat) Descriptor deprecated

func (*PlaceStat) Descriptor() ([]byte, []int)

Deprecated: Use PlaceStat.ProtoReflect.Descriptor instead.

func (*PlaceStat) GetStatVarData

func (x *PlaceStat) GetStatVarData() map[string]*ObsTimeSeries

func (*PlaceStat) ProtoMessage

func (*PlaceStat) ProtoMessage()

func (*PlaceStat) ProtoReflect

func (x *PlaceStat) ProtoReflect() protoreflect.Message

func (*PlaceStat) Reset

func (x *PlaceStat) Reset()

func (*PlaceStat) String

func (x *PlaceStat) String() string

type PointStat

type PointStat struct {

	// date in IOS-8601 format
	Date     string        `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	Value    float64       `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	Metadata *StatMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*PointStat) Descriptor deprecated

func (*PointStat) Descriptor() ([]byte, []int)

Deprecated: Use PointStat.ProtoReflect.Descriptor instead.

func (*PointStat) GetDate

func (x *PointStat) GetDate() string

func (*PointStat) GetMetadata

func (x *PointStat) GetMetadata() *StatMetadata

func (*PointStat) GetValue

func (x *PointStat) GetValue() float64

func (*PointStat) ProtoMessage

func (*PointStat) ProtoMessage()

func (*PointStat) ProtoReflect

func (x *PointStat) ProtoReflect() protoreflect.Message

func (*PointStat) Reset

func (x *PointStat) Reset()

func (*PointStat) String

func (x *PointStat) String() string

type PopObsCollection

type PopObsCollection struct {
	Places []*PopObsPlace `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
	// contains filtered or unexported fields
}

PopObsCollection holds information for multiple PopObsPlace instances.

func (*PopObsCollection) Descriptor deprecated

func (*PopObsCollection) Descriptor() ([]byte, []int)

Deprecated: Use PopObsCollection.ProtoReflect.Descriptor instead.

func (*PopObsCollection) GetPlaces

func (x *PopObsCollection) GetPlaces() []*PopObsPlace

func (*PopObsCollection) ProtoMessage

func (*PopObsCollection) ProtoMessage()

func (*PopObsCollection) ProtoReflect

func (x *PopObsCollection) ProtoReflect() protoreflect.Message

func (*PopObsCollection) Reset

func (x *PopObsCollection) Reset()

func (*PopObsCollection) String

func (x *PopObsCollection) String() string

type PopObsObservation

type PopObsObservation struct {
	Id                     string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                   string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	MeasuredProp           string   `protobuf:"bytes,3,opt,name=measured_prop,json=measuredProp,proto3" json:"measured_prop,omitempty"`
	MinValue               float64  `protobuf:"fixed64,4,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	MaxValue               float64  `protobuf:"fixed64,5,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	MeanValue              float64  `protobuf:"fixed64,6,opt,name=mean_value,json=meanValue,proto3" json:"mean_value,omitempty"`
	MedianValue            float64  `protobuf:"fixed64,7,opt,name=median_value,json=medianValue,proto3" json:"median_value,omitempty"`
	MeasuredValue          float64  `protobuf:"fixed64,8,opt,name=measured_value,json=measuredValue,proto3" json:"measured_value,omitempty"`
	SampleSize             float64  `protobuf:"fixed64,9,opt,name=sample_size,json=sampleSize,proto3" json:"sample_size,omitempty"`
	MarginOfError          float64  `protobuf:"fixed64,10,opt,name=margin_of_error,json=marginOfError,proto3" json:"margin_of_error,omitempty"`
	StdError               float64  `protobuf:"fixed64,11,opt,name=std_error,json=stdError,proto3" json:"std_error,omitempty"`
	MeanStdError           float64  `protobuf:"fixed64,12,opt,name=mean_std_error,json=meanStdError,proto3" json:"mean_std_error,omitempty"`
	SumValue               float64  `protobuf:"fixed64,13,opt,name=sum_value,json=sumValue,proto3" json:"sum_value,omitempty"`
	Percentile10           float64  `protobuf:"fixed64,14,opt,name=percentile10,proto3" json:"percentile10,omitempty"`
	Percentile25           float64  `protobuf:"fixed64,15,opt,name=percentile25,proto3" json:"percentile25,omitempty"`
	Percentile75           float64  `protobuf:"fixed64,16,opt,name=percentile75,proto3" json:"percentile75,omitempty"`
	Percentile90           float64  `protobuf:"fixed64,17,opt,name=percentile90,proto3" json:"percentile90,omitempty"`
	Unit                   string   `protobuf:"bytes,18,opt,name=unit,proto3" json:"unit,omitempty"`
	MeasurementMethod      string   `protobuf:"bytes,19,opt,name=measurement_method,json=measurementMethod,proto3" json:"measurement_method,omitempty"`
	ProvenanceId           string   `protobuf:"bytes,20,opt,name=provenance_id,json=provenanceId,proto3" json:"provenance_id,omitempty"`
	ObservationDate        string   `protobuf:"bytes,22,opt,name=observation_date,json=observationDate,proto3" json:"observation_date,omitempty"`
	ObservationPeriod      string   `protobuf:"bytes,23,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"`
	MeasurementResult      string   `protobuf:"bytes,24,opt,name=measurement_result,json=measurementResult,proto3" json:"measurement_result,omitempty"`
	GrowthRate             float64  `protobuf:"fixed64,25,opt,name=growth_rate,json=growthRate,proto3" json:"growth_rate,omitempty"`
	ObservedNode           string   `protobuf:"bytes,26,opt,name=observed_node,json=observedNode,proto3" json:"observed_node,omitempty"` // Won't persist to cache.
	ComparisonOperator     string   `protobuf:"bytes,27,opt,name=comparison_operator,json=comparisonOperator,proto3" json:"comparison_operator,omitempty"`
	StdDeviationValue      float64  `protobuf:"fixed64,28,opt,name=std_deviation_value,json=stdDeviationValue,proto3" json:"std_deviation_value,omitempty"`
	MeasurementDenominator string   `` /* 128-byte string literal not displayed */
	MeasurementQualifier   string   `protobuf:"bytes,30,opt,name=measurement_qualifier,json=measurementQualifier,proto3" json:"measurement_qualifier,omitempty"`
	ScalingFactor          string   `protobuf:"bytes,31,opt,name=scaling_factor,json=scalingFactor,proto3" json:"scaling_factor,omitempty"`
	MeasurementVariable    []string `protobuf:"bytes,32,rep,name=measurement_variable,json=measurementVariable,proto3" json:"measurement_variable,omitempty"`
	StatType               string   `protobuf:"bytes,33,opt,name=stat_type,json=statType,proto3" json:"stat_type,omitempty"`         // Won't persist to cache.
	StatVarIds             []string `protobuf:"bytes,34,rep,name=stat_var_ids,json=statVarIds,proto3" json:"stat_var_ids,omitempty"` // Only set for PopObs cache.
	// contains filtered or unexported fields
}

PopObsObservation holds information for an observation for the Population-Observation knowledge graph..

func (*PopObsObservation) Descriptor deprecated

func (*PopObsObservation) Descriptor() ([]byte, []int)

Deprecated: Use PopObsObservation.ProtoReflect.Descriptor instead.

func (*PopObsObservation) GetComparisonOperator

func (x *PopObsObservation) GetComparisonOperator() string

func (*PopObsObservation) GetGrowthRate

func (x *PopObsObservation) GetGrowthRate() float64

func (*PopObsObservation) GetId

func (x *PopObsObservation) GetId() string

func (*PopObsObservation) GetMarginOfError

func (x *PopObsObservation) GetMarginOfError() float64

func (*PopObsObservation) GetMaxValue

func (x *PopObsObservation) GetMaxValue() float64

func (*PopObsObservation) GetMeanStdError

func (x *PopObsObservation) GetMeanStdError() float64

func (*PopObsObservation) GetMeanValue

func (x *PopObsObservation) GetMeanValue() float64

func (*PopObsObservation) GetMeasuredProp

func (x *PopObsObservation) GetMeasuredProp() string

func (*PopObsObservation) GetMeasuredValue

func (x *PopObsObservation) GetMeasuredValue() float64

func (*PopObsObservation) GetMeasurementDenominator

func (x *PopObsObservation) GetMeasurementDenominator() string

func (*PopObsObservation) GetMeasurementMethod

func (x *PopObsObservation) GetMeasurementMethod() string

func (*PopObsObservation) GetMeasurementQualifier

func (x *PopObsObservation) GetMeasurementQualifier() string

func (*PopObsObservation) GetMeasurementResult

func (x *PopObsObservation) GetMeasurementResult() string

func (*PopObsObservation) GetMeasurementVariable

func (x *PopObsObservation) GetMeasurementVariable() []string

func (*PopObsObservation) GetMedianValue

func (x *PopObsObservation) GetMedianValue() float64

func (*PopObsObservation) GetMinValue

func (x *PopObsObservation) GetMinValue() float64

func (*PopObsObservation) GetObservationDate

func (x *PopObsObservation) GetObservationDate() string

func (*PopObsObservation) GetObservationPeriod

func (x *PopObsObservation) GetObservationPeriod() string

func (*PopObsObservation) GetObservedNode

func (x *PopObsObservation) GetObservedNode() string

func (*PopObsObservation) GetPercentile10

func (x *PopObsObservation) GetPercentile10() float64

func (*PopObsObservation) GetPercentile25

func (x *PopObsObservation) GetPercentile25() float64

func (*PopObsObservation) GetPercentile75

func (x *PopObsObservation) GetPercentile75() float64

func (*PopObsObservation) GetPercentile90

func (x *PopObsObservation) GetPercentile90() float64

func (*PopObsObservation) GetProvenanceId

func (x *PopObsObservation) GetProvenanceId() string

func (*PopObsObservation) GetSampleSize

func (x *PopObsObservation) GetSampleSize() float64

func (*PopObsObservation) GetScalingFactor

func (x *PopObsObservation) GetScalingFactor() string

func (*PopObsObservation) GetStatType

func (x *PopObsObservation) GetStatType() string

func (*PopObsObservation) GetStatVarIds

func (x *PopObsObservation) GetStatVarIds() []string

func (*PopObsObservation) GetStdDeviationValue

func (x *PopObsObservation) GetStdDeviationValue() float64

func (*PopObsObservation) GetStdError

func (x *PopObsObservation) GetStdError() float64

func (*PopObsObservation) GetSumValue

func (x *PopObsObservation) GetSumValue() float64

func (*PopObsObservation) GetType

func (x *PopObsObservation) GetType() string

func (*PopObsObservation) GetUnit

func (x *PopObsObservation) GetUnit() string

func (*PopObsObservation) ProtoMessage

func (*PopObsObservation) ProtoMessage()

func (*PopObsObservation) ProtoReflect

func (x *PopObsObservation) ProtoReflect() protoreflect.Message

func (*PopObsObservation) Reset

func (x *PopObsObservation) Reset()

func (*PopObsObservation) String

func (x *PopObsObservation) String() string

type PopObsPlace

type PopObsPlace struct {
	Name           string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type           string                `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Populations    map[string]*PopObsPop ``                                                                /* 163-byte string literal not displayed */
	Place          string                `protobuf:"bytes,4,opt,name=place,proto3" json:"place,omitempty"` // Place DCID.
	Latitude       float64               `protobuf:"fixed64,5,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude      float64               `protobuf:"fixed64,6,opt,name=longitude,proto3" json:"longitude,omitempty"`
	KmlCoordinates string                `protobuf:"bytes,7,opt,name=kml_coordinates,json=kmlCoordinates,proto3" json:"kml_coordinates,omitempty"`
	// Populations whose childhood location is this place.
	ChildhoodLocationPopulations map[string]*PopObsPop `` /* 235-byte string literal not displayed */
	Observations                 []*PopObsObservation  `protobuf:"bytes,9,rep,name=observations,proto3" json:"observations,omitempty"`
	Mid                          string                `protobuf:"bytes,10,opt,name=mid,proto3" json:"mid,omitempty"`                                                        // Won't persist to cache.
	ContainedInPlaces            []string              `protobuf:"bytes,11,rep,name=contained_in_places,json=containedInPlaces,proto3" json:"contained_in_places,omitempty"` // Won't persist to cache.
	// contains filtered or unexported fields
}

PopObsPlace holds information for a place for the Population-Observation knowledge graph.

func (*PopObsPlace) Descriptor deprecated

func (*PopObsPlace) Descriptor() ([]byte, []int)

Deprecated: Use PopObsPlace.ProtoReflect.Descriptor instead.

func (*PopObsPlace) GetChildhoodLocationPopulations

func (x *PopObsPlace) GetChildhoodLocationPopulations() map[string]*PopObsPop

func (*PopObsPlace) GetContainedInPlaces

func (x *PopObsPlace) GetContainedInPlaces() []string

func (*PopObsPlace) GetKmlCoordinates

func (x *PopObsPlace) GetKmlCoordinates() string

func (*PopObsPlace) GetLatitude

func (x *PopObsPlace) GetLatitude() float64

func (*PopObsPlace) GetLongitude

func (x *PopObsPlace) GetLongitude() float64

func (*PopObsPlace) GetMid

func (x *PopObsPlace) GetMid() string

func (*PopObsPlace) GetName

func (x *PopObsPlace) GetName() string

func (*PopObsPlace) GetObservations

func (x *PopObsPlace) GetObservations() []*PopObsObservation

func (*PopObsPlace) GetPlace

func (x *PopObsPlace) GetPlace() string

func (*PopObsPlace) GetPopulations

func (x *PopObsPlace) GetPopulations() map[string]*PopObsPop

func (*PopObsPlace) GetType

func (x *PopObsPlace) GetType() string

func (*PopObsPlace) ProtoMessage

func (*PopObsPlace) ProtoMessage()

func (*PopObsPlace) ProtoReflect

func (x *PopObsPlace) ProtoReflect() protoreflect.Message

func (*PopObsPlace) Reset

func (x *PopObsPlace) Reset()

func (*PopObsPlace) String

func (x *PopObsPlace) String() string

type PopObsPop

type PopObsPop struct {
	PopType           string               `protobuf:"bytes,1,opt,name=pop_type,json=popType,proto3" json:"pop_type,omitempty"`
	NumConstraints    int32                `protobuf:"varint,2,opt,name=num_constraints,json=numConstraints,proto3" json:"num_constraints,omitempty"`
	Observations      []*PopObsObservation `protobuf:"bytes,5,rep,name=observations,proto3" json:"observations,omitempty"`
	ProvenanceId      string               `protobuf:"bytes,6,opt,name=provenance_id,json=provenanceId,proto3" json:"provenance_id,omitempty"`
	PropertyValues    map[string]string    ``                                                                                   /* 191-byte string literal not displayed */
	PlaceId           string               `protobuf:"bytes,9,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"` // Won't persist to cache.
	PopId             string               `protobuf:"bytes,10,opt,name=pop_id,json=popId,proto3" json:"pop_id,omitempty"`
	ChildhoodLocation string               `protobuf:"bytes,11,opt,name=childhood_location,json=childhoodLocation,proto3" json:"childhood_location,omitempty"` // Won't persist to cache.
	// Observations whose comparedNode is this population.
	ComparedObservations []*PopObsObservation `protobuf:"bytes,12,rep,name=compared_observations,json=comparedObservations,proto3" json:"compared_observations,omitempty"`
	// contains filtered or unexported fields
}

PopObsPop holds information for a statistical population for the Population-Observation knowledge graph.

func (*PopObsPop) Descriptor deprecated

func (*PopObsPop) Descriptor() ([]byte, []int)

Deprecated: Use PopObsPop.ProtoReflect.Descriptor instead.

func (*PopObsPop) GetChildhoodLocation

func (x *PopObsPop) GetChildhoodLocation() string

func (*PopObsPop) GetComparedObservations

func (x *PopObsPop) GetComparedObservations() []*PopObsObservation

func (*PopObsPop) GetNumConstraints

func (x *PopObsPop) GetNumConstraints() int32

func (*PopObsPop) GetObservations

func (x *PopObsPop) GetObservations() []*PopObsObservation

func (*PopObsPop) GetPlaceId

func (x *PopObsPop) GetPlaceId() string

func (*PopObsPop) GetPopId

func (x *PopObsPop) GetPopId() string

func (*PopObsPop) GetPopType

func (x *PopObsPop) GetPopType() string

func (*PopObsPop) GetPropertyValues

func (x *PopObsPop) GetPropertyValues() map[string]string

func (*PopObsPop) GetProvenanceId

func (x *PopObsPop) GetProvenanceId() string

func (*PopObsPop) ProtoMessage

func (*PopObsPop) ProtoMessage()

func (*PopObsPop) ProtoReflect

func (x *PopObsPop) ProtoReflect() protoreflect.Message

func (*PopObsPop) Reset

func (x *PopObsPop) Reset()

func (*PopObsPop) String

func (x *PopObsPop) String() string

type PropertyLabels

type PropertyLabels struct {
	InLabels  []string `protobuf:"bytes,1,rep,name=in_labels,json=inLabels,proto3" json:"in_labels,omitempty"`
	OutLabels []string `protobuf:"bytes,2,rep,name=out_labels,json=outLabels,proto3" json:"out_labels,omitempty"`
	// contains filtered or unexported fields
}

Full lists of in and out labels for a given node ID.

func (*PropertyLabels) Descriptor deprecated

func (*PropertyLabels) Descriptor() ([]byte, []int)

Deprecated: Use PropertyLabels.ProtoReflect.Descriptor instead.

func (*PropertyLabels) GetInLabels

func (x *PropertyLabels) GetInLabels() []string

func (*PropertyLabels) GetOutLabels

func (x *PropertyLabels) GetOutLabels() []string

func (*PropertyLabels) ProtoMessage

func (*PropertyLabels) ProtoMessage()

func (*PropertyLabels) ProtoReflect

func (x *PropertyLabels) ProtoReflect() protoreflect.Message

func (*PropertyLabels) Reset

func (x *PropertyLabels) Reset()

func (*PropertyLabels) String

func (x *PropertyLabels) String() string

type PropertyValue

type PropertyValue struct {

	// The property schema
	Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	// The value in string.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Represents a property value pair.

func (*PropertyValue) Descriptor deprecated

func (*PropertyValue) Descriptor() ([]byte, []int)

Deprecated: Use PropertyValue.ProtoReflect.Descriptor instead.

func (*PropertyValue) GetProperty

func (x *PropertyValue) GetProperty() string

func (*PropertyValue) GetValue

func (x *PropertyValue) GetValue() string

func (*PropertyValue) ProtoMessage

func (*PropertyValue) ProtoMessage()

func (*PropertyValue) ProtoReflect

func (x *PropertyValue) ProtoReflect() protoreflect.Message

func (*PropertyValue) Reset

func (x *PropertyValue) Reset()

func (*PropertyValue) String

func (x *PropertyValue) String() string

type ProvenanceInfo

type ProvenanceInfo struct {
	ProvenanceId string `protobuf:"bytes,1,opt,name=provenance_id,json=provenanceId,proto3" json:"provenance_id,omitempty"`
	// Domain is obtained from the source of the provenance.
	Domain     string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	ImportName string `protobuf:"bytes,3,opt,name=import_name,json=importName,proto3" json:"import_name,omitempty"`
	// contains filtered or unexported fields
}

Essential provenance information.

func (*ProvenanceInfo) Descriptor deprecated

func (*ProvenanceInfo) Descriptor() ([]byte, []int)

Deprecated: Use ProvenanceInfo.ProtoReflect.Descriptor instead.

func (*ProvenanceInfo) GetDomain

func (x *ProvenanceInfo) GetDomain() string

func (*ProvenanceInfo) GetImportName

func (x *ProvenanceInfo) GetImportName() string

func (*ProvenanceInfo) GetProvenanceId

func (x *ProvenanceInfo) GetProvenanceId() string

func (*ProvenanceInfo) ProtoMessage

func (*ProvenanceInfo) ProtoMessage()

func (*ProvenanceInfo) ProtoReflect

func (x *ProvenanceInfo) ProtoReflect() protoreflect.Message

func (*ProvenanceInfo) Reset

func (x *ProvenanceInfo) Reset()

func (*ProvenanceInfo) String

func (x *ProvenanceInfo) String() string

type Provenances

type Provenances struct {
	Provenances []*ProvenanceInfo `protobuf:"bytes,1,rep,name=provenances,proto3" json:"provenances,omitempty"`
	// contains filtered or unexported fields
}

A full list of provenances.

func (*Provenances) Descriptor deprecated

func (*Provenances) Descriptor() ([]byte, []int)

Deprecated: Use Provenances.ProtoReflect.Descriptor instead.

func (*Provenances) GetProvenances

func (x *Provenances) GetProvenances() []*ProvenanceInfo

func (*Provenances) ProtoMessage

func (*Provenances) ProtoMessage()

func (*Provenances) ProtoReflect

func (x *Provenances) ProtoReflect() protoreflect.Message

func (*Provenances) Reset

func (x *Provenances) Reset()

func (*Provenances) String

func (x *Provenances) String() string

type QueryRequest

type QueryRequest struct {

	// Sparql query string.
	Sparql string `protobuf:"bytes,1,opt,name=sparql,proto3" json:"sparql,omitempty"`
	// contains filtered or unexported fields
}

A graph query request in Sparql query language.

func (*QueryRequest) Descriptor deprecated

func (*QueryRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.

func (*QueryRequest) GetSparql

func (x *QueryRequest) GetSparql() string

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) ProtoReflect

func (x *QueryRequest) ProtoReflect() protoreflect.Message

func (*QueryRequest) Reset

func (x *QueryRequest) Reset()

func (*QueryRequest) String

func (x *QueryRequest) String() string

type QueryResponse

type QueryResponse struct {

	// Identifier for selected variable. Size of the header is the same as number
	// of cells for each row.
	Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
	// Query results, with each row containing cells corresponding to header
	// variable order.
	Rows []*QueryResponseRow `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

Graph query response.

func (*QueryResponse) Descriptor deprecated

func (*QueryResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.

func (*QueryResponse) GetHeader

func (x *QueryResponse) GetHeader() []string

func (*QueryResponse) GetRows

func (x *QueryResponse) GetRows() []*QueryResponseRow

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect

func (x *QueryResponse) ProtoReflect() protoreflect.Message

func (*QueryResponse) Reset

func (x *QueryResponse) Reset()

func (*QueryResponse) String

func (x *QueryResponse) String() string

type QueryResponseCell

type QueryResponseCell struct {

	// Cell value.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Provenance ID.
	ProvenanceId string `protobuf:"bytes,2,opt,name=provenance_id,json=provenanceId,proto3" json:"provenance_id,omitempty"`
	// contains filtered or unexported fields
}

Cell in the QueryResponse

func (*QueryResponseCell) Descriptor deprecated

func (*QueryResponseCell) Descriptor() ([]byte, []int)

Deprecated: Use QueryResponseCell.ProtoReflect.Descriptor instead.

func (*QueryResponseCell) GetProvenanceId

func (x *QueryResponseCell) GetProvenanceId() string

func (*QueryResponseCell) GetValue

func (x *QueryResponseCell) GetValue() string

func (*QueryResponseCell) ProtoMessage

func (*QueryResponseCell) ProtoMessage()

func (*QueryResponseCell) ProtoReflect

func (x *QueryResponseCell) ProtoReflect() protoreflect.Message

func (*QueryResponseCell) Reset

func (x *QueryResponseCell) Reset()

func (*QueryResponseCell) String

func (x *QueryResponseCell) String() string

type QueryResponseRow

type QueryResponseRow struct {

	// A list of QueryResponseCell.
	Cells []*QueryResponseCell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
	// contains filtered or unexported fields
}

A graph query response row corresponding to the query variables in graph query.

func (*QueryResponseRow) Descriptor deprecated

func (*QueryResponseRow) Descriptor() ([]byte, []int)

Deprecated: Use QueryResponseRow.ProtoReflect.Descriptor instead.

func (*QueryResponseRow) GetCells

func (x *QueryResponseRow) GetCells() []*QueryResponseCell

func (*QueryResponseRow) ProtoMessage

func (*QueryResponseRow) ProtoMessage()

func (*QueryResponseRow) ProtoReflect

func (x *QueryResponseRow) ProtoReflect() protoreflect.Message

func (*QueryResponseRow) Reset

func (x *QueryResponseRow) Reset()

func (*QueryResponseRow) String

func (x *QueryResponseRow) String() string

type RelatedPlacesInfo

type RelatedPlacesInfo struct {

	// The following 3 fields are set only when place is not empty.
	RelatedPlaces  []string `protobuf:"bytes,1,rep,name=related_places,json=relatedPlaces,proto3" json:"related_places,omitempty"`
	RankFromTop    int32    `protobuf:"varint,2,opt,name=rank_from_top,json=rankFromTop,proto3" json:"rank_from_top,omitempty"`          // Starting from 1.
	RankFromBottom int32    `protobuf:"varint,3,opt,name=rank_from_bottom,json=rankFromBottom,proto3" json:"rank_from_bottom,omitempty"` // Starting from 1.
	// The following 3 fields are set only when place is empty.
	RankAll         *RelatedPlacesInfo_Ranking `protobuf:"bytes,7,opt,name=rank_all,json=rankAll,proto3" json:"rank_all,omitempty"`
	RankTop_1000    *RelatedPlacesInfo_Ranking `protobuf:"bytes,8,opt,name=rank_top_1000,json=rankTop1000,proto3" json:"rank_top_1000,omitempty"`
	RankBottom_1000 *RelatedPlacesInfo_Ranking `protobuf:"bytes,9,opt,name=rank_bottom_1000,json=rankBottom1000,proto3" json:"rank_bottom_1000,omitempty"`
	// contains filtered or unexported fields
}

Related places info for a given place and condition.

func (*RelatedPlacesInfo) Descriptor deprecated

func (*RelatedPlacesInfo) Descriptor() ([]byte, []int)

Deprecated: Use RelatedPlacesInfo.ProtoReflect.Descriptor instead.

func (*RelatedPlacesInfo) GetRankAll

func (*RelatedPlacesInfo) GetRankBottom_1000

func (x *RelatedPlacesInfo) GetRankBottom_1000() *RelatedPlacesInfo_Ranking

func (*RelatedPlacesInfo) GetRankFromBottom

func (x *RelatedPlacesInfo) GetRankFromBottom() int32

func (*RelatedPlacesInfo) GetRankFromTop

func (x *RelatedPlacesInfo) GetRankFromTop() int32

func (*RelatedPlacesInfo) GetRankTop_1000

func (x *RelatedPlacesInfo) GetRankTop_1000() *RelatedPlacesInfo_Ranking

func (*RelatedPlacesInfo) GetRelatedPlaces

func (x *RelatedPlacesInfo) GetRelatedPlaces() []string

func (*RelatedPlacesInfo) ProtoMessage

func (*RelatedPlacesInfo) ProtoMessage()

func (*RelatedPlacesInfo) ProtoReflect

func (x *RelatedPlacesInfo) ProtoReflect() protoreflect.Message

func (*RelatedPlacesInfo) Reset

func (x *RelatedPlacesInfo) Reset()

func (*RelatedPlacesInfo) String

func (x *RelatedPlacesInfo) String() string

type RelatedPlacesInfo_Ranking

type RelatedPlacesInfo_Ranking struct {
	Info []*RelatedPlacesInfo_Ranking_RankInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*RelatedPlacesInfo_Ranking) Descriptor deprecated

func (*RelatedPlacesInfo_Ranking) Descriptor() ([]byte, []int)

Deprecated: Use RelatedPlacesInfo_Ranking.ProtoReflect.Descriptor instead.

func (*RelatedPlacesInfo_Ranking) GetInfo

func (*RelatedPlacesInfo_Ranking) ProtoMessage

func (*RelatedPlacesInfo_Ranking) ProtoMessage()

func (*RelatedPlacesInfo_Ranking) ProtoReflect

func (*RelatedPlacesInfo_Ranking) Reset

func (x *RelatedPlacesInfo_Ranking) Reset()

func (*RelatedPlacesInfo_Ranking) String

func (x *RelatedPlacesInfo_Ranking) String() string

type RelatedPlacesInfo_Ranking_RankInfo

type RelatedPlacesInfo_Ranking_RankInfo struct {
	Rank      int32   `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"`
	Value     float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	PlaceDcid string  `protobuf:"bytes,3,opt,name=place_dcid,json=placeDcid,proto3" json:"place_dcid,omitempty"`
	// contains filtered or unexported fields
}

func (*RelatedPlacesInfo_Ranking_RankInfo) Descriptor deprecated

func (*RelatedPlacesInfo_Ranking_RankInfo) Descriptor() ([]byte, []int)

Deprecated: Use RelatedPlacesInfo_Ranking_RankInfo.ProtoReflect.Descriptor instead.

func (*RelatedPlacesInfo_Ranking_RankInfo) GetPlaceDcid

func (x *RelatedPlacesInfo_Ranking_RankInfo) GetPlaceDcid() string

func (*RelatedPlacesInfo_Ranking_RankInfo) GetRank

func (*RelatedPlacesInfo_Ranking_RankInfo) GetValue

func (*RelatedPlacesInfo_Ranking_RankInfo) ProtoMessage

func (*RelatedPlacesInfo_Ranking_RankInfo) ProtoMessage()

func (*RelatedPlacesInfo_Ranking_RankInfo) ProtoReflect

func (*RelatedPlacesInfo_Ranking_RankInfo) Reset

func (*RelatedPlacesInfo_Ranking_RankInfo) String

type SearchEntityResult

type SearchEntityResult struct {

	// DCID of the entity.
	Dcid string `protobuf:"bytes,1,opt,name=dcid,proto3" json:"dcid,omitempty"`
	// Name of the entity.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Data for a single entity returned by the search endpoint.

func (*SearchEntityResult) Descriptor deprecated

func (*SearchEntityResult) Descriptor() ([]byte, []int)

Deprecated: Use SearchEntityResult.ProtoReflect.Descriptor instead.

func (*SearchEntityResult) GetDcid

func (x *SearchEntityResult) GetDcid() string

func (*SearchEntityResult) GetName

func (x *SearchEntityResult) GetName() string

func (*SearchEntityResult) ProtoMessage

func (*SearchEntityResult) ProtoMessage()

func (*SearchEntityResult) ProtoReflect

func (x *SearchEntityResult) ProtoReflect() protoreflect.Message

func (*SearchEntityResult) Reset

func (x *SearchEntityResult) Reset()

func (*SearchEntityResult) String

func (x *SearchEntityResult) String() string

type SearchRequest

type SearchRequest struct {

	// Search query which is just a plain text string, e.g. "california".
	// This is not a datalog query, but a plain text query. The mixer is free
	// to choose an interpretation of the query, e.g. using NLP or just plain
	// keyword search and return relevant entities from the graph.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Maximum number of entities to return.
	MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// contains filtered or unexported fields
}

Search request sent to the mixer.

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetMaxResults

func (x *SearchRequest) GetMaxResults() int32

func (*SearchRequest) GetQuery

func (x *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {

	// Matching entities broken down by type.
	Section []*SearchResultSection `protobuf:"bytes,1,rep,name=section,proto3" json:"section,omitempty"`
	// contains filtered or unexported fields
}

Search response from mixer.

func (*SearchResponse) Descriptor deprecated

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetSection

func (x *SearchResponse) GetSection() []*SearchResultSection

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type SearchResultSection

type SearchResultSection struct {

	// Type of entities in this section.
	TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// List of entities in this section.
	Entity []*SearchEntityResult `protobuf:"bytes,2,rep,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for all entities returned from search which belong to a single type.

func (*SearchResultSection) Descriptor deprecated

func (*SearchResultSection) Descriptor() ([]byte, []int)

Deprecated: Use SearchResultSection.ProtoReflect.Descriptor instead.

func (*SearchResultSection) GetEntity

func (x *SearchResultSection) GetEntity() []*SearchEntityResult

func (*SearchResultSection) GetTypeName

func (x *SearchResultSection) GetTypeName() string

func (*SearchResultSection) ProtoMessage

func (*SearchResultSection) ProtoMessage()

func (*SearchResultSection) ProtoReflect

func (x *SearchResultSection) ProtoReflect() protoreflect.Message

func (*SearchResultSection) Reset

func (x *SearchResultSection) Reset()

func (*SearchResultSection) String

func (x *SearchResultSection) String() string

type Series added in v1.14.0

type Series struct {

	// Map from date to stat value.
	Val map[string]float64 `` /* 149-byte string literal not displayed */
	// Series metadata.
	Metadata *StatMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Represents a time series from a source.

func (*Series) Descriptor deprecated added in v1.14.0

func (*Series) Descriptor() ([]byte, []int)

Deprecated: Use Series.ProtoReflect.Descriptor instead.

func (*Series) GetMetadata added in v1.14.0

func (x *Series) GetMetadata() *StatMetadata

func (*Series) GetVal added in v1.14.0

func (x *Series) GetVal() map[string]float64

func (*Series) ProtoMessage added in v1.14.0

func (*Series) ProtoMessage()

func (*Series) ProtoReflect added in v1.14.0

func (x *Series) ProtoReflect() protoreflect.Message

func (*Series) Reset added in v1.14.0

func (x *Series) Reset()

func (*Series) String added in v1.14.0

func (x *Series) String() string

type SeriesMap added in v1.14.0

type SeriesMap struct {

	// A wrapper proto for a map of series.
	Data map[string]*Series `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SeriesMap) Descriptor deprecated added in v1.14.0

func (*SeriesMap) Descriptor() ([]byte, []int)

Deprecated: Use SeriesMap.ProtoReflect.Descriptor instead.

func (*SeriesMap) GetData added in v1.14.0

func (x *SeriesMap) GetData() map[string]*Series

func (*SeriesMap) ProtoMessage added in v1.14.0

func (*SeriesMap) ProtoMessage()

func (*SeriesMap) ProtoReflect added in v1.14.0

func (x *SeriesMap) ProtoReflect() protoreflect.Message

func (*SeriesMap) Reset added in v1.14.0

func (x *SeriesMap) Reset()

func (*SeriesMap) String added in v1.14.0

func (x *SeriesMap) String() string

type SourceSeries

type SourceSeries struct {
	Val               map[string]float64 `` /* 149-byte string literal not displayed */
	MeasurementMethod string             `protobuf:"bytes,2,opt,name=measurement_method,json=measurementMethod,proto3" json:"measurement_method,omitempty"`
	ObservationPeriod string             `protobuf:"bytes,3,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"`
	ImportName        string             `protobuf:"bytes,4,opt,name=import_name,json=importName,proto3" json:"import_name,omitempty"`
	ProvenanceDomain  string             `protobuf:"bytes,5,opt,name=provenance_domain,json=provenanceDomain,proto3" json:"provenance_domain,omitempty"`
	Unit              string             `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,omitempty"`
	ScalingFactor     string             `protobuf:"bytes,7,opt,name=scaling_factor,json=scalingFactor,proto3" json:"scaling_factor,omitempty"`
	IsDcAggregate     bool               `protobuf:"varint,8,opt,name=is_dc_aggregate,json=isDcAggregate,proto3" json:"is_dc_aggregate,omitempty"`
	ProvenanceUrl     string             `protobuf:"bytes,9,opt,name=provenance_url,json=provenanceUrl,proto3" json:"provenance_url,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceSeries) Descriptor deprecated

func (*SourceSeries) Descriptor() ([]byte, []int)

Deprecated: Use SourceSeries.ProtoReflect.Descriptor instead.

func (*SourceSeries) GetImportName

func (x *SourceSeries) GetImportName() string

func (*SourceSeries) GetIsDcAggregate

func (x *SourceSeries) GetIsDcAggregate() bool

func (*SourceSeries) GetMeasurementMethod

func (x *SourceSeries) GetMeasurementMethod() string

func (*SourceSeries) GetObservationPeriod

func (x *SourceSeries) GetObservationPeriod() string

func (*SourceSeries) GetProvenanceDomain

func (x *SourceSeries) GetProvenanceDomain() string

func (*SourceSeries) GetProvenanceUrl

func (x *SourceSeries) GetProvenanceUrl() string

func (*SourceSeries) GetScalingFactor

func (x *SourceSeries) GetScalingFactor() string

func (*SourceSeries) GetUnit

func (x *SourceSeries) GetUnit() string

func (*SourceSeries) GetVal

func (x *SourceSeries) GetVal() map[string]float64

func (*SourceSeries) ProtoMessage

func (*SourceSeries) ProtoMessage()

func (*SourceSeries) ProtoReflect

func (x *SourceSeries) ProtoReflect() protoreflect.Message

func (*SourceSeries) Reset

func (x *SourceSeries) Reset()

func (*SourceSeries) String

func (x *SourceSeries) String() string

type StatMetadata

type StatMetadata struct {
	ImportName        string `protobuf:"bytes,1,opt,name=import_name,json=importName,proto3" json:"import_name,omitempty"`
	ProvenanceUrl     string `protobuf:"bytes,2,opt,name=provenance_url,json=provenanceUrl,proto3" json:"provenance_url,omitempty"`
	MeasurementMethod string `protobuf:"bytes,3,opt,name=measurement_method,json=measurementMethod,proto3" json:"measurement_method,omitempty"`
	ObservationPeriod string `protobuf:"bytes,4,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"`
	ScalingFactor     string `protobuf:"bytes,5,opt,name=scaling_factor,json=scalingFactor,proto3" json:"scaling_factor,omitempty"`
	Unit              string `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

StatMetadata contains the source and measurement information for a statistical observation.

func (*StatMetadata) Descriptor deprecated

func (*StatMetadata) Descriptor() ([]byte, []int)

Deprecated: Use StatMetadata.ProtoReflect.Descriptor instead.

func (*StatMetadata) GetImportName

func (x *StatMetadata) GetImportName() string

func (*StatMetadata) GetMeasurementMethod

func (x *StatMetadata) GetMeasurementMethod() string

func (*StatMetadata) GetObservationPeriod

func (x *StatMetadata) GetObservationPeriod() string

func (*StatMetadata) GetProvenanceUrl

func (x *StatMetadata) GetProvenanceUrl() string

func (*StatMetadata) GetScalingFactor

func (x *StatMetadata) GetScalingFactor() string

func (*StatMetadata) GetUnit

func (x *StatMetadata) GetUnit() string

func (*StatMetadata) ProtoMessage

func (*StatMetadata) ProtoMessage()

func (*StatMetadata) ProtoReflect

func (x *StatMetadata) ProtoReflect() protoreflect.Message

func (*StatMetadata) Reset

func (x *StatMetadata) Reset()

func (*StatMetadata) String

func (x *StatMetadata) String() string

type StatVars

type StatVars struct {
	StatVars []string `protobuf:"bytes,1,rep,name=stat_vars,json=statVars,proto3" json:"stat_vars,omitempty"`
	// contains filtered or unexported fields
}

StatVars represent a list of statistical variable dcids.

func (*StatVars) Descriptor deprecated

func (*StatVars) Descriptor() ([]byte, []int)

Deprecated: Use StatVars.ProtoReflect.Descriptor instead.

func (*StatVars) GetStatVars

func (x *StatVars) GetStatVars() []string

func (*StatVars) ProtoMessage

func (*StatVars) ProtoMessage()

func (*StatVars) ProtoReflect

func (x *StatVars) ProtoReflect() protoreflect.Message

func (*StatVars) Reset

func (x *StatVars) Reset()

func (*StatVars) String

func (x *StatVars) String() string

type StatisticalVariable

type StatisticalVariable struct {
	PopType                string            `protobuf:"bytes,1,opt,name=pop_type,json=popType,proto3" json:"pop_type,omitempty"`
	Pvs                    map[string]string `` /* 147-byte string literal not displayed */
	MeasuredProp           string            `protobuf:"bytes,3,opt,name=measured_prop,json=measuredProp,proto3" json:"measured_prop,omitempty"`
	MeasurementMethod      string            `protobuf:"bytes,4,opt,name=measurement_method,json=measurementMethod,proto3" json:"measurement_method,omitempty"`
	MeasurementDenominator string            `` /* 127-byte string literal not displayed */
	MeasurementQualifier   string            `protobuf:"bytes,6,opt,name=measurement_qualifier,json=measurementQualifier,proto3" json:"measurement_qualifier,omitempty"`
	ScalingFactor          string            `protobuf:"bytes,7,opt,name=scaling_factor,json=scalingFactor,proto3" json:"scaling_factor,omitempty"`
	Unit                   string            `protobuf:"bytes,8,opt,name=unit,proto3" json:"unit,omitempty"`
	StatType               string            `protobuf:"bytes,9,opt,name=stat_type,json=statType,proto3" json:"stat_type,omitempty"`
	// contains filtered or unexported fields
}

A statistical variable contains key info of population and observation.

func (*StatisticalVariable) Descriptor deprecated

func (*StatisticalVariable) Descriptor() ([]byte, []int)

Deprecated: Use StatisticalVariable.ProtoReflect.Descriptor instead.

func (*StatisticalVariable) GetMeasuredProp

func (x *StatisticalVariable) GetMeasuredProp() string

func (*StatisticalVariable) GetMeasurementDenominator

func (x *StatisticalVariable) GetMeasurementDenominator() string

func (*StatisticalVariable) GetMeasurementMethod

func (x *StatisticalVariable) GetMeasurementMethod() string

func (*StatisticalVariable) GetMeasurementQualifier

func (x *StatisticalVariable) GetMeasurementQualifier() string

func (*StatisticalVariable) GetPopType

func (x *StatisticalVariable) GetPopType() string

func (*StatisticalVariable) GetPvs

func (x *StatisticalVariable) GetPvs() map[string]string

func (*StatisticalVariable) GetScalingFactor

func (x *StatisticalVariable) GetScalingFactor() string

func (*StatisticalVariable) GetStatType

func (x *StatisticalVariable) GetStatType() string

func (*StatisticalVariable) GetUnit

func (x *StatisticalVariable) GetUnit() string

func (*StatisticalVariable) ProtoMessage

func (*StatisticalVariable) ProtoMessage()

func (*StatisticalVariable) ProtoReflect

func (x *StatisticalVariable) ProtoReflect() protoreflect.Message

func (*StatisticalVariable) Reset

func (x *StatisticalVariable) Reset()

func (*StatisticalVariable) String

func (x *StatisticalVariable) String() string

type StatsVars

type StatsVars struct {
	StatsVars []string `protobuf:"bytes,1,rep,name=statsVars,proto3" json:"statsVars,omitempty"`
	// contains filtered or unexported fields
}

StatsVars represent a list of statistical variable dcids.

func (*StatsVars) Descriptor deprecated

func (*StatsVars) Descriptor() ([]byte, []int)

Deprecated: Use StatsVars.ProtoReflect.Descriptor instead.

func (*StatsVars) GetStatsVars

func (x *StatsVars) GetStatsVars() []string

func (*StatsVars) ProtoMessage

func (*StatsVars) ProtoMessage()

func (*StatsVars) ProtoReflect

func (x *StatsVars) ProtoReflect() protoreflect.Message

func (*StatsVars) Reset

func (x *StatsVars) Reset()

func (*StatsVars) String

func (x *StatsVars) String() string

type TranslateRequest

type TranslateRequest struct {

	// String representaion of schema mappings used to translate.
	SchemaMapping string `protobuf:"bytes,1,opt,name=schema_mapping,json=schemaMapping,proto3" json:"schema_mapping,omitempty"`
	// String representation of sparql query.
	Sparql string `protobuf:"bytes,2,opt,name=sparql,proto3" json:"sparql,omitempty"`
	// contains filtered or unexported fields
}

Request to translate a graph query.

func (*TranslateRequest) Descriptor deprecated

func (*TranslateRequest) Descriptor() ([]byte, []int)

Deprecated: Use TranslateRequest.ProtoReflect.Descriptor instead.

func (*TranslateRequest) GetSchemaMapping

func (x *TranslateRequest) GetSchemaMapping() string

func (*TranslateRequest) GetSparql

func (x *TranslateRequest) GetSparql() string

func (*TranslateRequest) ProtoMessage

func (*TranslateRequest) ProtoMessage()

func (*TranslateRequest) ProtoReflect

func (x *TranslateRequest) ProtoReflect() protoreflect.Message

func (*TranslateRequest) Reset

func (x *TranslateRequest) Reset()

func (*TranslateRequest) String

func (x *TranslateRequest) String() string

type TranslateResponse

type TranslateResponse struct {

	// The translated sql.
	Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"`
	// Serialized json string of the translation result
	Translation string `protobuf:"bytes,2,opt,name=translation,proto3" json:"translation,omitempty"`
	// contains filtered or unexported fields
}

Response of a translate request.

func (*TranslateResponse) Descriptor deprecated

func (*TranslateResponse) Descriptor() ([]byte, []int)

Deprecated: Use TranslateResponse.ProtoReflect.Descriptor instead.

func (*TranslateResponse) GetSql

func (x *TranslateResponse) GetSql() string

func (*TranslateResponse) GetTranslation

func (x *TranslateResponse) GetTranslation() string

func (*TranslateResponse) ProtoMessage

func (*TranslateResponse) ProtoMessage()

func (*TranslateResponse) ProtoReflect

func (x *TranslateResponse) ProtoReflect() protoreflect.Message

func (*TranslateResponse) Reset

func (x *TranslateResponse) Reset()

func (*TranslateResponse) String

func (x *TranslateResponse) String() string

type Triple

type Triple struct {
	SubjectId    string   `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	Predicate    string   `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	ObjectId     string   `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	ObjectName   string   `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // Only when object_id is set.
	ObjectValue  string   `protobuf:"bytes,5,opt,name=object_value,json=objectValue,proto3" json:"object_value,omitempty"`
	ProvenanceId string   `protobuf:"bytes,6,opt,name=provenance_id,json=provenanceId,proto3" json:"provenance_id,omitempty"`
	SubjectName  string   `protobuf:"bytes,7,opt,name=subject_name,json=subjectName,proto3" json:"subject_name,omitempty"`    // Only for in arcs.
	SubjectTypes []string `protobuf:"bytes,8,rep,name=subject_types,json=subjectTypes,proto3" json:"subject_types,omitempty"` // Only for in arcs.
	ObjectTypes  []string `protobuf:"bytes,10,rep,name=object_types,json=objectTypes,proto3" json:"object_types,omitempty"`   // Only when object_id is set.
	// contains filtered or unexported fields
}

Triple.

func (*Triple) Descriptor deprecated

func (*Triple) Descriptor() ([]byte, []int)

Deprecated: Use Triple.ProtoReflect.Descriptor instead.

func (*Triple) GetObjectId

func (x *Triple) GetObjectId() string

func (*Triple) GetObjectName

func (x *Triple) GetObjectName() string

func (*Triple) GetObjectTypes

func (x *Triple) GetObjectTypes() []string

func (*Triple) GetObjectValue

func (x *Triple) GetObjectValue() string

func (*Triple) GetPredicate

func (x *Triple) GetPredicate() string

func (*Triple) GetProvenanceId

func (x *Triple) GetProvenanceId() string

func (*Triple) GetSubjectId

func (x *Triple) GetSubjectId() string

func (*Triple) GetSubjectName

func (x *Triple) GetSubjectName() string

func (*Triple) GetSubjectTypes

func (x *Triple) GetSubjectTypes() []string

func (*Triple) ProtoMessage

func (*Triple) ProtoMessage()

func (*Triple) ProtoReflect

func (x *Triple) ProtoReflect() protoreflect.Message

func (*Triple) Reset

func (x *Triple) Reset()

func (*Triple) String

func (x *Triple) String() string

type Triples

type Triples struct {
	Triples    []*Triple `protobuf:"bytes,1,rep,name=triples,proto3" json:"triples,omitempty"`
	TotalCount int64     `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Before potential truncation.
	// contains filtered or unexported fields
}

A collection of triples.

func (*Triples) Descriptor deprecated

func (*Triples) Descriptor() ([]byte, []int)

Deprecated: Use Triples.ProtoReflect.Descriptor instead.

func (*Triples) GetTotalCount

func (x *Triples) GetTotalCount() int64

func (*Triples) GetTriples

func (x *Triples) GetTriples() []*Triple

func (*Triples) ProtoMessage

func (*Triples) ProtoMessage()

func (*Triples) ProtoReflect

func (x *Triples) ProtoReflect() protoreflect.Message

func (*Triples) Reset

func (x *Triples) Reset()

func (*Triples) String

func (x *Triples) String() string

type UnimplementedMixerServer

type UnimplementedMixerServer struct {
}

UnimplementedMixerServer should be embedded to have forward compatible implementations.

func (*UnimplementedMixerServer) GetLandingPageData

func (*UnimplementedMixerServer) GetObservations

func (*UnimplementedMixerServer) GetPlaceObs

func (*UnimplementedMixerServer) GetPlaceStatVars

func (*UnimplementedMixerServer) GetPlaceStatsVar

func (*UnimplementedMixerServer) GetPlacesIn

func (*UnimplementedMixerServer) GetPopObs

func (*UnimplementedMixerServer) GetPopulations

func (*UnimplementedMixerServer) GetPropertyLabels

func (*UnimplementedMixerServer) GetPropertyValues

func (*UnimplementedMixerServer) GetStatAll

func (*UnimplementedMixerServer) GetStatCollection

func (*UnimplementedMixerServer) GetStatSeries

func (*UnimplementedMixerServer) GetStatSet

func (*UnimplementedMixerServer) GetStatSetSeries added in v1.14.0

func (*UnimplementedMixerServer) GetStatValue

func (*UnimplementedMixerServer) GetStats

func (*UnimplementedMixerServer) GetTriples

func (*UnimplementedMixerServer) Query

func (*UnimplementedMixerServer) Search

func (*UnimplementedMixerServer) Translate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL