mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 14:20:23 -04:00
1248 lines
52 KiB
Go
1248 lines
52 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: google/home/graph/v1/homegraph.proto
|
|
|
|
package graph // import "google.golang.org/genproto/googleapis/home/graph/v1"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import empty "github.com/golang/protobuf/ptypes/empty"
|
|
import _struct "github.com/golang/protobuf/ptypes/struct"
|
|
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// Request type for RequestSyncDevices call.
|
|
type RequestSyncDevicesRequest struct {
|
|
// Required. Third-party user id issued by agent's third-party identity
|
|
// provider.
|
|
AgentUserId string `protobuf:"bytes,1,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"`
|
|
// Optional. If set, the request will be added to a queue and a response will
|
|
// be returned immediately. The queue allows for de-duplication of
|
|
// simultaneous requests.
|
|
Async bool `protobuf:"varint,2,opt,name=async,proto3" json:"async,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RequestSyncDevicesRequest) Reset() { *m = RequestSyncDevicesRequest{} }
|
|
func (m *RequestSyncDevicesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RequestSyncDevicesRequest) ProtoMessage() {}
|
|
func (*RequestSyncDevicesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{0}
|
|
}
|
|
func (m *RequestSyncDevicesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RequestSyncDevicesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RequestSyncDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RequestSyncDevicesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *RequestSyncDevicesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestSyncDevicesRequest.Merge(dst, src)
|
|
}
|
|
func (m *RequestSyncDevicesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RequestSyncDevicesRequest.Size(m)
|
|
}
|
|
func (m *RequestSyncDevicesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestSyncDevicesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestSyncDevicesRequest proto.InternalMessageInfo
|
|
|
|
func (m *RequestSyncDevicesRequest) GetAgentUserId() string {
|
|
if m != nil {
|
|
return m.AgentUserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestSyncDevicesRequest) GetAsync() bool {
|
|
if m != nil {
|
|
return m.Async
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Response type for RequestSyncDevices call. Intentionally empty upon success.
|
|
// An HTTP response code is returned with more details upon failure.
|
|
type RequestSyncDevicesResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RequestSyncDevicesResponse) Reset() { *m = RequestSyncDevicesResponse{} }
|
|
func (m *RequestSyncDevicesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RequestSyncDevicesResponse) ProtoMessage() {}
|
|
func (*RequestSyncDevicesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{1}
|
|
}
|
|
func (m *RequestSyncDevicesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RequestSyncDevicesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *RequestSyncDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RequestSyncDevicesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *RequestSyncDevicesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestSyncDevicesResponse.Merge(dst, src)
|
|
}
|
|
func (m *RequestSyncDevicesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RequestSyncDevicesResponse.Size(m)
|
|
}
|
|
func (m *RequestSyncDevicesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestSyncDevicesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestSyncDevicesResponse proto.InternalMessageInfo
|
|
|
|
// Sample ReportStateAndNotificationRequest, with states and notifications
|
|
// defined per device_id (eg: "123" and "456" in the following example):
|
|
// {
|
|
// "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
|
|
// "agent_user_id": "1234",
|
|
// "payload": {
|
|
// "devices": {
|
|
// "states": {
|
|
// "123": {
|
|
// "on": true
|
|
// },
|
|
// "456": {
|
|
// "on": true,
|
|
// "brightness": 10
|
|
// }
|
|
// },
|
|
// "notifications": {
|
|
// "123": {
|
|
// "ObjectDetected": {
|
|
// "priority": 0,
|
|
// "objects": {
|
|
// "NAMED": ["Alice", "Bob", "Carol", "Eve"]
|
|
// }
|
|
// },
|
|
// "DoorUnlocked": {
|
|
// "priority": 0,
|
|
// "keyUsed": {
|
|
// "keyName": "Wife's key"
|
|
// }
|
|
// }
|
|
// },
|
|
// "456": {
|
|
// "SprinklersOn": {
|
|
// "priority": 0,
|
|
// "timeStarted": "1513792702"
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
// Request type for ReportStateAndNotification call. It may include States,
|
|
// Notifications, or both. This request uses globally unique flattened state
|
|
// names instead of namespaces based on traits to align with the existing QUERY
|
|
// and EXECUTE APIs implemented by 90+ Smart Home partners.
|
|
// Next tag: 5.
|
|
type ReportStateAndNotificationRequest struct {
|
|
// Request id used for debugging.
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// Unique identifier per event (eg: doorbell press).
|
|
EventId string `protobuf:"bytes,4,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
|
|
// Required. Third-party user id.
|
|
AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"`
|
|
// State of devices to update and notification metadata for devices. For
|
|
// example, if a user turns a light on manually, a State update should be
|
|
// sent so that the information is always the current status of the device.
|
|
// Notifications are independent from the state and its piece of the payload
|
|
// should contain everything necessary to notify the user. Although it may be
|
|
// related to a state change, it does not need to be. For example, if a
|
|
// device can turn on/off and change temperature, the states reported would
|
|
// include both "on" and "70 degrees" but the 3p may choose not to send any
|
|
// notification for that, or to only say that the "the room is heating up",
|
|
// keeping state and notification independent.
|
|
Payload *StateAndNotificationPayload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ReportStateAndNotificationRequest) Reset() { *m = ReportStateAndNotificationRequest{} }
|
|
func (m *ReportStateAndNotificationRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ReportStateAndNotificationRequest) ProtoMessage() {}
|
|
func (*ReportStateAndNotificationRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{2}
|
|
}
|
|
func (m *ReportStateAndNotificationRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ReportStateAndNotificationRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ReportStateAndNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ReportStateAndNotificationRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ReportStateAndNotificationRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ReportStateAndNotificationRequest.Merge(dst, src)
|
|
}
|
|
func (m *ReportStateAndNotificationRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ReportStateAndNotificationRequest.Size(m)
|
|
}
|
|
func (m *ReportStateAndNotificationRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ReportStateAndNotificationRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ReportStateAndNotificationRequest proto.InternalMessageInfo
|
|
|
|
func (m *ReportStateAndNotificationRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReportStateAndNotificationRequest) GetEventId() string {
|
|
if m != nil {
|
|
return m.EventId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReportStateAndNotificationRequest) GetAgentUserId() string {
|
|
if m != nil {
|
|
return m.AgentUserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReportStateAndNotificationRequest) GetPayload() *StateAndNotificationPayload {
|
|
if m != nil {
|
|
return m.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Response type for ReportStateAndNotification call.
|
|
type ReportStateAndNotificationResponse struct {
|
|
// Request id copied from ReportStateAndNotificationRequest.
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ReportStateAndNotificationResponse) Reset() { *m = ReportStateAndNotificationResponse{} }
|
|
func (m *ReportStateAndNotificationResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ReportStateAndNotificationResponse) ProtoMessage() {}
|
|
func (*ReportStateAndNotificationResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{3}
|
|
}
|
|
func (m *ReportStateAndNotificationResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ReportStateAndNotificationResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ReportStateAndNotificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ReportStateAndNotificationResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ReportStateAndNotificationResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ReportStateAndNotificationResponse.Merge(dst, src)
|
|
}
|
|
func (m *ReportStateAndNotificationResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ReportStateAndNotificationResponse.Size(m)
|
|
}
|
|
func (m *ReportStateAndNotificationResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ReportStateAndNotificationResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ReportStateAndNotificationResponse proto.InternalMessageInfo
|
|
|
|
func (m *ReportStateAndNotificationResponse) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Payload containing the State and Notification information for devices.
|
|
type StateAndNotificationPayload struct {
|
|
// The devices for updating State and sending Notifications.
|
|
Devices *ReportStateAndNotificationDevice `protobuf:"bytes,1,opt,name=devices,proto3" json:"devices,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StateAndNotificationPayload) Reset() { *m = StateAndNotificationPayload{} }
|
|
func (m *StateAndNotificationPayload) String() string { return proto.CompactTextString(m) }
|
|
func (*StateAndNotificationPayload) ProtoMessage() {}
|
|
func (*StateAndNotificationPayload) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{4}
|
|
}
|
|
func (m *StateAndNotificationPayload) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_StateAndNotificationPayload.Unmarshal(m, b)
|
|
}
|
|
func (m *StateAndNotificationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_StateAndNotificationPayload.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *StateAndNotificationPayload) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StateAndNotificationPayload.Merge(dst, src)
|
|
}
|
|
func (m *StateAndNotificationPayload) XXX_Size() int {
|
|
return xxx_messageInfo_StateAndNotificationPayload.Size(m)
|
|
}
|
|
func (m *StateAndNotificationPayload) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StateAndNotificationPayload.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StateAndNotificationPayload proto.InternalMessageInfo
|
|
|
|
func (m *StateAndNotificationPayload) GetDevices() *ReportStateAndNotificationDevice {
|
|
if m != nil {
|
|
return m.Devices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// The States and Notifications specific to a device.
|
|
type ReportStateAndNotificationDevice struct {
|
|
// States of devices to update.
|
|
States *_struct.Struct `protobuf:"bytes,1,opt,name=states,proto3" json:"states,omitempty"`
|
|
// Notifications metadata for devices.
|
|
Notifications *_struct.Struct `protobuf:"bytes,2,opt,name=notifications,proto3" json:"notifications,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ReportStateAndNotificationDevice) Reset() { *m = ReportStateAndNotificationDevice{} }
|
|
func (m *ReportStateAndNotificationDevice) String() string { return proto.CompactTextString(m) }
|
|
func (*ReportStateAndNotificationDevice) ProtoMessage() {}
|
|
func (*ReportStateAndNotificationDevice) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{5}
|
|
}
|
|
func (m *ReportStateAndNotificationDevice) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ReportStateAndNotificationDevice.Unmarshal(m, b)
|
|
}
|
|
func (m *ReportStateAndNotificationDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ReportStateAndNotificationDevice.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ReportStateAndNotificationDevice) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ReportStateAndNotificationDevice.Merge(dst, src)
|
|
}
|
|
func (m *ReportStateAndNotificationDevice) XXX_Size() int {
|
|
return xxx_messageInfo_ReportStateAndNotificationDevice.Size(m)
|
|
}
|
|
func (m *ReportStateAndNotificationDevice) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ReportStateAndNotificationDevice.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ReportStateAndNotificationDevice proto.InternalMessageInfo
|
|
|
|
func (m *ReportStateAndNotificationDevice) GetStates() *_struct.Struct {
|
|
if m != nil {
|
|
return m.States
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReportStateAndNotificationDevice) GetNotifications() *_struct.Struct {
|
|
if m != nil {
|
|
return m.Notifications
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Request type for DeleteAgentUser call.
|
|
type DeleteAgentUserRequest struct {
|
|
// Request id used for debugging.
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// Required. Third-party user id.
|
|
AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteAgentUserRequest) Reset() { *m = DeleteAgentUserRequest{} }
|
|
func (m *DeleteAgentUserRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteAgentUserRequest) ProtoMessage() {}
|
|
func (*DeleteAgentUserRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{6}
|
|
}
|
|
func (m *DeleteAgentUserRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteAgentUserRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteAgentUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteAgentUserRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteAgentUserRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteAgentUserRequest.Merge(dst, src)
|
|
}
|
|
func (m *DeleteAgentUserRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteAgentUserRequest.Size(m)
|
|
}
|
|
func (m *DeleteAgentUserRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteAgentUserRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteAgentUserRequest proto.InternalMessageInfo
|
|
|
|
func (m *DeleteAgentUserRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteAgentUserRequest) GetAgentUserId() string {
|
|
if m != nil {
|
|
return m.AgentUserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Request type for Query call. This should be the same format as the AoG
|
|
// action.devices.QUERY request
|
|
// (https://developers.google.com/actions/smarthome/create-app#actiondevicesquery)
|
|
// with the exception of the extra "agent_user_id" and no "intent" and
|
|
// "customData" field.
|
|
type QueryRequest struct {
|
|
// Request ID used for debugging.
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// Required. Third-party user ID.
|
|
AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"`
|
|
// Required. Inputs containing third-party partner's device IDs for which to
|
|
// get the device states.
|
|
Inputs []*QueryRequestInput `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *QueryRequest) Reset() { *m = QueryRequest{} }
|
|
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryRequest) ProtoMessage() {}
|
|
func (*QueryRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{7}
|
|
}
|
|
func (m *QueryRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QueryRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *QueryRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryRequest.Merge(dst, src)
|
|
}
|
|
func (m *QueryRequest) XXX_Size() int {
|
|
return xxx_messageInfo_QueryRequest.Size(m)
|
|
}
|
|
func (m *QueryRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryRequest proto.InternalMessageInfo
|
|
|
|
func (m *QueryRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryRequest) GetAgentUserId() string {
|
|
if m != nil {
|
|
return m.AgentUserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryRequest) GetInputs() []*QueryRequestInput {
|
|
if m != nil {
|
|
return m.Inputs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Device ID inputs to QueryRequest.
|
|
type QueryRequestInput struct {
|
|
// Payload containing third-party partner's device IDs.
|
|
Payload *QueryRequestPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *QueryRequestInput) Reset() { *m = QueryRequestInput{} }
|
|
func (m *QueryRequestInput) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryRequestInput) ProtoMessage() {}
|
|
func (*QueryRequestInput) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{8}
|
|
}
|
|
func (m *QueryRequestInput) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QueryRequestInput.Unmarshal(m, b)
|
|
}
|
|
func (m *QueryRequestInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QueryRequestInput.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *QueryRequestInput) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryRequestInput.Merge(dst, src)
|
|
}
|
|
func (m *QueryRequestInput) XXX_Size() int {
|
|
return xxx_messageInfo_QueryRequestInput.Size(m)
|
|
}
|
|
func (m *QueryRequestInput) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryRequestInput.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryRequestInput proto.InternalMessageInfo
|
|
|
|
func (m *QueryRequestInput) GetPayload() *QueryRequestPayload {
|
|
if m != nil {
|
|
return m.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Payload containing device IDs.
|
|
type QueryRequestPayload struct {
|
|
// Third-party partner's device IDs to get device states for.
|
|
Devices []*AgentDeviceId `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *QueryRequestPayload) Reset() { *m = QueryRequestPayload{} }
|
|
func (m *QueryRequestPayload) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryRequestPayload) ProtoMessage() {}
|
|
func (*QueryRequestPayload) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{9}
|
|
}
|
|
func (m *QueryRequestPayload) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QueryRequestPayload.Unmarshal(m, b)
|
|
}
|
|
func (m *QueryRequestPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QueryRequestPayload.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *QueryRequestPayload) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryRequestPayload.Merge(dst, src)
|
|
}
|
|
func (m *QueryRequestPayload) XXX_Size() int {
|
|
return xxx_messageInfo_QueryRequestPayload.Size(m)
|
|
}
|
|
func (m *QueryRequestPayload) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryRequestPayload.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryRequestPayload proto.InternalMessageInfo
|
|
|
|
func (m *QueryRequestPayload) GetDevices() []*AgentDeviceId {
|
|
if m != nil {
|
|
return m.Devices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Third-party partner's device ID for one device.
|
|
type AgentDeviceId struct {
|
|
// Third-party partner's device ID.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AgentDeviceId) Reset() { *m = AgentDeviceId{} }
|
|
func (m *AgentDeviceId) String() string { return proto.CompactTextString(m) }
|
|
func (*AgentDeviceId) ProtoMessage() {}
|
|
func (*AgentDeviceId) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{10}
|
|
}
|
|
func (m *AgentDeviceId) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AgentDeviceId.Unmarshal(m, b)
|
|
}
|
|
func (m *AgentDeviceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AgentDeviceId.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *AgentDeviceId) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AgentDeviceId.Merge(dst, src)
|
|
}
|
|
func (m *AgentDeviceId) XXX_Size() int {
|
|
return xxx_messageInfo_AgentDeviceId.Size(m)
|
|
}
|
|
func (m *AgentDeviceId) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AgentDeviceId.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AgentDeviceId proto.InternalMessageInfo
|
|
|
|
func (m *AgentDeviceId) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Response type for Query call. This should follow the same format as AoG
|
|
// action.devices.QUERY response
|
|
// (https://developers.google.com/actions/smarthome/create-app#actiondevicesquery).
|
|
type QueryResponse struct {
|
|
// Request ID used for debugging. Copied from the request.
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// Device states for the devices given in the request.
|
|
Payload *QueryResponsePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *QueryResponse) Reset() { *m = QueryResponse{} }
|
|
func (m *QueryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryResponse) ProtoMessage() {}
|
|
func (*QueryResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{11}
|
|
}
|
|
func (m *QueryResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QueryResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QueryResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *QueryResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryResponse.Merge(dst, src)
|
|
}
|
|
func (m *QueryResponse) XXX_Size() int {
|
|
return xxx_messageInfo_QueryResponse.Size(m)
|
|
}
|
|
func (m *QueryResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryResponse proto.InternalMessageInfo
|
|
|
|
func (m *QueryResponse) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryResponse) GetPayload() *QueryResponsePayload {
|
|
if m != nil {
|
|
return m.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Payload containing device states information.
|
|
type QueryResponsePayload struct {
|
|
// States of the devices. Map of third-party device ID to struct of device
|
|
// states.
|
|
Devices map[string]*_struct.Struct `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *QueryResponsePayload) Reset() { *m = QueryResponsePayload{} }
|
|
func (m *QueryResponsePayload) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryResponsePayload) ProtoMessage() {}
|
|
func (*QueryResponsePayload) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{12}
|
|
}
|
|
func (m *QueryResponsePayload) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QueryResponsePayload.Unmarshal(m, b)
|
|
}
|
|
func (m *QueryResponsePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QueryResponsePayload.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *QueryResponsePayload) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryResponsePayload.Merge(dst, src)
|
|
}
|
|
func (m *QueryResponsePayload) XXX_Size() int {
|
|
return xxx_messageInfo_QueryResponsePayload.Size(m)
|
|
}
|
|
func (m *QueryResponsePayload) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryResponsePayload.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryResponsePayload proto.InternalMessageInfo
|
|
|
|
func (m *QueryResponsePayload) GetDevices() map[string]*_struct.Struct {
|
|
if m != nil {
|
|
return m.Devices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Request type for Sync call. This should follow the same format as AoG
|
|
// action.devices.SYNC request
|
|
// (https://developers.google.com/actions/smarthome/create-app#actiondevicessync)
|
|
// with the exception of the extra "agent_user_id" and no "intent" field.
|
|
type SyncRequest struct {
|
|
// Request ID used for debugging.
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// Required. Third-party user ID.
|
|
AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SyncRequest) Reset() { *m = SyncRequest{} }
|
|
func (m *SyncRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SyncRequest) ProtoMessage() {}
|
|
func (*SyncRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{13}
|
|
}
|
|
func (m *SyncRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SyncRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SyncRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SyncRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncRequest.Merge(dst, src)
|
|
}
|
|
func (m *SyncRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SyncRequest.Size(m)
|
|
}
|
|
func (m *SyncRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncRequest proto.InternalMessageInfo
|
|
|
|
func (m *SyncRequest) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SyncRequest) GetAgentUserId() string {
|
|
if m != nil {
|
|
return m.AgentUserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Example SyncResponse:
|
|
// {
|
|
// "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
|
|
// "payload": {
|
|
// "agentUserId": "1836.15267389",
|
|
// "devices": [{
|
|
// "id": "123",
|
|
// "type": "action.devices.types.OUTLET",
|
|
// "traits": [
|
|
// "action.devices.traits.OnOff"
|
|
// ],
|
|
// "name": {
|
|
// "defaultNames": ["My Outlet 1234"],
|
|
// "name": "Night light",
|
|
// "nicknames": ["wall plug"]
|
|
// },
|
|
// "willReportState": false,
|
|
// "deviceInfo": {
|
|
// "manufacturer": "lights-out-inc",
|
|
// "model": "hs1234",
|
|
// "hwVersion": "3.2",
|
|
// "swVersion": "11.4"
|
|
// },
|
|
// "customData": {
|
|
// "fooValue": 74,
|
|
// "barValue": true,
|
|
// "bazValue": "foo"
|
|
// }
|
|
// }]
|
|
// }
|
|
// }
|
|
//
|
|
// Response type for Sync call. This should follow the same format as AoG
|
|
// action.devices.SYNC response
|
|
// (https://developers.google.com/actions/smarthome/create-app#actiondevicessync).
|
|
type SyncResponse struct {
|
|
// Request ID used for debugging. Copied from the request.
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// Devices associated with the third-party user.
|
|
Payload *SyncResponsePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SyncResponse) Reset() { *m = SyncResponse{} }
|
|
func (m *SyncResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SyncResponse) ProtoMessage() {}
|
|
func (*SyncResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{14}
|
|
}
|
|
func (m *SyncResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SyncResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SyncResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SyncResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncResponse.Merge(dst, src)
|
|
}
|
|
func (m *SyncResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SyncResponse.Size(m)
|
|
}
|
|
func (m *SyncResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncResponse proto.InternalMessageInfo
|
|
|
|
func (m *SyncResponse) GetRequestId() string {
|
|
if m != nil {
|
|
return m.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SyncResponse) GetPayload() *SyncResponsePayload {
|
|
if m != nil {
|
|
return m.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Payload containing device information.
|
|
type SyncResponsePayload struct {
|
|
// Third-party user ID
|
|
AgentUserId string `protobuf:"bytes,1,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"`
|
|
// Devices associated with the third-party user.
|
|
Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SyncResponsePayload) Reset() { *m = SyncResponsePayload{} }
|
|
func (m *SyncResponsePayload) String() string { return proto.CompactTextString(m) }
|
|
func (*SyncResponsePayload) ProtoMessage() {}
|
|
func (*SyncResponsePayload) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_homegraph_5a60696c46a9dcf0, []int{15}
|
|
}
|
|
func (m *SyncResponsePayload) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SyncResponsePayload.Unmarshal(m, b)
|
|
}
|
|
func (m *SyncResponsePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SyncResponsePayload.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SyncResponsePayload) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SyncResponsePayload.Merge(dst, src)
|
|
}
|
|
func (m *SyncResponsePayload) XXX_Size() int {
|
|
return xxx_messageInfo_SyncResponsePayload.Size(m)
|
|
}
|
|
func (m *SyncResponsePayload) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SyncResponsePayload.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SyncResponsePayload proto.InternalMessageInfo
|
|
|
|
func (m *SyncResponsePayload) GetAgentUserId() string {
|
|
if m != nil {
|
|
return m.AgentUserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SyncResponsePayload) GetDevices() []*Device {
|
|
if m != nil {
|
|
return m.Devices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RequestSyncDevicesRequest)(nil), "google.home.graph.v1.RequestSyncDevicesRequest")
|
|
proto.RegisterType((*RequestSyncDevicesResponse)(nil), "google.home.graph.v1.RequestSyncDevicesResponse")
|
|
proto.RegisterType((*ReportStateAndNotificationRequest)(nil), "google.home.graph.v1.ReportStateAndNotificationRequest")
|
|
proto.RegisterType((*ReportStateAndNotificationResponse)(nil), "google.home.graph.v1.ReportStateAndNotificationResponse")
|
|
proto.RegisterType((*StateAndNotificationPayload)(nil), "google.home.graph.v1.StateAndNotificationPayload")
|
|
proto.RegisterType((*ReportStateAndNotificationDevice)(nil), "google.home.graph.v1.ReportStateAndNotificationDevice")
|
|
proto.RegisterType((*DeleteAgentUserRequest)(nil), "google.home.graph.v1.DeleteAgentUserRequest")
|
|
proto.RegisterType((*QueryRequest)(nil), "google.home.graph.v1.QueryRequest")
|
|
proto.RegisterType((*QueryRequestInput)(nil), "google.home.graph.v1.QueryRequestInput")
|
|
proto.RegisterType((*QueryRequestPayload)(nil), "google.home.graph.v1.QueryRequestPayload")
|
|
proto.RegisterType((*AgentDeviceId)(nil), "google.home.graph.v1.AgentDeviceId")
|
|
proto.RegisterType((*QueryResponse)(nil), "google.home.graph.v1.QueryResponse")
|
|
proto.RegisterType((*QueryResponsePayload)(nil), "google.home.graph.v1.QueryResponsePayload")
|
|
proto.RegisterMapType((map[string]*_struct.Struct)(nil), "google.home.graph.v1.QueryResponsePayload.DevicesEntry")
|
|
proto.RegisterType((*SyncRequest)(nil), "google.home.graph.v1.SyncRequest")
|
|
proto.RegisterType((*SyncResponse)(nil), "google.home.graph.v1.SyncResponse")
|
|
proto.RegisterType((*SyncResponsePayload)(nil), "google.home.graph.v1.SyncResponsePayload")
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// HomeGraphApiServiceClient is the client API for HomeGraphApiService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type HomeGraphApiServiceClient interface {
|
|
// Requests a Sync call from Google to a 3p partner's home control agent for
|
|
// a user.
|
|
//
|
|
//
|
|
// Third-party user's identity is passed in as agent_user_id.
|
|
// (see [RequestSyncDevicesRequest][google.home.graph.v1.RequestSyncDevicesRequest]) and forwarded back to the agent.
|
|
// Agent is identified by the API key or JWT signed by the partner's service
|
|
// account.
|
|
RequestSyncDevices(ctx context.Context, in *RequestSyncDevicesRequest, opts ...grpc.CallOption) (*RequestSyncDevicesResponse, error)
|
|
// Reports device state and optionally sends device notifications. Called by
|
|
// an agent when the device state of a third-party changes or the agent wants
|
|
// to send a notification about the device.
|
|
// This method updates a predefined set of States for a device, which all
|
|
// devices have (for example a light will have OnOff, Color, Brightness).
|
|
// A new State may not be created and an INVALID_ARGUMENT code will be thrown
|
|
// if so. It also optionally takes in a list of Notifications that may be
|
|
// created, which are associated to this State change.
|
|
//
|
|
// Third-party user's identity is passed in as agent_user_id.
|
|
// Agent is identified by the JWT signed by the partner's service account.
|
|
ReportStateAndNotification(ctx context.Context, in *ReportStateAndNotificationRequest, opts ...grpc.CallOption) (*ReportStateAndNotificationResponse, error)
|
|
// Unlink an agent user from Google. As result, all data related to this user
|
|
// will be deleted.
|
|
//
|
|
// Here is how the agent user is created in Google:
|
|
// When users open their Google Home App, they can begin linking a 3p
|
|
// partner. User is guided through the OAuth process. After entering the 3p
|
|
// credentials, Google gets the 3p OAuth token, and uses it to make a
|
|
// Sync call to the 3p partner and gets back all the user's data, including
|
|
// agent_user_id and devices.
|
|
// Google then creates the agent user and stores a mapping from the
|
|
// agent_user_id -> Google ID mapping. Google also stores all user's devices
|
|
// under that Google ID.
|
|
// The mapping from agent_user_id -> Google ID is many to many, since one
|
|
// Google user can have multiple 3p accounts, and multiple Google users can
|
|
// map to one agent_user_id (e.g. husband and wife share one Nest account
|
|
// username/password).
|
|
//
|
|
// Third-party user's identity is passed in as agent_user_id
|
|
// Agent is identified by the JWT signed by the partner's service account.
|
|
//
|
|
// Note: Special characters (except "/") in agent_user_id must be URL encoded.
|
|
DeleteAgentUser(ctx context.Context, in *DeleteAgentUserRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
// Gets the device states for the devices in QueryRequest.
|
|
// Third-party user's identity is passed in as agent_user_id. Agent is
|
|
// identified by the JWT signed by the third-party partner's service account.
|
|
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
|
|
// Gets all the devices associated with the given third-party user.
|
|
// Third-party user's identity is passed in as agent_user_id. Agent is
|
|
// identified by the JWT signed by the third-party partner's service account.
|
|
Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
|
|
}
|
|
|
|
type homeGraphApiServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewHomeGraphApiServiceClient(cc *grpc.ClientConn) HomeGraphApiServiceClient {
|
|
return &homeGraphApiServiceClient{cc}
|
|
}
|
|
|
|
func (c *homeGraphApiServiceClient) RequestSyncDevices(ctx context.Context, in *RequestSyncDevicesRequest, opts ...grpc.CallOption) (*RequestSyncDevicesResponse, error) {
|
|
out := new(RequestSyncDevicesResponse)
|
|
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/RequestSyncDevices", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *homeGraphApiServiceClient) ReportStateAndNotification(ctx context.Context, in *ReportStateAndNotificationRequest, opts ...grpc.CallOption) (*ReportStateAndNotificationResponse, error) {
|
|
out := new(ReportStateAndNotificationResponse)
|
|
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/ReportStateAndNotification", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *homeGraphApiServiceClient) DeleteAgentUser(ctx context.Context, in *DeleteAgentUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
out := new(empty.Empty)
|
|
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/DeleteAgentUser", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *homeGraphApiServiceClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) {
|
|
out := new(QueryResponse)
|
|
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/Query", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *homeGraphApiServiceClient) Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) {
|
|
out := new(SyncResponse)
|
|
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/Sync", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// HomeGraphApiServiceServer is the server API for HomeGraphApiService service.
|
|
type HomeGraphApiServiceServer interface {
|
|
// Requests a Sync call from Google to a 3p partner's home control agent for
|
|
// a user.
|
|
//
|
|
//
|
|
// Third-party user's identity is passed in as agent_user_id.
|
|
// (see [RequestSyncDevicesRequest][google.home.graph.v1.RequestSyncDevicesRequest]) and forwarded back to the agent.
|
|
// Agent is identified by the API key or JWT signed by the partner's service
|
|
// account.
|
|
RequestSyncDevices(context.Context, *RequestSyncDevicesRequest) (*RequestSyncDevicesResponse, error)
|
|
// Reports device state and optionally sends device notifications. Called by
|
|
// an agent when the device state of a third-party changes or the agent wants
|
|
// to send a notification about the device.
|
|
// This method updates a predefined set of States for a device, which all
|
|
// devices have (for example a light will have OnOff, Color, Brightness).
|
|
// A new State may not be created and an INVALID_ARGUMENT code will be thrown
|
|
// if so. It also optionally takes in a list of Notifications that may be
|
|
// created, which are associated to this State change.
|
|
//
|
|
// Third-party user's identity is passed in as agent_user_id.
|
|
// Agent is identified by the JWT signed by the partner's service account.
|
|
ReportStateAndNotification(context.Context, *ReportStateAndNotificationRequest) (*ReportStateAndNotificationResponse, error)
|
|
// Unlink an agent user from Google. As result, all data related to this user
|
|
// will be deleted.
|
|
//
|
|
// Here is how the agent user is created in Google:
|
|
// When users open their Google Home App, they can begin linking a 3p
|
|
// partner. User is guided through the OAuth process. After entering the 3p
|
|
// credentials, Google gets the 3p OAuth token, and uses it to make a
|
|
// Sync call to the 3p partner and gets back all the user's data, including
|
|
// agent_user_id and devices.
|
|
// Google then creates the agent user and stores a mapping from the
|
|
// agent_user_id -> Google ID mapping. Google also stores all user's devices
|
|
// under that Google ID.
|
|
// The mapping from agent_user_id -> Google ID is many to many, since one
|
|
// Google user can have multiple 3p accounts, and multiple Google users can
|
|
// map to one agent_user_id (e.g. husband and wife share one Nest account
|
|
// username/password).
|
|
//
|
|
// Third-party user's identity is passed in as agent_user_id
|
|
// Agent is identified by the JWT signed by the partner's service account.
|
|
//
|
|
// Note: Special characters (except "/") in agent_user_id must be URL encoded.
|
|
DeleteAgentUser(context.Context, *DeleteAgentUserRequest) (*empty.Empty, error)
|
|
// Gets the device states for the devices in QueryRequest.
|
|
// Third-party user's identity is passed in as agent_user_id. Agent is
|
|
// identified by the JWT signed by the third-party partner's service account.
|
|
Query(context.Context, *QueryRequest) (*QueryResponse, error)
|
|
// Gets all the devices associated with the given third-party user.
|
|
// Third-party user's identity is passed in as agent_user_id. Agent is
|
|
// identified by the JWT signed by the third-party partner's service account.
|
|
Sync(context.Context, *SyncRequest) (*SyncResponse, error)
|
|
}
|
|
|
|
func RegisterHomeGraphApiServiceServer(s *grpc.Server, srv HomeGraphApiServiceServer) {
|
|
s.RegisterService(&_HomeGraphApiService_serviceDesc, srv)
|
|
}
|
|
|
|
func _HomeGraphApiService_RequestSyncDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RequestSyncDevicesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HomeGraphApiServiceServer).RequestSyncDevices(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/google.home.graph.v1.HomeGraphApiService/RequestSyncDevices",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HomeGraphApiServiceServer).RequestSyncDevices(ctx, req.(*RequestSyncDevicesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HomeGraphApiService_ReportStateAndNotification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ReportStateAndNotificationRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HomeGraphApiServiceServer).ReportStateAndNotification(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/google.home.graph.v1.HomeGraphApiService/ReportStateAndNotification",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HomeGraphApiServiceServer).ReportStateAndNotification(ctx, req.(*ReportStateAndNotificationRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HomeGraphApiService_DeleteAgentUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteAgentUserRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HomeGraphApiServiceServer).DeleteAgentUser(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/google.home.graph.v1.HomeGraphApiService/DeleteAgentUser",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HomeGraphApiServiceServer).DeleteAgentUser(ctx, req.(*DeleteAgentUserRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HomeGraphApiService_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(QueryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HomeGraphApiServiceServer).Query(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/google.home.graph.v1.HomeGraphApiService/Query",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HomeGraphApiServiceServer).Query(ctx, req.(*QueryRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HomeGraphApiService_Sync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SyncRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HomeGraphApiServiceServer).Sync(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/google.home.graph.v1.HomeGraphApiService/Sync",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HomeGraphApiServiceServer).Sync(ctx, req.(*SyncRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _HomeGraphApiService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "google.home.graph.v1.HomeGraphApiService",
|
|
HandlerType: (*HomeGraphApiServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "RequestSyncDevices",
|
|
Handler: _HomeGraphApiService_RequestSyncDevices_Handler,
|
|
},
|
|
{
|
|
MethodName: "ReportStateAndNotification",
|
|
Handler: _HomeGraphApiService_ReportStateAndNotification_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteAgentUser",
|
|
Handler: _HomeGraphApiService_DeleteAgentUser_Handler,
|
|
},
|
|
{
|
|
MethodName: "Query",
|
|
Handler: _HomeGraphApiService_Query_Handler,
|
|
},
|
|
{
|
|
MethodName: "Sync",
|
|
Handler: _HomeGraphApiService_Sync_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "google/home/graph/v1/homegraph.proto",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("google/home/graph/v1/homegraph.proto", fileDescriptor_homegraph_5a60696c46a9dcf0)
|
|
}
|
|
|
|
var fileDescriptor_homegraph_5a60696c46a9dcf0 = []byte{
|
|
// 850 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xeb, 0x44,
|
|
0x14, 0x96, 0x93, 0x9b, 0xf6, 0xde, 0x93, 0x06, 0xee, 0x9d, 0x96, 0x36, 0x4d, 0x83, 0x48, 0xa6,
|
|
0x08, 0xd2, 0x00, 0x36, 0x09, 0x52, 0x5b, 0x8a, 0x2a, 0xd4, 0x3f, 0x41, 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