Documentation
¶
Index ¶
- func RegisterMixerServer(s *grpc.Server, srv MixerServer)
- type GetObservationsRequest
- func (*GetObservationsRequest) Descriptor() ([]byte, []int)
- func (m *GetObservationsRequest) GetDcids() []string
- func (m *GetObservationsRequest) GetMeasuredProperty() string
- func (m *GetObservationsRequest) GetMeasurementMethod() string
- func (m *GetObservationsRequest) GetObservationDate() string
- func (m *GetObservationsRequest) GetObservationPeriod() string
- func (m *GetObservationsRequest) GetStatsType() string
- func (*GetObservationsRequest) ProtoMessage()
- func (m *GetObservationsRequest) Reset()
- func (m *GetObservationsRequest) String() string
- func (m *GetObservationsRequest) XXX_DiscardUnknown()
- func (m *GetObservationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObservationsRequest) XXX_Merge(src proto.Message)
- func (m *GetObservationsRequest) XXX_Size() int
- func (m *GetObservationsRequest) XXX_Unmarshal(b []byte) error
- type GetObservationsResponse
- func (*GetObservationsResponse) Descriptor() ([]byte, []int)
- func (m *GetObservationsResponse) GetPayload() string
- func (*GetObservationsResponse) ProtoMessage()
- func (m *GetObservationsResponse) Reset()
- func (m *GetObservationsResponse) String() string
- func (m *GetObservationsResponse) XXX_DiscardUnknown()
- func (m *GetObservationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObservationsResponse) XXX_Merge(src proto.Message)
- func (m *GetObservationsResponse) XXX_Size() int
- func (m *GetObservationsResponse) XXX_Unmarshal(b []byte) error
- type GetPlaceKMLRequest
- func (*GetPlaceKMLRequest) Descriptor() ([]byte, []int)
- func (m *GetPlaceKMLRequest) GetDcid() string
- func (*GetPlaceKMLRequest) ProtoMessage()
- func (m *GetPlaceKMLRequest) Reset()
- func (m *GetPlaceKMLRequest) String() string
- func (m *GetPlaceKMLRequest) XXX_DiscardUnknown()
- func (m *GetPlaceKMLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlaceKMLRequest) XXX_Merge(src proto.Message)
- func (m *GetPlaceKMLRequest) XXX_Size() int
- func (m *GetPlaceKMLRequest) XXX_Unmarshal(b []byte) error
- type GetPlaceKMLResponse
- func (*GetPlaceKMLResponse) Descriptor() ([]byte, []int)
- func (m *GetPlaceKMLResponse) GetPayload() string
- func (*GetPlaceKMLResponse) ProtoMessage()
- func (m *GetPlaceKMLResponse) Reset()
- func (m *GetPlaceKMLResponse) String() string
- func (m *GetPlaceKMLResponse) XXX_DiscardUnknown()
- func (m *GetPlaceKMLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlaceKMLResponse) XXX_Merge(src proto.Message)
- func (m *GetPlaceKMLResponse) XXX_Size() int
- func (m *GetPlaceKMLResponse) XXX_Unmarshal(b []byte) error
- type GetPlaceObsRequest
- func (*GetPlaceObsRequest) Descriptor() ([]byte, []int)
- func (m *GetPlaceObsRequest) GetPlaceType() string
- func (m *GetPlaceObsRequest) GetPopulationType() string
- func (m *GetPlaceObsRequest) GetPvs() []*PropertyValue
- func (*GetPlaceObsRequest) ProtoMessage()
- func (m *GetPlaceObsRequest) Reset()
- func (m *GetPlaceObsRequest) String() string
- func (m *GetPlaceObsRequest) XXX_DiscardUnknown()
- func (m *GetPlaceObsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlaceObsRequest) XXX_Merge(src proto.Message)
- func (m *GetPlaceObsRequest) XXX_Size() int
- func (m *GetPlaceObsRequest) XXX_Unmarshal(b []byte) error
- type GetPlaceObsResponse
- func (*GetPlaceObsResponse) Descriptor() ([]byte, []int)
- func (m *GetPlaceObsResponse) GetPayload() string
- func (*GetPlaceObsResponse) ProtoMessage()
- func (m *GetPlaceObsResponse) Reset()
- func (m *GetPlaceObsResponse) String() string
- func (m *GetPlaceObsResponse) XXX_DiscardUnknown()
- func (m *GetPlaceObsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlaceObsResponse) XXX_Merge(src proto.Message)
- func (m *GetPlaceObsResponse) XXX_Size() int
- func (m *GetPlaceObsResponse) XXX_Unmarshal(b []byte) error
- type GetPlacesInRequest
- func (*GetPlacesInRequest) Descriptor() ([]byte, []int)
- func (m *GetPlacesInRequest) GetDcids() []string
- func (m *GetPlacesInRequest) GetPlaceType() string
- func (*GetPlacesInRequest) ProtoMessage()
- func (m *GetPlacesInRequest) Reset()
- func (m *GetPlacesInRequest) String() string
- func (m *GetPlacesInRequest) XXX_DiscardUnknown()
- func (m *GetPlacesInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlacesInRequest) XXX_Merge(src proto.Message)
- func (m *GetPlacesInRequest) XXX_Size() int
- func (m *GetPlacesInRequest) XXX_Unmarshal(b []byte) error
- type GetPlacesInResponse
- func (*GetPlacesInResponse) Descriptor() ([]byte, []int)
- func (m *GetPlacesInResponse) GetPayload() string
- func (*GetPlacesInResponse) ProtoMessage()
- func (m *GetPlacesInResponse) Reset()
- func (m *GetPlacesInResponse) String() string
- func (m *GetPlacesInResponse) XXX_DiscardUnknown()
- func (m *GetPlacesInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlacesInResponse) XXX_Merge(src proto.Message)
- func (m *GetPlacesInResponse) XXX_Size() int
- func (m *GetPlacesInResponse) XXX_Unmarshal(b []byte) error
- type GetPopObsRequest
- func (*GetPopObsRequest) Descriptor() ([]byte, []int)
- func (m *GetPopObsRequest) GetDcid() string
- func (*GetPopObsRequest) ProtoMessage()
- func (m *GetPopObsRequest) Reset()
- func (m *GetPopObsRequest) String() string
- func (m *GetPopObsRequest) XXX_DiscardUnknown()
- func (m *GetPopObsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPopObsRequest) XXX_Merge(src proto.Message)
- func (m *GetPopObsRequest) XXX_Size() int
- func (m *GetPopObsRequest) XXX_Unmarshal(b []byte) error
- type GetPopObsResponse
- func (*GetPopObsResponse) Descriptor() ([]byte, []int)
- func (m *GetPopObsResponse) GetPayload() string
- func (*GetPopObsResponse) ProtoMessage()
- func (m *GetPopObsResponse) Reset()
- func (m *GetPopObsResponse) String() string
- func (m *GetPopObsResponse) XXX_DiscardUnknown()
- func (m *GetPopObsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPopObsResponse) XXX_Merge(src proto.Message)
- func (m *GetPopObsResponse) XXX_Size() int
- func (m *GetPopObsResponse) XXX_Unmarshal(b []byte) error
- type GetPopulationsRequest
- func (*GetPopulationsRequest) Descriptor() ([]byte, []int)
- func (m *GetPopulationsRequest) GetDcids() []string
- func (m *GetPopulationsRequest) GetPopulationType() string
- func (m *GetPopulationsRequest) GetPvs() []*PropertyValue
- func (*GetPopulationsRequest) ProtoMessage()
- func (m *GetPopulationsRequest) Reset()
- func (m *GetPopulationsRequest) String() string
- func (m *GetPopulationsRequest) XXX_DiscardUnknown()
- func (m *GetPopulationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPopulationsRequest) XXX_Merge(src proto.Message)
- func (m *GetPopulationsRequest) XXX_Size() int
- func (m *GetPopulationsRequest) XXX_Unmarshal(b []byte) error
- type GetPopulationsResponse
- func (*GetPopulationsResponse) Descriptor() ([]byte, []int)
- func (m *GetPopulationsResponse) GetPayload() string
- func (*GetPopulationsResponse) ProtoMessage()
- func (m *GetPopulationsResponse) Reset()
- func (m *GetPopulationsResponse) String() string
- func (m *GetPopulationsResponse) XXX_DiscardUnknown()
- func (m *GetPopulationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPopulationsResponse) XXX_Merge(src proto.Message)
- func (m *GetPopulationsResponse) XXX_Size() int
- func (m *GetPopulationsResponse) XXX_Unmarshal(b []byte) error
- type GetPropertyLabelsRequest
- func (*GetPropertyLabelsRequest) Descriptor() ([]byte, []int)
- func (m *GetPropertyLabelsRequest) GetDcids() []string
- func (*GetPropertyLabelsRequest) ProtoMessage()
- func (m *GetPropertyLabelsRequest) Reset()
- func (m *GetPropertyLabelsRequest) String() string
- func (m *GetPropertyLabelsRequest) XXX_DiscardUnknown()
- func (m *GetPropertyLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPropertyLabelsRequest) XXX_Merge(src proto.Message)
- func (m *GetPropertyLabelsRequest) XXX_Size() int
- func (m *GetPropertyLabelsRequest) XXX_Unmarshal(b []byte) error
- type GetPropertyLabelsResponse
- func (*GetPropertyLabelsResponse) Descriptor() ([]byte, []int)
- func (m *GetPropertyLabelsResponse) GetPayload() string
- func (*GetPropertyLabelsResponse) ProtoMessage()
- func (m *GetPropertyLabelsResponse) Reset()
- func (m *GetPropertyLabelsResponse) String() string
- func (m *GetPropertyLabelsResponse) XXX_DiscardUnknown()
- func (m *GetPropertyLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPropertyLabelsResponse) XXX_Merge(src proto.Message)
- func (m *GetPropertyLabelsResponse) XXX_Size() int
- func (m *GetPropertyLabelsResponse) XXX_Unmarshal(b []byte) error
- type GetPropertyValuesRequest
- func (*GetPropertyValuesRequest) Descriptor() ([]byte, []int)
- func (m *GetPropertyValuesRequest) GetDcids() []string
- func (m *GetPropertyValuesRequest) GetLimit() int32
- func (m *GetPropertyValuesRequest) GetProperty() string
- func (m *GetPropertyValuesRequest) GetValueType() string
- func (*GetPropertyValuesRequest) ProtoMessage()
- func (m *GetPropertyValuesRequest) Reset()
- func (m *GetPropertyValuesRequest) String() string
- func (m *GetPropertyValuesRequest) XXX_DiscardUnknown()
- func (m *GetPropertyValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPropertyValuesRequest) XXX_Merge(src proto.Message)
- func (m *GetPropertyValuesRequest) XXX_Size() int
- func (m *GetPropertyValuesRequest) XXX_Unmarshal(b []byte) error
- type GetPropertyValuesResponse
- func (*GetPropertyValuesResponse) Descriptor() ([]byte, []int)
- func (m *GetPropertyValuesResponse) GetPayload() string
- func (*GetPropertyValuesResponse) ProtoMessage()
- func (m *GetPropertyValuesResponse) Reset()
- func (m *GetPropertyValuesResponse) String() string
- func (m *GetPropertyValuesResponse) XXX_DiscardUnknown()
- func (m *GetPropertyValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPropertyValuesResponse) XXX_Merge(src proto.Message)
- func (m *GetPropertyValuesResponse) XXX_Size() int
- func (m *GetPropertyValuesResponse) XXX_Unmarshal(b []byte) error
- type GetTriplesRequest
- func (*GetTriplesRequest) Descriptor() ([]byte, []int)
- func (m *GetTriplesRequest) GetDcids() []string
- func (m *GetTriplesRequest) GetLimit() int32
- func (*GetTriplesRequest) ProtoMessage()
- func (m *GetTriplesRequest) Reset()
- func (m *GetTriplesRequest) String() string
- func (m *GetTriplesRequest) XXX_DiscardUnknown()
- func (m *GetTriplesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTriplesRequest) XXX_Merge(src proto.Message)
- func (m *GetTriplesRequest) XXX_Size() int
- func (m *GetTriplesRequest) XXX_Unmarshal(b []byte) error
- type GetTriplesResponse
- func (*GetTriplesResponse) Descriptor() ([]byte, []int)
- func (m *GetTriplesResponse) GetPayload() string
- func (*GetTriplesResponse) ProtoMessage()
- func (m *GetTriplesResponse) Reset()
- func (m *GetTriplesResponse) String() string
- func (m *GetTriplesResponse) XXX_DiscardUnknown()
- func (m *GetTriplesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTriplesResponse) XXX_Merge(src proto.Message)
- func (m *GetTriplesResponse) XXX_Size() int
- func (m *GetTriplesResponse) XXX_Unmarshal(b []byte) error
- type MixerClient
- type MixerServer
- type PropertyValue
- func (*PropertyValue) Descriptor() ([]byte, []int)
- func (m *PropertyValue) GetProperty() string
- func (m *PropertyValue) GetValue() string
- func (*PropertyValue) ProtoMessage()
- func (m *PropertyValue) Reset()
- func (m *PropertyValue) String() string
- func (m *PropertyValue) XXX_DiscardUnknown()
- func (m *PropertyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PropertyValue) XXX_Merge(src proto.Message)
- func (m *PropertyValue) XXX_Size() int
- func (m *PropertyValue) XXX_Unmarshal(b []byte) error
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)
- func (m *QueryRequest) GetSparql() string
- func (*QueryRequest) ProtoMessage()
- func (m *QueryRequest) Reset()
- func (m *QueryRequest) String() string
- func (m *QueryRequest) XXX_DiscardUnknown()
- func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRequest) XXX_Merge(src proto.Message)
- func (m *QueryRequest) XXX_Size() int
- func (m *QueryRequest) XXX_Unmarshal(b []byte) error
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)
- func (m *QueryResponse) GetHeader() []string
- func (m *QueryResponse) GetRows() []*QueryResponseRow
- func (*QueryResponse) ProtoMessage()
- func (m *QueryResponse) Reset()
- func (m *QueryResponse) String() string
- func (m *QueryResponse) XXX_DiscardUnknown()
- func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResponse) XXX_Merge(src proto.Message)
- func (m *QueryResponse) XXX_Size() int
- func (m *QueryResponse) XXX_Unmarshal(b []byte) error
- type QueryResponseCell
- func (*QueryResponseCell) Descriptor() ([]byte, []int)
- func (m *QueryResponseCell) GetProvenanceId() string
- func (m *QueryResponseCell) GetValue() string
- func (*QueryResponseCell) ProtoMessage()
- func (m *QueryResponseCell) Reset()
- func (m *QueryResponseCell) String() string
- func (m *QueryResponseCell) XXX_DiscardUnknown()
- func (m *QueryResponseCell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResponseCell) XXX_Merge(src proto.Message)
- func (m *QueryResponseCell) XXX_Size() int
- func (m *QueryResponseCell) XXX_Unmarshal(b []byte) error
- type QueryResponseRow
- func (*QueryResponseRow) Descriptor() ([]byte, []int)
- func (m *QueryResponseRow) GetCells() []*QueryResponseCell
- func (*QueryResponseRow) ProtoMessage()
- func (m *QueryResponseRow) Reset()
- func (m *QueryResponseRow) String() string
- func (m *QueryResponseRow) XXX_DiscardUnknown()
- func (m *QueryResponseRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResponseRow) XXX_Merge(src proto.Message)
- func (m *QueryResponseRow) XXX_Size() int
- func (m *QueryResponseRow) XXX_Unmarshal(b []byte) error
- type TranslateRequest
- func (*TranslateRequest) Descriptor() ([]byte, []int)
- func (m *TranslateRequest) GetDatalog() string
- func (m *TranslateRequest) GetSchemaMapping() string
- func (*TranslateRequest) ProtoMessage()
- func (m *TranslateRequest) Reset()
- func (m *TranslateRequest) String() string
- func (m *TranslateRequest) XXX_DiscardUnknown()
- func (m *TranslateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TranslateRequest) XXX_Merge(src proto.Message)
- func (m *TranslateRequest) XXX_Size() int
- func (m *TranslateRequest) XXX_Unmarshal(b []byte) error
- type TranslateResponse
- func (*TranslateResponse) Descriptor() ([]byte, []int)
- func (m *TranslateResponse) GetSql() string
- func (m *TranslateResponse) GetTranslation() string
- func (*TranslateResponse) ProtoMessage()
- func (m *TranslateResponse) Reset()
- func (m *TranslateResponse) String() string
- func (m *TranslateResponse) XXX_DiscardUnknown()
- func (m *TranslateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TranslateResponse) XXX_Merge(src proto.Message)
- func (m *TranslateResponse) XXX_Size() int
- func (m *TranslateResponse) XXX_Unmarshal(b []byte) error
- type Triple
- func (*Triple) Descriptor() ([]byte, []int)
- func (m *Triple) GetObjectId() string
- func (m *Triple) GetObjectName() string
- func (m *Triple) GetObjectTypes() []string
- func (m *Triple) GetObjectValue() string
- func (m *Triple) GetPredicate() string
- func (m *Triple) GetProvenanceId() string
- func (m *Triple) GetSubjectId() string
- func (m *Triple) GetSubjectName() string
- func (m *Triple) GetSubjectTypes() []string
- func (*Triple) ProtoMessage()
- func (m *Triple) Reset()
- func (m *Triple) String() string
- func (m *Triple) XXX_DiscardUnknown()
- func (m *Triple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Triple) XXX_Merge(src proto.Message)
- func (m *Triple) XXX_Size() int
- func (m *Triple) XXX_Unmarshal(b []byte) error
- type UnimplementedMixerServer
- func (*UnimplementedMixerServer) GetObservations(ctx context.Context, req *GetObservationsRequest) (*GetObservationsResponse, error)
- func (*UnimplementedMixerServer) GetPlaceKML(ctx context.Context, req *GetPlaceKMLRequest) (*GetPlaceKMLResponse, error)
- func (*UnimplementedMixerServer) GetPlaceObs(ctx context.Context, req *GetPlaceObsRequest) (*GetPlaceObsResponse, error)
- func (*UnimplementedMixerServer) GetPlacesIn(ctx context.Context, req *GetPlacesInRequest) (*GetPlacesInResponse, error)
- func (*UnimplementedMixerServer) GetPlacesInPost(ctx context.Context, req *GetPlacesInRequest) (*GetPlacesInResponse, error)
- func (*UnimplementedMixerServer) GetPopObs(ctx context.Context, req *GetPopObsRequest) (*GetPopObsResponse, error)
- func (*UnimplementedMixerServer) GetPopulations(ctx context.Context, req *GetPopulationsRequest) (*GetPopulationsResponse, error)
- func (*UnimplementedMixerServer) GetPropertyLabels(ctx context.Context, req *GetPropertyLabelsRequest) (*GetPropertyLabelsResponse, error)
- func (*UnimplementedMixerServer) GetPropertyLabelsPost(ctx context.Context, req *GetPropertyLabelsRequest) (*GetPropertyLabelsResponse, error)
- func (*UnimplementedMixerServer) GetPropertyValues(ctx context.Context, req *GetPropertyValuesRequest) (*GetPropertyValuesResponse, error)
- func (*UnimplementedMixerServer) GetPropertyValuesPost(ctx context.Context, req *GetPropertyValuesRequest) (*GetPropertyValuesResponse, error)
- func (*UnimplementedMixerServer) GetTriples(ctx context.Context, req *GetTriplesRequest) (*GetTriplesResponse, error)
- func (*UnimplementedMixerServer) GetTriplesPost(ctx context.Context, req *GetTriplesRequest) (*GetTriplesResponse, error)
- func (*UnimplementedMixerServer) Query(ctx context.Context, req *QueryRequest) (*QueryResponse, error)
- func (*UnimplementedMixerServer) QueryPost(ctx context.Context, req *QueryRequest) (*QueryResponse, error)
- func (*UnimplementedMixerServer) Translate(ctx context.Context, req *TranslateRequest) (*TranslateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMixerServer ¶
func RegisterMixerServer(s *grpc.Server, srv MixerServer)
Types ¶
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...
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Request to get observation given a list of population and observation properties.
func (*GetObservationsRequest) Descriptor ¶
func (*GetObservationsRequest) Descriptor() ([]byte, []int)
func (*GetObservationsRequest) GetDcids ¶
func (m *GetObservationsRequest) GetDcids() []string
func (*GetObservationsRequest) GetMeasuredProperty ¶
func (m *GetObservationsRequest) GetMeasuredProperty() string
func (*GetObservationsRequest) GetMeasurementMethod ¶
func (m *GetObservationsRequest) GetMeasurementMethod() string
func (*GetObservationsRequest) GetObservationDate ¶
func (m *GetObservationsRequest) GetObservationDate() string
func (*GetObservationsRequest) GetObservationPeriod ¶
func (m *GetObservationsRequest) GetObservationPeriod() string
func (*GetObservationsRequest) GetStatsType ¶
func (m *GetObservationsRequest) GetStatsType() string
func (*GetObservationsRequest) ProtoMessage ¶
func (*GetObservationsRequest) ProtoMessage()
func (*GetObservationsRequest) Reset ¶
func (m *GetObservationsRequest) Reset()
func (*GetObservationsRequest) String ¶
func (m *GetObservationsRequest) String() string
func (*GetObservationsRequest) XXX_DiscardUnknown ¶
func (m *GetObservationsRequest) XXX_DiscardUnknown()
func (*GetObservationsRequest) XXX_Marshal ¶
func (m *GetObservationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObservationsRequest) XXX_Merge ¶
func (m *GetObservationsRequest) XXX_Merge(src proto.Message)
func (*GetObservationsRequest) XXX_Size ¶
func (m *GetObservationsRequest) XXX_Size() int
func (*GetObservationsRequest) XXX_Unmarshal ¶
func (m *GetObservationsRequest) XXX_Unmarshal(b []byte) error
type GetObservationsResponse ¶
type GetObservationsResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response of GetObservation request.
func (*GetObservationsResponse) Descriptor ¶
func (*GetObservationsResponse) Descriptor() ([]byte, []int)
func (*GetObservationsResponse) GetPayload ¶
func (m *GetObservationsResponse) GetPayload() string
func (*GetObservationsResponse) ProtoMessage ¶
func (*GetObservationsResponse) ProtoMessage()
func (*GetObservationsResponse) Reset ¶
func (m *GetObservationsResponse) Reset()
func (*GetObservationsResponse) String ¶
func (m *GetObservationsResponse) String() string
func (*GetObservationsResponse) XXX_DiscardUnknown ¶
func (m *GetObservationsResponse) XXX_DiscardUnknown()
func (*GetObservationsResponse) XXX_Marshal ¶
func (m *GetObservationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObservationsResponse) XXX_Merge ¶
func (m *GetObservationsResponse) XXX_Merge(src proto.Message)
func (*GetObservationsResponse) XXX_Size ¶
func (m *GetObservationsResponse) XXX_Size() int
func (*GetObservationsResponse) XXX_Unmarshal ¶
func (m *GetObservationsResponse) XXX_Unmarshal(b []byte) error
type GetPlaceKMLRequest ¶
type GetPlaceKMLRequest struct {
// DCID of a place.
Dcid string `protobuf:"bytes,1,opt,name=dcid,proto3" json:"dcid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Get the KML file for a place.
func (*GetPlaceKMLRequest) Descriptor ¶
func (*GetPlaceKMLRequest) Descriptor() ([]byte, []int)
func (*GetPlaceKMLRequest) GetDcid ¶
func (m *GetPlaceKMLRequest) GetDcid() string
func (*GetPlaceKMLRequest) ProtoMessage ¶
func (*GetPlaceKMLRequest) ProtoMessage()
func (*GetPlaceKMLRequest) Reset ¶
func (m *GetPlaceKMLRequest) Reset()
func (*GetPlaceKMLRequest) String ¶
func (m *GetPlaceKMLRequest) String() string
func (*GetPlaceKMLRequest) XXX_DiscardUnknown ¶
func (m *GetPlaceKMLRequest) XXX_DiscardUnknown()
func (*GetPlaceKMLRequest) XXX_Marshal ¶
func (m *GetPlaceKMLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlaceKMLRequest) XXX_Merge ¶
func (m *GetPlaceKMLRequest) XXX_Merge(src proto.Message)
func (*GetPlaceKMLRequest) XXX_Size ¶
func (m *GetPlaceKMLRequest) XXX_Size() int
func (*GetPlaceKMLRequest) XXX_Unmarshal ¶
func (m *GetPlaceKMLRequest) XXX_Unmarshal(b []byte) error
type GetPlaceKMLResponse ¶
type GetPlaceKMLResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response of GetPlaceKML.
func (*GetPlaceKMLResponse) Descriptor ¶
func (*GetPlaceKMLResponse) Descriptor() ([]byte, []int)
func (*GetPlaceKMLResponse) GetPayload ¶
func (m *GetPlaceKMLResponse) GetPayload() string
func (*GetPlaceKMLResponse) ProtoMessage ¶
func (*GetPlaceKMLResponse) ProtoMessage()
func (*GetPlaceKMLResponse) Reset ¶
func (m *GetPlaceKMLResponse) Reset()
func (*GetPlaceKMLResponse) String ¶
func (m *GetPlaceKMLResponse) String() string
func (*GetPlaceKMLResponse) XXX_DiscardUnknown ¶
func (m *GetPlaceKMLResponse) XXX_DiscardUnknown()
func (*GetPlaceKMLResponse) XXX_Marshal ¶
func (m *GetPlaceKMLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlaceKMLResponse) XXX_Merge ¶
func (m *GetPlaceKMLResponse) XXX_Merge(src proto.Message)
func (*GetPlaceKMLResponse) XXX_Size ¶
func (m *GetPlaceKMLResponse) XXX_Size() int
func (*GetPlaceKMLResponse) XXX_Unmarshal ¶
func (m *GetPlaceKMLResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Requests to get observation for all place.
func (*GetPlaceObsRequest) Descriptor ¶
func (*GetPlaceObsRequest) Descriptor() ([]byte, []int)
func (*GetPlaceObsRequest) GetPlaceType ¶
func (m *GetPlaceObsRequest) GetPlaceType() string
func (*GetPlaceObsRequest) GetPopulationType ¶
func (m *GetPlaceObsRequest) GetPopulationType() string
func (*GetPlaceObsRequest) GetPvs ¶
func (m *GetPlaceObsRequest) GetPvs() []*PropertyValue
func (*GetPlaceObsRequest) ProtoMessage ¶
func (*GetPlaceObsRequest) ProtoMessage()
func (*GetPlaceObsRequest) Reset ¶
func (m *GetPlaceObsRequest) Reset()
func (*GetPlaceObsRequest) String ¶
func (m *GetPlaceObsRequest) String() string
func (*GetPlaceObsRequest) XXX_DiscardUnknown ¶
func (m *GetPlaceObsRequest) XXX_DiscardUnknown()
func (*GetPlaceObsRequest) XXX_Marshal ¶
func (m *GetPlaceObsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlaceObsRequest) XXX_Merge ¶
func (m *GetPlaceObsRequest) XXX_Merge(src proto.Message)
func (*GetPlaceObsRequest) XXX_Size ¶
func (m *GetPlaceObsRequest) XXX_Size() int
func (*GetPlaceObsRequest) XXX_Unmarshal ¶
func (m *GetPlaceObsRequest) XXX_Unmarshal(b []byte) error
type GetPlaceObsResponse ¶
type GetPlaceObsResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response of GetPlaceObs.
func (*GetPlaceObsResponse) Descriptor ¶
func (*GetPlaceObsResponse) Descriptor() ([]byte, []int)
func (*GetPlaceObsResponse) GetPayload ¶
func (m *GetPlaceObsResponse) GetPayload() string
func (*GetPlaceObsResponse) ProtoMessage ¶
func (*GetPlaceObsResponse) ProtoMessage()
func (*GetPlaceObsResponse) Reset ¶
func (m *GetPlaceObsResponse) Reset()
func (*GetPlaceObsResponse) String ¶
func (m *GetPlaceObsResponse) String() string
func (*GetPlaceObsResponse) XXX_DiscardUnknown ¶
func (m *GetPlaceObsResponse) XXX_DiscardUnknown()
func (*GetPlaceObsResponse) XXX_Marshal ¶
func (m *GetPlaceObsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlaceObsResponse) XXX_Merge ¶
func (m *GetPlaceObsResponse) XXX_Merge(src proto.Message)
func (*GetPlaceObsResponse) XXX_Size ¶
func (m *GetPlaceObsResponse) XXX_Size() int
func (*GetPlaceObsResponse) XXX_Unmarshal ¶
func (m *GetPlaceObsResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Request to get places that are contained in parent places.
func (*GetPlacesInRequest) Descriptor ¶
func (*GetPlacesInRequest) Descriptor() ([]byte, []int)
func (*GetPlacesInRequest) GetDcids ¶
func (m *GetPlacesInRequest) GetDcids() []string
func (*GetPlacesInRequest) GetPlaceType ¶
func (m *GetPlacesInRequest) GetPlaceType() string
func (*GetPlacesInRequest) ProtoMessage ¶
func (*GetPlacesInRequest) ProtoMessage()
func (*GetPlacesInRequest) Reset ¶
func (m *GetPlacesInRequest) Reset()
func (*GetPlacesInRequest) String ¶
func (m *GetPlacesInRequest) String() string
func (*GetPlacesInRequest) XXX_DiscardUnknown ¶
func (m *GetPlacesInRequest) XXX_DiscardUnknown()
func (*GetPlacesInRequest) XXX_Marshal ¶
func (m *GetPlacesInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlacesInRequest) XXX_Merge ¶
func (m *GetPlacesInRequest) XXX_Merge(src proto.Message)
func (*GetPlacesInRequest) XXX_Size ¶
func (m *GetPlacesInRequest) XXX_Size() int
func (*GetPlacesInRequest) XXX_Unmarshal ¶
func (m *GetPlacesInRequest) XXX_Unmarshal(b []byte) error
type GetPlacesInResponse ¶
type GetPlacesInResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response of GetPlacesIn.
func (*GetPlacesInResponse) Descriptor ¶
func (*GetPlacesInResponse) Descriptor() ([]byte, []int)
func (*GetPlacesInResponse) GetPayload ¶
func (m *GetPlacesInResponse) GetPayload() string
func (*GetPlacesInResponse) ProtoMessage ¶
func (*GetPlacesInResponse) ProtoMessage()
func (*GetPlacesInResponse) Reset ¶
func (m *GetPlacesInResponse) Reset()
func (*GetPlacesInResponse) String ¶
func (m *GetPlacesInResponse) String() string
func (*GetPlacesInResponse) XXX_DiscardUnknown ¶
func (m *GetPlacesInResponse) XXX_DiscardUnknown()
func (*GetPlacesInResponse) XXX_Marshal ¶
func (m *GetPlacesInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlacesInResponse) XXX_Merge ¶
func (m *GetPlacesInResponse) XXX_Merge(src proto.Message)
func (*GetPlacesInResponse) XXX_Size ¶
func (m *GetPlacesInResponse) XXX_Size() int
func (*GetPlacesInResponse) XXX_Unmarshal ¶
func (m *GetPlacesInResponse) XXX_Unmarshal(b []byte) error
type GetPopObsRequest ¶
type GetPopObsRequest struct {
// DCID of a place.
Dcid string `protobuf:"bytes,1,opt,name=dcid,proto3" json:"dcid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Request to get all population/observation information for a place.
func (*GetPopObsRequest) Descriptor ¶
func (*GetPopObsRequest) Descriptor() ([]byte, []int)
func (*GetPopObsRequest) GetDcid ¶
func (m *GetPopObsRequest) GetDcid() string
func (*GetPopObsRequest) ProtoMessage ¶
func (*GetPopObsRequest) ProtoMessage()
func (*GetPopObsRequest) Reset ¶
func (m *GetPopObsRequest) Reset()
func (*GetPopObsRequest) String ¶
func (m *GetPopObsRequest) String() string
func (*GetPopObsRequest) XXX_DiscardUnknown ¶
func (m *GetPopObsRequest) XXX_DiscardUnknown()
func (*GetPopObsRequest) XXX_Marshal ¶
func (m *GetPopObsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPopObsRequest) XXX_Merge ¶
func (m *GetPopObsRequest) XXX_Merge(src proto.Message)
func (*GetPopObsRequest) XXX_Size ¶
func (m *GetPopObsRequest) XXX_Size() int
func (*GetPopObsRequest) XXX_Unmarshal ¶
func (m *GetPopObsRequest) XXX_Unmarshal(b []byte) error
type GetPopObsResponse ¶
type GetPopObsResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response of GetPopObs.
func (*GetPopObsResponse) Descriptor ¶
func (*GetPopObsResponse) Descriptor() ([]byte, []int)
func (*GetPopObsResponse) GetPayload ¶
func (m *GetPopObsResponse) GetPayload() string
func (*GetPopObsResponse) ProtoMessage ¶
func (*GetPopObsResponse) ProtoMessage()
func (*GetPopObsResponse) Reset ¶
func (m *GetPopObsResponse) Reset()
func (*GetPopObsResponse) String ¶
func (m *GetPopObsResponse) String() string
func (*GetPopObsResponse) XXX_DiscardUnknown ¶
func (m *GetPopObsResponse) XXX_DiscardUnknown()
func (*GetPopObsResponse) XXX_Marshal ¶
func (m *GetPopObsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPopObsResponse) XXX_Merge ¶
func (m *GetPopObsResponse) XXX_Merge(src proto.Message)
func (*GetPopObsResponse) XXX_Size ¶
func (m *GetPopObsResponse) XXX_Size() int
func (*GetPopObsResponse) XXX_Unmarshal ¶
func (m *GetPopObsResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Request to get certain population for a set of places.
func (*GetPopulationsRequest) Descriptor ¶
func (*GetPopulationsRequest) Descriptor() ([]byte, []int)
func (*GetPopulationsRequest) GetDcids ¶
func (m *GetPopulationsRequest) GetDcids() []string
func (*GetPopulationsRequest) GetPopulationType ¶
func (m *GetPopulationsRequest) GetPopulationType() string
func (*GetPopulationsRequest) GetPvs ¶
func (m *GetPopulationsRequest) GetPvs() []*PropertyValue
func (*GetPopulationsRequest) ProtoMessage ¶
func (*GetPopulationsRequest) ProtoMessage()
func (*GetPopulationsRequest) Reset ¶
func (m *GetPopulationsRequest) Reset()
func (*GetPopulationsRequest) String ¶
func (m *GetPopulationsRequest) String() string
func (*GetPopulationsRequest) XXX_DiscardUnknown ¶
func (m *GetPopulationsRequest) XXX_DiscardUnknown()
func (*GetPopulationsRequest) XXX_Marshal ¶
func (m *GetPopulationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPopulationsRequest) XXX_Merge ¶
func (m *GetPopulationsRequest) XXX_Merge(src proto.Message)
func (*GetPopulationsRequest) XXX_Size ¶
func (m *GetPopulationsRequest) XXX_Size() int
func (*GetPopulationsRequest) XXX_Unmarshal ¶
func (m *GetPopulationsRequest) XXX_Unmarshal(b []byte) error
type GetPopulationsResponse ¶
type GetPopulationsResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response of GetPopulation.
func (*GetPopulationsResponse) Descriptor ¶
func (*GetPopulationsResponse) Descriptor() ([]byte, []int)
func (*GetPopulationsResponse) GetPayload ¶
func (m *GetPopulationsResponse) GetPayload() string
func (*GetPopulationsResponse) ProtoMessage ¶
func (*GetPopulationsResponse) ProtoMessage()
func (*GetPopulationsResponse) Reset ¶
func (m *GetPopulationsResponse) Reset()
func (*GetPopulationsResponse) String ¶
func (m *GetPopulationsResponse) String() string
func (*GetPopulationsResponse) XXX_DiscardUnknown ¶
func (m *GetPopulationsResponse) XXX_DiscardUnknown()
func (*GetPopulationsResponse) XXX_Marshal ¶
func (m *GetPopulationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPopulationsResponse) XXX_Merge ¶
func (m *GetPopulationsResponse) XXX_Merge(src proto.Message)
func (*GetPopulationsResponse) XXX_Size ¶
func (m *GetPopulationsResponse) XXX_Size() int
func (*GetPopulationsResponse) XXX_Unmarshal ¶
func (m *GetPopulationsResponse) XXX_Unmarshal(b []byte) error
type GetPropertyLabelsRequest ¶
type GetPropertyLabelsRequest struct {
// The dcids of nodes.
Dcids []string `protobuf:"bytes,1,rep,name=dcids,proto3" json:"dcids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Request to get property labels.
func (*GetPropertyLabelsRequest) Descriptor ¶
func (*GetPropertyLabelsRequest) Descriptor() ([]byte, []int)
func (*GetPropertyLabelsRequest) GetDcids ¶
func (m *GetPropertyLabelsRequest) GetDcids() []string
func (*GetPropertyLabelsRequest) ProtoMessage ¶
func (*GetPropertyLabelsRequest) ProtoMessage()
func (*GetPropertyLabelsRequest) Reset ¶
func (m *GetPropertyLabelsRequest) Reset()
func (*GetPropertyLabelsRequest) String ¶
func (m *GetPropertyLabelsRequest) String() string
func (*GetPropertyLabelsRequest) XXX_DiscardUnknown ¶
func (m *GetPropertyLabelsRequest) XXX_DiscardUnknown()
func (*GetPropertyLabelsRequest) XXX_Marshal ¶
func (m *GetPropertyLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPropertyLabelsRequest) XXX_Merge ¶
func (m *GetPropertyLabelsRequest) XXX_Merge(src proto.Message)
func (*GetPropertyLabelsRequest) XXX_Size ¶
func (m *GetPropertyLabelsRequest) XXX_Size() int
func (*GetPropertyLabelsRequest) XXX_Unmarshal ¶
func (m *GetPropertyLabelsRequest) XXX_Unmarshal(b []byte) error
type GetPropertyLabelsResponse ¶
type GetPropertyLabelsResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response returned by GetPropertyLabels.
func (*GetPropertyLabelsResponse) Descriptor ¶
func (*GetPropertyLabelsResponse) Descriptor() ([]byte, []int)
func (*GetPropertyLabelsResponse) GetPayload ¶
func (m *GetPropertyLabelsResponse) GetPayload() string
func (*GetPropertyLabelsResponse) ProtoMessage ¶
func (*GetPropertyLabelsResponse) ProtoMessage()
func (*GetPropertyLabelsResponse) Reset ¶
func (m *GetPropertyLabelsResponse) Reset()
func (*GetPropertyLabelsResponse) String ¶
func (m *GetPropertyLabelsResponse) String() string
func (*GetPropertyLabelsResponse) XXX_DiscardUnknown ¶
func (m *GetPropertyLabelsResponse) XXX_DiscardUnknown()
func (*GetPropertyLabelsResponse) XXX_Marshal ¶
func (m *GetPropertyLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPropertyLabelsResponse) XXX_Merge ¶
func (m *GetPropertyLabelsResponse) XXX_Merge(src proto.Message)
func (*GetPropertyLabelsResponse) XXX_Size ¶
func (m *GetPropertyLabelsResponse) XXX_Size() int
func (*GetPropertyLabelsResponse) XXX_Unmarshal ¶
func (m *GetPropertyLabelsResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Request to get all neighboring nodes along an edge labeled by a property.
func (*GetPropertyValuesRequest) Descriptor ¶
func (*GetPropertyValuesRequest) Descriptor() ([]byte, []int)
func (*GetPropertyValuesRequest) GetDcids ¶
func (m *GetPropertyValuesRequest) GetDcids() []string
func (*GetPropertyValuesRequest) GetLimit ¶
func (m *GetPropertyValuesRequest) GetLimit() int32
func (*GetPropertyValuesRequest) GetProperty ¶
func (m *GetPropertyValuesRequest) GetProperty() string
func (*GetPropertyValuesRequest) GetValueType ¶
func (m *GetPropertyValuesRequest) GetValueType() string
func (*GetPropertyValuesRequest) ProtoMessage ¶
func (*GetPropertyValuesRequest) ProtoMessage()
func (*GetPropertyValuesRequest) Reset ¶
func (m *GetPropertyValuesRequest) Reset()
func (*GetPropertyValuesRequest) String ¶
func (m *GetPropertyValuesRequest) String() string
func (*GetPropertyValuesRequest) XXX_DiscardUnknown ¶
func (m *GetPropertyValuesRequest) XXX_DiscardUnknown()
func (*GetPropertyValuesRequest) XXX_Marshal ¶
func (m *GetPropertyValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPropertyValuesRequest) XXX_Merge ¶
func (m *GetPropertyValuesRequest) XXX_Merge(src proto.Message)
func (*GetPropertyValuesRequest) XXX_Size ¶
func (m *GetPropertyValuesRequest) XXX_Size() int
func (*GetPropertyValuesRequest) XXX_Unmarshal ¶
func (m *GetPropertyValuesRequest) XXX_Unmarshal(b []byte) error
type GetPropertyValuesResponse ¶
type GetPropertyValuesResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response returned by GetPropertyValues.
func (*GetPropertyValuesResponse) Descriptor ¶
func (*GetPropertyValuesResponse) Descriptor() ([]byte, []int)
func (*GetPropertyValuesResponse) GetPayload ¶
func (m *GetPropertyValuesResponse) GetPayload() string
func (*GetPropertyValuesResponse) ProtoMessage ¶
func (*GetPropertyValuesResponse) ProtoMessage()
func (*GetPropertyValuesResponse) Reset ¶
func (m *GetPropertyValuesResponse) Reset()
func (*GetPropertyValuesResponse) String ¶
func (m *GetPropertyValuesResponse) String() string
func (*GetPropertyValuesResponse) XXX_DiscardUnknown ¶
func (m *GetPropertyValuesResponse) XXX_DiscardUnknown()
func (*GetPropertyValuesResponse) XXX_Marshal ¶
func (m *GetPropertyValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPropertyValuesResponse) XXX_Merge ¶
func (m *GetPropertyValuesResponse) XXX_Merge(src proto.Message)
func (*GetPropertyValuesResponse) XXX_Size ¶
func (m *GetPropertyValuesResponse) XXX_Size() int
func (*GetPropertyValuesResponse) XXX_Unmarshal ¶
func (m *GetPropertyValuesResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Request to get all triples linking to the given nodes.
func (*GetTriplesRequest) Descriptor ¶
func (*GetTriplesRequest) Descriptor() ([]byte, []int)
func (*GetTriplesRequest) GetDcids ¶
func (m *GetTriplesRequest) GetDcids() []string
func (*GetTriplesRequest) GetLimit ¶
func (m *GetTriplesRequest) GetLimit() int32
func (*GetTriplesRequest) ProtoMessage ¶
func (*GetTriplesRequest) ProtoMessage()
func (*GetTriplesRequest) Reset ¶
func (m *GetTriplesRequest) Reset()
func (*GetTriplesRequest) String ¶
func (m *GetTriplesRequest) String() string
func (*GetTriplesRequest) XXX_DiscardUnknown ¶
func (m *GetTriplesRequest) XXX_DiscardUnknown()
func (*GetTriplesRequest) XXX_Marshal ¶
func (m *GetTriplesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTriplesRequest) XXX_Merge ¶
func (m *GetTriplesRequest) XXX_Merge(src proto.Message)
func (*GetTriplesRequest) XXX_Size ¶
func (m *GetTriplesRequest) XXX_Size() int
func (*GetTriplesRequest) XXX_Unmarshal ¶
func (m *GetTriplesRequest) XXX_Unmarshal(b []byte) error
type GetTriplesResponse ¶
type GetTriplesResponse struct {
// The JSON payload.
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response returned by GetTriples.
func (*GetTriplesResponse) Descriptor ¶
func (*GetTriplesResponse) Descriptor() ([]byte, []int)
func (*GetTriplesResponse) GetPayload ¶
func (m *GetTriplesResponse) GetPayload() string
func (*GetTriplesResponse) ProtoMessage ¶
func (*GetTriplesResponse) ProtoMessage()
func (*GetTriplesResponse) Reset ¶
func (m *GetTriplesResponse) Reset()
func (*GetTriplesResponse) String ¶
func (m *GetTriplesResponse) String() string
func (*GetTriplesResponse) XXX_DiscardUnknown ¶
func (m *GetTriplesResponse) XXX_DiscardUnknown()
func (*GetTriplesResponse) XXX_Marshal ¶
func (m *GetTriplesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTriplesResponse) XXX_Merge ¶
func (m *GetTriplesResponse) XXX_Merge(src proto.Message)
func (*GetTriplesResponse) XXX_Size ¶
func (m *GetTriplesResponse) XXX_Size() int
func (*GetTriplesResponse) XXX_Unmarshal ¶
func (m *GetTriplesResponse) XXX_Unmarshal(b []byte) error
type MixerClient ¶
type MixerClient interface {
// Query DataCommons Graph with Sparql.
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
// Query DataCommons Graph with Sparql.
QueryPost(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 property labels adjacent of nodes
GetPropertyLabelsPost(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 nodes that linked to source nodes with a given property.
GetPropertyValuesPost(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)
// Fetch triples that have the given nodes as subject or object.
GetTriplesPost(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 places contained in parent places.
GetPlacesInPost(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 KML coordinates for a place.
GetPlaceKML(ctx context.Context, in *GetPlaceKMLRequest, opts ...grpc.CallOption) (*GetPlaceKMLResponse, error)
// Translate datalog query into SQL and translation objects.
Translate(ctx context.Context, in *TranslateRequest, opts ...grpc.CallOption) (*TranslateResponse, error)
}
MixerClient is the client API for Mixer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMixerClient ¶
func NewMixerClient(cc *grpc.ClientConn) MixerClient
type MixerServer ¶
type MixerServer interface {
// Query DataCommons Graph with Sparql.
Query(context.Context, *QueryRequest) (*QueryResponse, error)
// Query DataCommons Graph with Sparql.
QueryPost(context.Context, *QueryRequest) (*QueryResponse, error)
// Fetch property labels adjacent of nodes
GetPropertyLabels(context.Context, *GetPropertyLabelsRequest) (*GetPropertyLabelsResponse, error)
// Fetch property labels adjacent of nodes
GetPropertyLabelsPost(context.Context, *GetPropertyLabelsRequest) (*GetPropertyLabelsResponse, error)
// Fetch nodes that linked to source nodes with a given property.
GetPropertyValues(context.Context, *GetPropertyValuesRequest) (*GetPropertyValuesResponse, error)
// Fetch nodes that linked to source nodes with a given property.
GetPropertyValuesPost(context.Context, *GetPropertyValuesRequest) (*GetPropertyValuesResponse, error)
// Fetch triples that have the given nodes as subject or object.
GetTriples(context.Context, *GetTriplesRequest) (*GetTriplesResponse, error)
// Fetch triples that have the given nodes as subject or object.
GetTriplesPost(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 places contained in parent places.
GetPlacesInPost(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 KML coordinates for a place.
GetPlaceKML(context.Context, *GetPlaceKMLRequest) (*GetPlaceKMLResponse, error)
// Translate datalog query into SQL and translation objects.
Translate(context.Context, *TranslateRequest) (*TranslateResponse, error)
}
MixerServer is the server API for Mixer service.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Represents a property value pair.
func (*PropertyValue) Descriptor ¶
func (*PropertyValue) Descriptor() ([]byte, []int)
func (*PropertyValue) GetProperty ¶
func (m *PropertyValue) GetProperty() string
func (*PropertyValue) GetValue ¶
func (m *PropertyValue) GetValue() string
func (*PropertyValue) ProtoMessage ¶
func (*PropertyValue) ProtoMessage()
func (*PropertyValue) Reset ¶
func (m *PropertyValue) Reset()
func (*PropertyValue) String ¶
func (m *PropertyValue) String() string
func (*PropertyValue) XXX_DiscardUnknown ¶
func (m *PropertyValue) XXX_DiscardUnknown()
func (*PropertyValue) XXX_Marshal ¶
func (m *PropertyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PropertyValue) XXX_Merge ¶
func (m *PropertyValue) XXX_Merge(src proto.Message)
func (*PropertyValue) XXX_Size ¶
func (m *PropertyValue) XXX_Size() int
func (*PropertyValue) XXX_Unmarshal ¶
func (m *PropertyValue) XXX_Unmarshal(b []byte) error
type QueryRequest ¶
type QueryRequest struct {
// Sparql query string.
Sparql string `protobuf:"bytes,1,opt,name=sparql,proto3" json:"sparql,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
A graph query request in Sparql query language.
func (*QueryRequest) Descriptor ¶
func (*QueryRequest) Descriptor() ([]byte, []int)
func (*QueryRequest) GetSparql ¶
func (m *QueryRequest) GetSparql() string
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) Reset ¶
func (m *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (m *QueryRequest) String() string
func (*QueryRequest) XXX_DiscardUnknown ¶
func (m *QueryRequest) XXX_DiscardUnknown()
func (*QueryRequest) XXX_Marshal ¶
func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRequest) XXX_Merge ¶
func (m *QueryRequest) XXX_Merge(src proto.Message)
func (*QueryRequest) XXX_Size ¶
func (m *QueryRequest) XXX_Size() int
func (*QueryRequest) XXX_Unmarshal ¶
func (m *QueryRequest) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Graph query response.
func (*QueryResponse) Descriptor ¶
func (*QueryResponse) Descriptor() ([]byte, []int)
func (*QueryResponse) GetHeader ¶
func (m *QueryResponse) GetHeader() []string
func (*QueryResponse) GetRows ¶
func (m *QueryResponse) GetRows() []*QueryResponseRow
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) Reset ¶
func (m *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (m *QueryResponse) String() string
func (*QueryResponse) XXX_DiscardUnknown ¶
func (m *QueryResponse) XXX_DiscardUnknown()
func (*QueryResponse) XXX_Marshal ¶
func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResponse) XXX_Merge ¶
func (m *QueryResponse) XXX_Merge(src proto.Message)
func (*QueryResponse) XXX_Size ¶
func (m *QueryResponse) XXX_Size() int
func (*QueryResponse) XXX_Unmarshal ¶
func (m *QueryResponse) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Cell in the QueryResponse
func (*QueryResponseCell) Descriptor ¶
func (*QueryResponseCell) Descriptor() ([]byte, []int)
func (*QueryResponseCell) GetProvenanceId ¶
func (m *QueryResponseCell) GetProvenanceId() string
func (*QueryResponseCell) GetValue ¶
func (m *QueryResponseCell) GetValue() string
func (*QueryResponseCell) ProtoMessage ¶
func (*QueryResponseCell) ProtoMessage()
func (*QueryResponseCell) Reset ¶
func (m *QueryResponseCell) Reset()
func (*QueryResponseCell) String ¶
func (m *QueryResponseCell) String() string
func (*QueryResponseCell) XXX_DiscardUnknown ¶
func (m *QueryResponseCell) XXX_DiscardUnknown()
func (*QueryResponseCell) XXX_Marshal ¶
func (m *QueryResponseCell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResponseCell) XXX_Merge ¶
func (m *QueryResponseCell) XXX_Merge(src proto.Message)
func (*QueryResponseCell) XXX_Size ¶
func (m *QueryResponseCell) XXX_Size() int
func (*QueryResponseCell) XXX_Unmarshal ¶
func (m *QueryResponseCell) XXX_Unmarshal(b []byte) error
type QueryResponseRow ¶
type QueryResponseRow struct {
// A list of QueryResponseCell.
Cells []*QueryResponseCell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
A graph query response row corresponding to the query variables in graph query.
func (*QueryResponseRow) Descriptor ¶
func (*QueryResponseRow) Descriptor() ([]byte, []int)
func (*QueryResponseRow) GetCells ¶
func (m *QueryResponseRow) GetCells() []*QueryResponseCell
func (*QueryResponseRow) ProtoMessage ¶
func (*QueryResponseRow) ProtoMessage()
func (*QueryResponseRow) Reset ¶
func (m *QueryResponseRow) Reset()
func (*QueryResponseRow) String ¶
func (m *QueryResponseRow) String() string
func (*QueryResponseRow) XXX_DiscardUnknown ¶
func (m *QueryResponseRow) XXX_DiscardUnknown()
func (*QueryResponseRow) XXX_Marshal ¶
func (m *QueryResponseRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResponseRow) XXX_Merge ¶
func (m *QueryResponseRow) XXX_Merge(src proto.Message)
func (*QueryResponseRow) XXX_Size ¶
func (m *QueryResponseRow) XXX_Size() int
func (*QueryResponseRow) XXX_Unmarshal ¶
func (m *QueryResponseRow) XXX_Unmarshal(b []byte) error
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 datalog query.
Datalog string `protobuf:"bytes,2,opt,name=datalog,proto3" json:"datalog,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Request to translate a graph query.
func (*TranslateRequest) Descriptor ¶
func (*TranslateRequest) Descriptor() ([]byte, []int)
func (*TranslateRequest) GetDatalog ¶
func (m *TranslateRequest) GetDatalog() string
func (*TranslateRequest) GetSchemaMapping ¶
func (m *TranslateRequest) GetSchemaMapping() string
func (*TranslateRequest) ProtoMessage ¶
func (*TranslateRequest) ProtoMessage()
func (*TranslateRequest) Reset ¶
func (m *TranslateRequest) Reset()
func (*TranslateRequest) String ¶
func (m *TranslateRequest) String() string
func (*TranslateRequest) XXX_DiscardUnknown ¶
func (m *TranslateRequest) XXX_DiscardUnknown()
func (*TranslateRequest) XXX_Marshal ¶
func (m *TranslateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TranslateRequest) XXX_Merge ¶
func (m *TranslateRequest) XXX_Merge(src proto.Message)
func (*TranslateRequest) XXX_Size ¶
func (m *TranslateRequest) XXX_Size() int
func (*TranslateRequest) XXX_Unmarshal ¶
func (m *TranslateRequest) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Response of a translate request.
func (*TranslateResponse) Descriptor ¶
func (*TranslateResponse) Descriptor() ([]byte, []int)
func (*TranslateResponse) GetSql ¶
func (m *TranslateResponse) GetSql() string
func (*TranslateResponse) GetTranslation ¶
func (m *TranslateResponse) GetTranslation() string
func (*TranslateResponse) ProtoMessage ¶
func (*TranslateResponse) ProtoMessage()
func (*TranslateResponse) Reset ¶
func (m *TranslateResponse) Reset()
func (*TranslateResponse) String ¶
func (m *TranslateResponse) String() string
func (*TranslateResponse) XXX_DiscardUnknown ¶
func (m *TranslateResponse) XXX_DiscardUnknown()
func (*TranslateResponse) XXX_Marshal ¶
func (m *TranslateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TranslateResponse) XXX_Merge ¶
func (m *TranslateResponse) XXX_Merge(src proto.Message)
func (*TranslateResponse) XXX_Size ¶
func (m *TranslateResponse) XXX_Size() int
func (*TranslateResponse) XXX_Unmarshal ¶
func (m *TranslateResponse) XXX_Unmarshal(b []byte) error
type Triple ¶
type Triple struct {
// Subject dcid. Always set.
SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
// Subject name.
SubjectName string `protobuf:"bytes,2,opt,name=subject_name,json=subjectName,proto3" json:"subject_name,omitempty"`
// A list of types for subject
SubjectTypes []string `protobuf:"bytes,3,rep,name=subject_types,json=subjectTypes,proto3" json:"subject_types,omitempty"`
// Predicate of the triple.
Predicate string `protobuf:"bytes,4,opt,name=predicate,proto3" json:"predicate,omitempty"`
// Object id for object that is node reference.
ObjectId string `protobuf:"bytes,5,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
// Object name for object that is node reference.
ObjectName string `protobuf:"bytes,6,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
// A list of types for object.
ObjectTypes []string `protobuf:"bytes,7,rep,name=object_types,json=objectTypes,proto3" json:"object_types,omitempty"`
// Object value for leaf node.
ObjectValue string `protobuf:"bytes,8,opt,name=object_value,json=objectValue,proto3" json:"object_value,omitempty"`
// Dcid of the Provenance for this triple.
ProvenanceId string `protobuf:"bytes,9,opt,name=provenance_id,json=provenanceId,proto3" json:"provenance_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Represents a triple in the Data Commons graph.
func (*Triple) Descriptor ¶
func (*Triple) GetObjectId ¶
func (*Triple) GetObjectName ¶
func (*Triple) GetObjectTypes ¶
func (*Triple) GetObjectValue ¶
func (*Triple) GetPredicate ¶
func (*Triple) GetProvenanceId ¶
func (*Triple) GetSubjectId ¶
func (*Triple) GetSubjectName ¶
func (*Triple) GetSubjectTypes ¶
func (*Triple) ProtoMessage ¶
func (*Triple) ProtoMessage()
func (*Triple) XXX_DiscardUnknown ¶
func (m *Triple) XXX_DiscardUnknown()
func (*Triple) XXX_Marshal ¶
func (*Triple) XXX_Unmarshal ¶
type UnimplementedMixerServer ¶
type UnimplementedMixerServer struct {
}
UnimplementedMixerServer can be embedded to have forward compatible implementations.
func (*UnimplementedMixerServer) GetObservations ¶
func (*UnimplementedMixerServer) GetObservations(ctx context.Context, req *GetObservationsRequest) (*GetObservationsResponse, error)
func (*UnimplementedMixerServer) GetPlaceKML ¶
func (*UnimplementedMixerServer) GetPlaceKML(ctx context.Context, req *GetPlaceKMLRequest) (*GetPlaceKMLResponse, error)
func (*UnimplementedMixerServer) GetPlaceObs ¶
func (*UnimplementedMixerServer) GetPlaceObs(ctx context.Context, req *GetPlaceObsRequest) (*GetPlaceObsResponse, error)
func (*UnimplementedMixerServer) GetPlacesIn ¶
func (*UnimplementedMixerServer) GetPlacesIn(ctx context.Context, req *GetPlacesInRequest) (*GetPlacesInResponse, error)
func (*UnimplementedMixerServer) GetPlacesInPost ¶
func (*UnimplementedMixerServer) GetPlacesInPost(ctx context.Context, req *GetPlacesInRequest) (*GetPlacesInResponse, error)
func (*UnimplementedMixerServer) GetPopObs ¶
func (*UnimplementedMixerServer) GetPopObs(ctx context.Context, req *GetPopObsRequest) (*GetPopObsResponse, error)
func (*UnimplementedMixerServer) GetPopulations ¶
func (*UnimplementedMixerServer) GetPopulations(ctx context.Context, req *GetPopulationsRequest) (*GetPopulationsResponse, error)
func (*UnimplementedMixerServer) GetPropertyLabels ¶
func (*UnimplementedMixerServer) GetPropertyLabels(ctx context.Context, req *GetPropertyLabelsRequest) (*GetPropertyLabelsResponse, error)
func (*UnimplementedMixerServer) GetPropertyLabelsPost ¶
func (*UnimplementedMixerServer) GetPropertyLabelsPost(ctx context.Context, req *GetPropertyLabelsRequest) (*GetPropertyLabelsResponse, error)
func (*UnimplementedMixerServer) GetPropertyValues ¶
func (*UnimplementedMixerServer) GetPropertyValues(ctx context.Context, req *GetPropertyValuesRequest) (*GetPropertyValuesResponse, error)
func (*UnimplementedMixerServer) GetPropertyValuesPost ¶
func (*UnimplementedMixerServer) GetPropertyValuesPost(ctx context.Context, req *GetPropertyValuesRequest) (*GetPropertyValuesResponse, error)
func (*UnimplementedMixerServer) GetTriples ¶
func (*UnimplementedMixerServer) GetTriples(ctx context.Context, req *GetTriplesRequest) (*GetTriplesResponse, error)
func (*UnimplementedMixerServer) GetTriplesPost ¶
func (*UnimplementedMixerServer) GetTriplesPost(ctx context.Context, req *GetTriplesRequest) (*GetTriplesResponse, error)
func (*UnimplementedMixerServer) Query ¶
func (*UnimplementedMixerServer) Query(ctx context.Context, req *QueryRequest) (*QueryResponse, error)
func (*UnimplementedMixerServer) QueryPost ¶
func (*UnimplementedMixerServer) QueryPost(ctx context.Context, req *QueryRequest) (*QueryResponse, error)
func (*UnimplementedMixerServer) Translate ¶
func (*UnimplementedMixerServer) Translate(ctx context.Context, req *TranslateRequest) (*TranslateResponse, error)