| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v4.24.4 |
| 19 |
// source: google/home/graph/v1/homegraph.proto |
| 20 |
|
| 21 |
package graph |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
grpc "google.golang.org/grpc" |
| 30 |
codes "google.golang.org/grpc/codes" |
| 31 |
status "google.golang.org/grpc/status" |
| 32 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 33 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 34 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 35 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 36 |
) |
| 37 |
|
| 38 |
const ( |
| 39 |
// Verify that this generated code is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 41 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 42 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 43 |
) |
| 44 |
|
| 45 |
// Request type for the |
| 46 |
// [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) |
| 47 |
// call. |
| 48 |
type RequestSyncDevicesRequest struct { |
| 49 |
state protoimpl.MessageState |
| 50 |
sizeCache protoimpl.SizeCache |
| 51 |
unknownFields protoimpl.UnknownFields |
| 52 |
|
| 53 |
// Required. Third-party user ID. |
| 54 |
AgentUserId string `protobuf:"bytes,1,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` |
| 55 |
// Optional. If set, the request will be added to a queue and a response will |
| 56 |
// be returned immediately. This enables concurrent requests for the given |
| 57 |
// `agent_user_id`, but the caller will not receive any error responses. |
| 58 |
Async bool `protobuf:"varint,2,opt,name=async,proto3" json:"async,omitempty"` |
| 59 |
} |
| 60 |
|
| 61 |
func (x *RequestSyncDevicesRequest) Reset() { |
| 62 |
*x = RequestSyncDevicesRequest{} |
| 63 |
if protoimpl.UnsafeEnabled { |
| 64 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[0] |
| 65 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 66 |
ms.StoreMessageInfo(mi) |
| 67 |
} |
| 68 |
} |
| 69 |
|
| 70 |
func (x *RequestSyncDevicesRequest) String() string { |
| 71 |
return protoimpl.X.MessageStringOf(x) |
| 72 |
} |
| 73 |
|
| 74 |
func (*RequestSyncDevicesRequest) ProtoMessage() {} |
| 75 |
|
| 76 |
func (x *RequestSyncDevicesRequest) ProtoReflect() protoreflect.Message { |
| 77 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[0] |
| 78 |
if protoimpl.UnsafeEnabled && x != nil { |
| 79 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 80 |
if ms.LoadMessageInfo() == nil { |
| 81 |
ms.StoreMessageInfo(mi) |
| 82 |
} |
| 83 |
return ms |
| 84 |
} |
| 85 |
return mi.MessageOf(x) |
| 86 |
} |
| 87 |
|
| 88 |
// Deprecated: Use RequestSyncDevicesRequest.ProtoReflect.Descriptor instead. |
| 89 |
func (*RequestSyncDevicesRequest) Descriptor() ([]byte, []int) { |
| 90 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{0} |
| 91 |
} |
| 92 |
|
| 93 |
func (x *RequestSyncDevicesRequest) GetAgentUserId() string { |
| 94 |
if x != nil { |
| 95 |
return x.AgentUserId |
| 96 |
} |
| 97 |
return "" |
| 98 |
} |
| 99 |
|
| 100 |
func (x *RequestSyncDevicesRequest) GetAsync() bool { |
| 101 |
if x != nil { |
| 102 |
return x.Async |
| 103 |
} |
| 104 |
return false |
| 105 |
} |
| 106 |
|
| 107 |
// Response type for the |
| 108 |
// [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) |
| 109 |
// call. |
| 110 |
// |
| 111 |
// Intentionally empty upon success. An HTTP response code is returned |
| 112 |
// with more details upon failure. |
| 113 |
type RequestSyncDevicesResponse struct { |
| 114 |
state protoimpl.MessageState |
| 115 |
sizeCache protoimpl.SizeCache |
| 116 |
unknownFields protoimpl.UnknownFields |
| 117 |
} |
| 118 |
|
| 119 |
func (x *RequestSyncDevicesResponse) Reset() { |
| 120 |
*x = RequestSyncDevicesResponse{} |
| 121 |
if protoimpl.UnsafeEnabled { |
| 122 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[1] |
| 123 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 124 |
ms.StoreMessageInfo(mi) |
| 125 |
} |
| 126 |
} |
| 127 |
|
| 128 |
func (x *RequestSyncDevicesResponse) String() string { |
| 129 |
return protoimpl.X.MessageStringOf(x) |
| 130 |
} |
| 131 |
|
| 132 |
func (*RequestSyncDevicesResponse) ProtoMessage() {} |
| 133 |
|
| 134 |
func (x *RequestSyncDevicesResponse) ProtoReflect() protoreflect.Message { |
| 135 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[1] |
| 136 |
if protoimpl.UnsafeEnabled && x != nil { |
| 137 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 138 |
if ms.LoadMessageInfo() == nil { |
| 139 |
ms.StoreMessageInfo(mi) |
| 140 |
} |
| 141 |
return ms |
| 142 |
} |
| 143 |
return mi.MessageOf(x) |
| 144 |
} |
| 145 |
|
| 146 |
// Deprecated: Use RequestSyncDevicesResponse.ProtoReflect.Descriptor instead. |
| 147 |
func (*RequestSyncDevicesResponse) Descriptor() ([]byte, []int) { |
| 148 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{1} |
| 149 |
} |
| 150 |
|
| 151 |
// Request type for the |
| 152 |
// [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) |
| 153 |
// call. It may include states, notifications, or both. States and notifications |
| 154 |
// are defined per `device_id` (for example, "123" and "456" in the following |
| 155 |
// example). |
| 156 |
// |
| 157 |
// Example: |
| 158 |
// |
| 159 |
// ```json |
| 160 |
// |
| 161 |
// { |
| 162 |
// "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", |
| 163 |
// "agentUserId": "1234", |
| 164 |
// "payload": { |
| 165 |
// "devices": { |
| 166 |
// "states": { |
| 167 |
// "123": { |
| 168 |
// "on": true |
| 169 |
// }, |
| 170 |
// "456": { |
| 171 |
// "on": true, |
| 172 |
// "brightness": 10 |
| 173 |
// } |
| 174 |
// }, |
| 175 |
// } |
| 176 |
// } |
| 177 |
// } |
| 178 |
// |
| 179 |
// ``` |
| 180 |
type ReportStateAndNotificationRequest struct { |
| 181 |
state protoimpl.MessageState |
| 182 |
sizeCache protoimpl.SizeCache |
| 183 |
unknownFields protoimpl.UnknownFields |
| 184 |
|
| 185 |
// Request ID used for debugging. |
| 186 |
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 187 |
// Unique identifier per event (for example, a doorbell press). |
| 188 |
EventId string `protobuf:"bytes,4,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` |
| 189 |
// Required. Third-party user ID. |
| 190 |
AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` |
| 191 |
// Deprecated. |
| 192 |
// |
| 193 |
// Deprecated: Do not use. |
| 194 |
FollowUpToken string `protobuf:"bytes,5,opt,name=follow_up_token,json=followUpToken,proto3" json:"follow_up_token,omitempty"` |
| 195 |
// Required. State of devices to update and notification metadata for devices. |
| 196 |
Payload *StateAndNotificationPayload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` |
| 197 |
} |
| 198 |
|
| 199 |
func (x *ReportStateAndNotificationRequest) Reset() { |
| 200 |
*x = ReportStateAndNotificationRequest{} |
| 201 |
if protoimpl.UnsafeEnabled { |
| 202 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[2] |
| 203 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 204 |
ms.StoreMessageInfo(mi) |
| 205 |
} |
| 206 |
} |
| 207 |
|
| 208 |
func (x *ReportStateAndNotificationRequest) String() string { |
| 209 |
return protoimpl.X.MessageStringOf(x) |
| 210 |
} |
| 211 |
|
| 212 |
func (*ReportStateAndNotificationRequest) ProtoMessage() {} |
| 213 |
|
| 214 |
func (x *ReportStateAndNotificationRequest) ProtoReflect() protoreflect.Message { |
| 215 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[2] |
| 216 |
if protoimpl.UnsafeEnabled && x != nil { |
| 217 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 218 |
if ms.LoadMessageInfo() == nil { |
| 219 |
ms.StoreMessageInfo(mi) |
| 220 |
} |
| 221 |
return ms |
| 222 |
} |
| 223 |
return mi.MessageOf(x) |
| 224 |
} |
| 225 |
|
| 226 |
// Deprecated: Use ReportStateAndNotificationRequest.ProtoReflect.Descriptor instead. |
| 227 |
func (*ReportStateAndNotificationRequest) Descriptor() ([]byte, []int) { |
| 228 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{2} |
| 229 |
} |
| 230 |
|
| 231 |
func (x *ReportStateAndNotificationRequest) GetRequestId() string { |
| 232 |
if x != nil { |
| 233 |
return x.RequestId |
| 234 |
} |
| 235 |
return "" |
| 236 |
} |
| 237 |
|
| 238 |
func (x *ReportStateAndNotificationRequest) GetEventId() string { |
| 239 |
if x != nil { |
| 240 |
return x.EventId |
| 241 |
} |
| 242 |
return "" |
| 243 |
} |
| 244 |
|
| 245 |
func (x *ReportStateAndNotificationRequest) GetAgentUserId() string { |
| 246 |
if x != nil { |
| 247 |
return x.AgentUserId |
| 248 |
} |
| 249 |
return "" |
| 250 |
} |
| 251 |
|
| 252 |
// Deprecated: Do not use. |
| 253 |
func (x *ReportStateAndNotificationRequest) GetFollowUpToken() string { |
| 254 |
if x != nil { |
| 255 |
return x.FollowUpToken |
| 256 |
} |
| 257 |
return "" |
| 258 |
} |
| 259 |
|
| 260 |
func (x *ReportStateAndNotificationRequest) GetPayload() *StateAndNotificationPayload { |
| 261 |
if x != nil { |
| 262 |
return x.Payload |
| 263 |
} |
| 264 |
return nil |
| 265 |
} |
| 266 |
|
| 267 |
// Response type for the |
| 268 |
// [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) |
| 269 |
// call. |
| 270 |
type ReportStateAndNotificationResponse struct { |
| 271 |
state protoimpl.MessageState |
| 272 |
sizeCache protoimpl.SizeCache |
| 273 |
unknownFields protoimpl.UnknownFields |
| 274 |
|
| 275 |
// Request ID copied from |
| 276 |
// [ReportStateAndNotificationRequest][google.home.graph.v1.ReportStateAndNotificationRequest]. |
| 277 |
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 278 |
} |
| 279 |
|
| 280 |
func (x *ReportStateAndNotificationResponse) Reset() { |
| 281 |
*x = ReportStateAndNotificationResponse{} |
| 282 |
if protoimpl.UnsafeEnabled { |
| 283 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[3] |
| 284 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 285 |
ms.StoreMessageInfo(mi) |
| 286 |
} |
| 287 |
} |
| 288 |
|
| 289 |
func (x *ReportStateAndNotificationResponse) String() string { |
| 290 |
return protoimpl.X.MessageStringOf(x) |
| 291 |
} |
| 292 |
|
| 293 |
func (*ReportStateAndNotificationResponse) ProtoMessage() {} |
| 294 |
|
| 295 |
func (x *ReportStateAndNotificationResponse) ProtoReflect() protoreflect.Message { |
| 296 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[3] |
| 297 |
if protoimpl.UnsafeEnabled && x != nil { |
| 298 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 299 |
if ms.LoadMessageInfo() == nil { |
| 300 |
ms.StoreMessageInfo(mi) |
| 301 |
} |
| 302 |
return ms |
| 303 |
} |
| 304 |
return mi.MessageOf(x) |
| 305 |
} |
| 306 |
|
| 307 |
// Deprecated: Use ReportStateAndNotificationResponse.ProtoReflect.Descriptor instead. |
| 308 |
func (*ReportStateAndNotificationResponse) Descriptor() ([]byte, []int) { |
| 309 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{3} |
| 310 |
} |
| 311 |
|
| 312 |
func (x *ReportStateAndNotificationResponse) GetRequestId() string { |
| 313 |
if x != nil { |
| 314 |
return x.RequestId |
| 315 |
} |
| 316 |
return "" |
| 317 |
} |
| 318 |
|
| 319 |
// Payload containing the state and notification information for devices. |
| 320 |
type StateAndNotificationPayload struct { |
| 321 |
state protoimpl.MessageState |
| 322 |
sizeCache protoimpl.SizeCache |
| 323 |
unknownFields protoimpl.UnknownFields |
| 324 |
|
| 325 |
// The devices for updating state and sending notifications. |
| 326 |
Devices *ReportStateAndNotificationDevice `protobuf:"bytes,1,opt,name=devices,proto3" json:"devices,omitempty"` |
| 327 |
} |
| 328 |
|
| 329 |
func (x *StateAndNotificationPayload) Reset() { |
| 330 |
*x = StateAndNotificationPayload{} |
| 331 |
if protoimpl.UnsafeEnabled { |
| 332 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[4] |
| 333 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 334 |
ms.StoreMessageInfo(mi) |
| 335 |
} |
| 336 |
} |
| 337 |
|
| 338 |
func (x *StateAndNotificationPayload) String() string { |
| 339 |
return protoimpl.X.MessageStringOf(x) |
| 340 |
} |
| 341 |
|
| 342 |
func (*StateAndNotificationPayload) ProtoMessage() {} |
| 343 |
|
| 344 |
func (x *StateAndNotificationPayload) ProtoReflect() protoreflect.Message { |
| 345 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[4] |
| 346 |
if protoimpl.UnsafeEnabled && x != nil { |
| 347 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 348 |
if ms.LoadMessageInfo() == nil { |
| 349 |
ms.StoreMessageInfo(mi) |
| 350 |
} |
| 351 |
return ms |
| 352 |
} |
| 353 |
return mi.MessageOf(x) |
| 354 |
} |
| 355 |
|
| 356 |
// Deprecated: Use StateAndNotificationPayload.ProtoReflect.Descriptor instead. |
| 357 |
func (*StateAndNotificationPayload) Descriptor() ([]byte, []int) { |
| 358 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{4} |
| 359 |
} |
| 360 |
|
| 361 |
func (x *StateAndNotificationPayload) GetDevices() *ReportStateAndNotificationDevice { |
| 362 |
if x != nil { |
| 363 |
return x.Devices |
| 364 |
} |
| 365 |
return nil |
| 366 |
} |
| 367 |
|
| 368 |
// The states and notifications specific to a device. |
| 369 |
type ReportStateAndNotificationDevice struct { |
| 370 |
state protoimpl.MessageState |
| 371 |
sizeCache protoimpl.SizeCache |
| 372 |
unknownFields protoimpl.UnknownFields |
| 373 |
|
| 374 |
// States of devices to update. See the **Device STATES** section |
| 375 |
// of the individual trait [reference |
| 376 |
// guides](https://developers.home.google.com/cloud-to-cloud/traits). |
| 377 |
States *structpb.Struct `protobuf:"bytes,1,opt,name=states,proto3" json:"states,omitempty"` |
| 378 |
// Notifications metadata for devices. See the **Device NOTIFICATIONS** |
| 379 |
// section of the individual trait [reference |
| 380 |
// guides](https://developers.home.google.com/cloud-to-cloud/traits). |
| 381 |
Notifications *structpb.Struct `protobuf:"bytes,2,opt,name=notifications,proto3" json:"notifications,omitempty"` |
| 382 |
} |
| 383 |
|
| 384 |
func (x *ReportStateAndNotificationDevice) Reset() { |
| 385 |
*x = ReportStateAndNotificationDevice{} |
| 386 |
if protoimpl.UnsafeEnabled { |
| 387 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[5] |
| 388 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 389 |
ms.StoreMessageInfo(mi) |
| 390 |
} |
| 391 |
} |
| 392 |
|
| 393 |
func (x *ReportStateAndNotificationDevice) String() string { |
| 394 |
return protoimpl.X.MessageStringOf(x) |
| 395 |
} |
| 396 |
|
| 397 |
func (*ReportStateAndNotificationDevice) ProtoMessage() {} |
| 398 |
|
| 399 |
func (x *ReportStateAndNotificationDevice) ProtoReflect() protoreflect.Message { |
| 400 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[5] |
| 401 |
if protoimpl.UnsafeEnabled && x != nil { |
| 402 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 403 |
if ms.LoadMessageInfo() == nil { |
| 404 |
ms.StoreMessageInfo(mi) |
| 405 |
} |
| 406 |
return ms |
| 407 |
} |
| 408 |
return mi.MessageOf(x) |
| 409 |
} |
| 410 |
|
| 411 |
// Deprecated: Use ReportStateAndNotificationDevice.ProtoReflect.Descriptor instead. |
| 412 |
func (*ReportStateAndNotificationDevice) Descriptor() ([]byte, []int) { |
| 413 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{5} |
| 414 |
} |
| 415 |
|
| 416 |
func (x *ReportStateAndNotificationDevice) GetStates() *structpb.Struct { |
| 417 |
if x != nil { |
| 418 |
return x.States |
| 419 |
} |
| 420 |
return nil |
| 421 |
} |
| 422 |
|
| 423 |
func (x *ReportStateAndNotificationDevice) GetNotifications() *structpb.Struct { |
| 424 |
if x != nil { |
| 425 |
return x.Notifications |
| 426 |
} |
| 427 |
return nil |
| 428 |
} |
| 429 |
|
| 430 |
// Request type for the |
| 431 |
// [`DeleteAgentUser`](#google.home.graph.v1.HomeGraphApiService.DeleteAgentUser) |
| 432 |
// call. |
| 433 |
type DeleteAgentUserRequest struct { |
| 434 |
state protoimpl.MessageState |
| 435 |
sizeCache protoimpl.SizeCache |
| 436 |
unknownFields protoimpl.UnknownFields |
| 437 |
|
| 438 |
// Request ID used for debugging. |
| 439 |
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 440 |
// Required. Third-party user ID. |
| 441 |
AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` |
| 442 |
} |
| 443 |
|
| 444 |
func (x *DeleteAgentUserRequest) Reset() { |
| 445 |
*x = DeleteAgentUserRequest{} |
| 446 |
if protoimpl.UnsafeEnabled { |
| 447 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[6] |
| 448 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 449 |
ms.StoreMessageInfo(mi) |
| 450 |
} |
| 451 |
} |
| 452 |
|
| 453 |
func (x *DeleteAgentUserRequest) String() string { |
| 454 |
return protoimpl.X.MessageStringOf(x) |
| 455 |
} |
| 456 |
|
| 457 |
func (*DeleteAgentUserRequest) ProtoMessage() {} |
| 458 |
|
| 459 |
func (x *DeleteAgentUserRequest) ProtoReflect() protoreflect.Message { |
| 460 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[6] |
| 461 |
if protoimpl.UnsafeEnabled && x != nil { |
| 462 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 463 |
if ms.LoadMessageInfo() == nil { |
| 464 |
ms.StoreMessageInfo(mi) |
| 465 |
} |
| 466 |
return ms |
| 467 |
} |
| 468 |
return mi.MessageOf(x) |
| 469 |
} |
| 470 |
|
| 471 |
// Deprecated: Use DeleteAgentUserRequest.ProtoReflect.Descriptor instead. |
| 472 |
func (*DeleteAgentUserRequest) Descriptor() ([]byte, []int) { |
| 473 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{6} |
| 474 |
} |
| 475 |
|
| 476 |
func (x *DeleteAgentUserRequest) GetRequestId() string { |
| 477 |
if x != nil { |
| 478 |
return x.RequestId |
| 479 |
} |
| 480 |
return "" |
| 481 |
} |
| 482 |
|
| 483 |
func (x *DeleteAgentUserRequest) GetAgentUserId() string { |
| 484 |
if x != nil { |
| 485 |
return x.AgentUserId |
| 486 |
} |
| 487 |
return "" |
| 488 |
} |
| 489 |
|
| 490 |
// Request type for the |
| 491 |
// [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. |
| 492 |
type QueryRequest struct { |
| 493 |
state protoimpl.MessageState |
| 494 |
sizeCache protoimpl.SizeCache |
| 495 |
unknownFields protoimpl.UnknownFields |
| 496 |
|
| 497 |
// Request ID used for debugging. |
| 498 |
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 499 |
// Required. Third-party user ID. |
| 500 |
AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` |
| 501 |
// Required. Inputs containing third-party device IDs for which to |
| 502 |
// get the device states. |
| 503 |
Inputs []*QueryRequestInput `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` |
| 504 |
} |
| 505 |
|
| 506 |
func (x *QueryRequest) Reset() { |
| 507 |
*x = QueryRequest{} |
| 508 |
if protoimpl.UnsafeEnabled { |
| 509 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[7] |
| 510 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 511 |
ms.StoreMessageInfo(mi) |
| 512 |
} |
| 513 |
} |
| 514 |
|
| 515 |
func (x *QueryRequest) String() string { |
| 516 |
return protoimpl.X.MessageStringOf(x) |
| 517 |
} |
| 518 |
|
| 519 |
func (*QueryRequest) ProtoMessage() {} |
| 520 |
|
| 521 |
func (x *QueryRequest) ProtoReflect() protoreflect.Message { |
| 522 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[7] |
| 523 |
if protoimpl.UnsafeEnabled && x != nil { |
| 524 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 525 |
if ms.LoadMessageInfo() == nil { |
| 526 |
ms.StoreMessageInfo(mi) |
| 527 |
} |
| 528 |
return ms |
| 529 |
} |
| 530 |
return mi.MessageOf(x) |
| 531 |
} |
| 532 |
|
| 533 |
// Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead. |
| 534 |
func (*QueryRequest) Descriptor() ([]byte, []int) { |
| 535 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{7} |
| 536 |
} |
| 537 |
|
| 538 |
func (x *QueryRequest) GetRequestId() string { |
| 539 |
if x != nil { |
| 540 |
return x.RequestId |
| 541 |
} |
| 542 |
return "" |
| 543 |
} |
| 544 |
|
| 545 |
func (x *QueryRequest) GetAgentUserId() string { |
| 546 |
if x != nil { |
| 547 |
return x.AgentUserId |
| 548 |
} |
| 549 |
return "" |
| 550 |
} |
| 551 |
|
| 552 |
func (x *QueryRequest) GetInputs() []*QueryRequestInput { |
| 553 |
if x != nil { |
| 554 |
return x.Inputs |
| 555 |
} |
| 556 |
return nil |
| 557 |
} |
| 558 |
|
| 559 |
// Device ID inputs to [QueryRequest][google.home.graph.v1.QueryRequest]. |
| 560 |
type QueryRequestInput struct { |
| 561 |
state protoimpl.MessageState |
| 562 |
sizeCache protoimpl.SizeCache |
| 563 |
unknownFields protoimpl.UnknownFields |
| 564 |
|
| 565 |
// Payload containing third-party device IDs. |
| 566 |
Payload *QueryRequestPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` |
| 567 |
} |
| 568 |
|
| 569 |
func (x *QueryRequestInput) Reset() { |
| 570 |
*x = QueryRequestInput{} |
| 571 |
if protoimpl.UnsafeEnabled { |
| 572 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[8] |
| 573 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 574 |
ms.StoreMessageInfo(mi) |
| 575 |
} |
| 576 |
} |
| 577 |
|
| 578 |
func (x *QueryRequestInput) String() string { |
| 579 |
return protoimpl.X.MessageStringOf(x) |
| 580 |
} |
| 581 |
|
| 582 |
func (*QueryRequestInput) ProtoMessage() {} |
| 583 |
|
| 584 |
func (x *QueryRequestInput) ProtoReflect() protoreflect.Message { |
| 585 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[8] |
| 586 |
if protoimpl.UnsafeEnabled && x != nil { |
| 587 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 588 |
if ms.LoadMessageInfo() == nil { |
| 589 |
ms.StoreMessageInfo(mi) |
| 590 |
} |
| 591 |
return ms |
| 592 |
} |
| 593 |
return mi.MessageOf(x) |
| 594 |
} |
| 595 |
|
| 596 |
// Deprecated: Use QueryRequestInput.ProtoReflect.Descriptor instead. |
| 597 |
func (*QueryRequestInput) Descriptor() ([]byte, []int) { |
| 598 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{8} |
| 599 |
} |
| 600 |
|
| 601 |
func (x *QueryRequestInput) GetPayload() *QueryRequestPayload { |
| 602 |
if x != nil { |
| 603 |
return x.Payload |
| 604 |
} |
| 605 |
return nil |
| 606 |
} |
| 607 |
|
| 608 |
// Payload containing device IDs. |
| 609 |
type QueryRequestPayload struct { |
| 610 |
state protoimpl.MessageState |
| 611 |
sizeCache protoimpl.SizeCache |
| 612 |
unknownFields protoimpl.UnknownFields |
| 613 |
|
| 614 |
// Third-party device IDs for which to get the device states. |
| 615 |
Devices []*AgentDeviceId `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` |
| 616 |
} |
| 617 |
|
| 618 |
func (x *QueryRequestPayload) Reset() { |
| 619 |
*x = QueryRequestPayload{} |
| 620 |
if protoimpl.UnsafeEnabled { |
| 621 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[9] |
| 622 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 623 |
ms.StoreMessageInfo(mi) |
| 624 |
} |
| 625 |
} |
| 626 |
|
| 627 |
func (x *QueryRequestPayload) String() string { |
| 628 |
return protoimpl.X.MessageStringOf(x) |
| 629 |
} |
| 630 |
|
| 631 |
func (*QueryRequestPayload) ProtoMessage() {} |
| 632 |
|
| 633 |
func (x *QueryRequestPayload) ProtoReflect() protoreflect.Message { |
| 634 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[9] |
| 635 |
if protoimpl.UnsafeEnabled && x != nil { |
| 636 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 637 |
if ms.LoadMessageInfo() == nil { |
| 638 |
ms.StoreMessageInfo(mi) |
| 639 |
} |
| 640 |
return ms |
| 641 |
} |
| 642 |
return mi.MessageOf(x) |
| 643 |
} |
| 644 |
|
| 645 |
// Deprecated: Use QueryRequestPayload.ProtoReflect.Descriptor instead. |
| 646 |
func (*QueryRequestPayload) Descriptor() ([]byte, []int) { |
| 647 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{9} |
| 648 |
} |
| 649 |
|
| 650 |
func (x *QueryRequestPayload) GetDevices() []*AgentDeviceId { |
| 651 |
if x != nil { |
| 652 |
return x.Devices |
| 653 |
} |
| 654 |
return nil |
| 655 |
} |
| 656 |
|
| 657 |
// Third-party device ID for one device. |
| 658 |
type AgentDeviceId struct { |
| 659 |
state protoimpl.MessageState |
| 660 |
sizeCache protoimpl.SizeCache |
| 661 |
unknownFields protoimpl.UnknownFields |
| 662 |
|
| 663 |
// Third-party device ID. |
| 664 |
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 665 |
} |
| 666 |
|
| 667 |
func (x *AgentDeviceId) Reset() { |
| 668 |
*x = AgentDeviceId{} |
| 669 |
if protoimpl.UnsafeEnabled { |
| 670 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[10] |
| 671 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 672 |
ms.StoreMessageInfo(mi) |
| 673 |
} |
| 674 |
} |
| 675 |
|
| 676 |
func (x *AgentDeviceId) String() string { |
| 677 |
return protoimpl.X.MessageStringOf(x) |
| 678 |
} |
| 679 |
|
| 680 |
func (*AgentDeviceId) ProtoMessage() {} |
| 681 |
|
| 682 |
func (x *AgentDeviceId) ProtoReflect() protoreflect.Message { |
| 683 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[10] |
| 684 |
if protoimpl.UnsafeEnabled && x != nil { |
| 685 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 686 |
if ms.LoadMessageInfo() == nil { |
| 687 |
ms.StoreMessageInfo(mi) |
| 688 |
} |
| 689 |
return ms |
| 690 |
} |
| 691 |
return mi.MessageOf(x) |
| 692 |
} |
| 693 |
|
| 694 |
// Deprecated: Use AgentDeviceId.ProtoReflect.Descriptor instead. |
| 695 |
func (*AgentDeviceId) Descriptor() ([]byte, []int) { |
| 696 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{10} |
| 697 |
} |
| 698 |
|
| 699 |
func (x *AgentDeviceId) GetId() string { |
| 700 |
if x != nil { |
| 701 |
return x.Id |
| 702 |
} |
| 703 |
return "" |
| 704 |
} |
| 705 |
|
| 706 |
// Response type for the |
| 707 |
// [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. |
| 708 |
// This should follow the same format as the Google smart home |
| 709 |
// `action.devices.QUERY` |
| 710 |
// [response](https://developers.home.google.com/cloud-to-cloud/intents/query). |
| 711 |
// |
| 712 |
// Example: |
| 713 |
// |
| 714 |
// ```json |
| 715 |
// |
| 716 |
// { |
| 717 |
// "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", |
| 718 |
// "payload": { |
| 719 |
// "devices": { |
| 720 |
// "123": { |
| 721 |
// "on": true, |
| 722 |
// "online": true |
| 723 |
// }, |
| 724 |
// "456": { |
| 725 |
// "on": true, |
| 726 |
// "online": true, |
| 727 |
// "brightness": 80, |
| 728 |
// "color": { |
| 729 |
// "name": "cerulean", |
| 730 |
// "spectrumRGB": 31655 |
| 731 |
// } |
| 732 |
// } |
| 733 |
// } |
| 734 |
// } |
| 735 |
// } |
| 736 |
// |
| 737 |
// ``` |
| 738 |
type QueryResponse struct { |
| 739 |
state protoimpl.MessageState |
| 740 |
sizeCache protoimpl.SizeCache |
| 741 |
unknownFields protoimpl.UnknownFields |
| 742 |
|
| 743 |
// Request ID used for debugging. Copied from the request. |
| 744 |
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 745 |
// Device states for the devices given in the request. |
| 746 |
Payload *QueryResponsePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` |
| 747 |
} |
| 748 |
|
| 749 |
func (x *QueryResponse) Reset() { |
| 750 |
*x = QueryResponse{} |
| 751 |
if protoimpl.UnsafeEnabled { |
| 752 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[11] |
| 753 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 754 |
ms.StoreMessageInfo(mi) |
| 755 |
} |
| 756 |
} |
| 757 |
|
| 758 |
func (x *QueryResponse) String() string { |
| 759 |
return protoimpl.X.MessageStringOf(x) |
| 760 |
} |
| 761 |
|
| 762 |
func (*QueryResponse) ProtoMessage() {} |
| 763 |
|
| 764 |
func (x *QueryResponse) ProtoReflect() protoreflect.Message { |
| 765 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[11] |
| 766 |
if protoimpl.UnsafeEnabled && x != nil { |
| 767 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 768 |
if ms.LoadMessageInfo() == nil { |
| 769 |
ms.StoreMessageInfo(mi) |
| 770 |
} |
| 771 |
return ms |
| 772 |
} |
| 773 |
return mi.MessageOf(x) |
| 774 |
} |
| 775 |
|
| 776 |
// Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead. |
| 777 |
func (*QueryResponse) Descriptor() ([]byte, []int) { |
| 778 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{11} |
| 779 |
} |
| 780 |
|
| 781 |
func (x *QueryResponse) GetRequestId() string { |
| 782 |
if x != nil { |
| 783 |
return x.RequestId |
| 784 |
} |
| 785 |
return "" |
| 786 |
} |
| 787 |
|
| 788 |
func (x *QueryResponse) GetPayload() *QueryResponsePayload { |
| 789 |
if x != nil { |
| 790 |
return x.Payload |
| 791 |
} |
| 792 |
return nil |
| 793 |
} |
| 794 |
|
| 795 |
// Payload containing device states information. |
| 796 |
type QueryResponsePayload struct { |
| 797 |
state protoimpl.MessageState |
| 798 |
sizeCache protoimpl.SizeCache |
| 799 |
unknownFields protoimpl.UnknownFields |
| 800 |
|
| 801 |
// States of the devices. Map of third-party device ID to struct of device |
| 802 |
// states. |
| 803 |
Devices map[string]*structpb.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"` |
| 804 |
} |
| 805 |
|
| 806 |
func (x *QueryResponsePayload) Reset() { |
| 807 |
*x = QueryResponsePayload{} |
| 808 |
if protoimpl.UnsafeEnabled { |
| 809 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[12] |
| 810 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 811 |
ms.StoreMessageInfo(mi) |
| 812 |
} |
| 813 |
} |
| 814 |
|
| 815 |
func (x *QueryResponsePayload) String() string { |
| 816 |
return protoimpl.X.MessageStringOf(x) |
| 817 |
} |
| 818 |
|
| 819 |
func (*QueryResponsePayload) ProtoMessage() {} |
| 820 |
|
| 821 |
func (x *QueryResponsePayload) ProtoReflect() protoreflect.Message { |
| 822 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[12] |
| 823 |
if protoimpl.UnsafeEnabled && x != nil { |
| 824 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 825 |
if ms.LoadMessageInfo() == nil { |
| 826 |
ms.StoreMessageInfo(mi) |
| 827 |
} |
| 828 |
return ms |
| 829 |
} |
| 830 |
return mi.MessageOf(x) |
| 831 |
} |
| 832 |
|
| 833 |
// Deprecated: Use QueryResponsePayload.ProtoReflect.Descriptor instead. |
| 834 |
func (*QueryResponsePayload) Descriptor() ([]byte, []int) { |
| 835 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{12} |
| 836 |
} |
| 837 |
|
| 838 |
func (x *QueryResponsePayload) GetDevices() map[string]*structpb.Struct { |
| 839 |
if x != nil { |
| 840 |
return x.Devices |
| 841 |
} |
| 842 |
return nil |
| 843 |
} |
| 844 |
|
| 845 |
// Request type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) |
| 846 |
// call. |
| 847 |
type SyncRequest struct { |
| 848 |
state protoimpl.MessageState |
| 849 |
sizeCache protoimpl.SizeCache |
| 850 |
unknownFields protoimpl.UnknownFields |
| 851 |
|
| 852 |
// Request ID used for debugging. |
| 853 |
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 854 |
// Required. Third-party user ID. |
| 855 |
AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` |
| 856 |
} |
| 857 |
|
| 858 |
func (x *SyncRequest) Reset() { |
| 859 |
*x = SyncRequest{} |
| 860 |
if protoimpl.UnsafeEnabled { |
| 861 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[13] |
| 862 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 863 |
ms.StoreMessageInfo(mi) |
| 864 |
} |
| 865 |
} |
| 866 |
|
| 867 |
func (x *SyncRequest) String() string { |
| 868 |
return protoimpl.X.MessageStringOf(x) |
| 869 |
} |
| 870 |
|
| 871 |
func (*SyncRequest) ProtoMessage() {} |
| 872 |
|
| 873 |
func (x *SyncRequest) ProtoReflect() protoreflect.Message { |
| 874 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[13] |
| 875 |
if protoimpl.UnsafeEnabled && x != nil { |
| 876 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 877 |
if ms.LoadMessageInfo() == nil { |
| 878 |
ms.StoreMessageInfo(mi) |
| 879 |
} |
| 880 |
return ms |
| 881 |
} |
| 882 |
return mi.MessageOf(x) |
| 883 |
} |
| 884 |
|
| 885 |
// Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead. |
| 886 |
func (*SyncRequest) Descriptor() ([]byte, []int) { |
| 887 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{13} |
| 888 |
} |
| 889 |
|
| 890 |
func (x *SyncRequest) GetRequestId() string { |
| 891 |
if x != nil { |
| 892 |
return x.RequestId |
| 893 |
} |
| 894 |
return "" |
| 895 |
} |
| 896 |
|
| 897 |
func (x *SyncRequest) GetAgentUserId() string { |
| 898 |
if x != nil { |
| 899 |
return x.AgentUserId |
| 900 |
} |
| 901 |
return "" |
| 902 |
} |
| 903 |
|
| 904 |
// Response type for the |
| 905 |
// [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call. |
| 906 |
// This should follow the same format as the Google smart home |
| 907 |
// `action.devices.SYNC` |
| 908 |
// [response](https://developers.home.google.com/cloud-to-cloud/intents/sync). |
| 909 |
// |
| 910 |
// Example: |
| 911 |
// |
| 912 |
// ```json |
| 913 |
// |
| 914 |
// { |
| 915 |
// "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", |
| 916 |
// "payload": { |
| 917 |
// "agentUserId": "1836.15267389", |
| 918 |
// "devices": [{ |
| 919 |
// "id": "123", |
| 920 |
// "type": "action.devices.types.OUTLET", |
| 921 |
// "traits": [ |
| 922 |
// "action.devices.traits.OnOff" |
| 923 |
// ], |
| 924 |
// "name": { |
| 925 |
// "defaultNames": ["My Outlet 1234"], |
| 926 |
// "name": "Night light", |
| 927 |
// "nicknames": ["wall plug"] |
| 928 |
// }, |
| 929 |
// "willReportState": false, |
| 930 |
// "deviceInfo": { |
| 931 |
// "manufacturer": "lights-out-inc", |
| 932 |
// "model": "hs1234", |
| 933 |
// "hwVersion": "3.2", |
| 934 |
// "swVersion": "11.4" |
| 935 |
// }, |
| 936 |
// "customData": { |
| 937 |
// "fooValue": 74, |
| 938 |
// "barValue": true, |
| 939 |
// "bazValue": "foo" |
| 940 |
// } |
| 941 |
// }] |
| 942 |
// } |
| 943 |
// } |
| 944 |
// |
| 945 |
// ``` |
| 946 |
type SyncResponse struct { |
| 947 |
state protoimpl.MessageState |
| 948 |
sizeCache protoimpl.SizeCache |
| 949 |
unknownFields protoimpl.UnknownFields |
| 950 |
|
| 951 |
// Request ID used for debugging. Copied from the request. |
| 952 |
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 953 |
// Devices associated with the third-party user. |
| 954 |
Payload *SyncResponsePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` |
| 955 |
} |
| 956 |
|
| 957 |
func (x *SyncResponse) Reset() { |
| 958 |
*x = SyncResponse{} |
| 959 |
if protoimpl.UnsafeEnabled { |
| 960 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[14] |
| 961 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 962 |
ms.StoreMessageInfo(mi) |
| 963 |
} |
| 964 |
} |
| 965 |
|
| 966 |
func (x *SyncResponse) String() string { |
| 967 |
return protoimpl.X.MessageStringOf(x) |
| 968 |
} |
| 969 |
|
| 970 |
func (*SyncResponse) ProtoMessage() {} |
| 971 |
|
| 972 |
func (x *SyncResponse) ProtoReflect() protoreflect.Message { |
| 973 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[14] |
| 974 |
if protoimpl.UnsafeEnabled && x != nil { |
| 975 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 976 |
if ms.LoadMessageInfo() == nil { |
| 977 |
ms.StoreMessageInfo(mi) |
| 978 |
} |
| 979 |
return ms |
| 980 |
} |
| 981 |
return mi.MessageOf(x) |
| 982 |
} |
| 983 |
|
| 984 |
// Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead. |
| 985 |
func (*SyncResponse) Descriptor() ([]byte, []int) { |
| 986 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{14} |
| 987 |
} |
| 988 |
|
| 989 |
func (x *SyncResponse) GetRequestId() string { |
| 990 |
if x != nil { |
| 991 |
return x.RequestId |
| 992 |
} |
| 993 |
return "" |
| 994 |
} |
| 995 |
|
| 996 |
func (x *SyncResponse) GetPayload() *SyncResponsePayload { |
| 997 |
if x != nil { |
| 998 |
return x.Payload |
| 999 |
} |
| 1000 |
return nil |
| 1001 |
} |
| 1002 |
|
| 1003 |
// Payload containing device information. |
| 1004 |
type SyncResponsePayload struct { |
| 1005 |
state protoimpl.MessageState |
| 1006 |
sizeCache protoimpl.SizeCache |
| 1007 |
unknownFields protoimpl.UnknownFields |
| 1008 |
|
| 1009 |
// Third-party user ID |
| 1010 |
AgentUserId string `protobuf:"bytes,1,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` |
| 1011 |
// Devices associated with the third-party user. |
| 1012 |
Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` |
| 1013 |
} |
| 1014 |
|
| 1015 |
func (x *SyncResponsePayload) Reset() { |
| 1016 |
*x = SyncResponsePayload{} |
| 1017 |
if protoimpl.UnsafeEnabled { |
| 1018 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[15] |
| 1019 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1020 |
ms.StoreMessageInfo(mi) |
| 1021 |
} |
| 1022 |
} |
| 1023 |
|
| 1024 |
func (x *SyncResponsePayload) String() string { |
| 1025 |
return protoimpl.X.MessageStringOf(x) |
| 1026 |
} |
| 1027 |
|
| 1028 |
func (*SyncResponsePayload) ProtoMessage() {} |
| 1029 |
|
| 1030 |
func (x *SyncResponsePayload) ProtoReflect() protoreflect.Message { |
| 1031 |
mi := &file_google_home_graph_v1_homegraph_proto_msgTypes[15] |
| 1032 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1033 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1034 |
if ms.LoadMessageInfo() == nil { |
| 1035 |
ms.StoreMessageInfo(mi) |
| 1036 |
} |
| 1037 |
return ms |
| 1038 |
} |
| 1039 |
return mi.MessageOf(x) |
| 1040 |
} |
| 1041 |
|
| 1042 |
// Deprecated: Use SyncResponsePayload.ProtoReflect.Descriptor instead. |
| 1043 |
func (*SyncResponsePayload) Descriptor() ([]byte, []int) { |
| 1044 |
return file_google_home_graph_v1_homegraph_proto_rawDescGZIP(), []int{15} |
| 1045 |
} |
| 1046 |
|
| 1047 |
func (x *SyncResponsePayload) GetAgentUserId() string { |
| 1048 |
if x != nil { |
| 1049 |
return x.AgentUserId |
| 1050 |
} |
| 1051 |
return "" |
| 1052 |
} |
| 1053 |
|
| 1054 |
func (x *SyncResponsePayload) GetDevices() []*Device { |
| 1055 |
if x != nil { |
| 1056 |
return x.Devices |
| 1057 |
} |
| 1058 |
return nil |
| 1059 |
} |
| 1060 |
|
| 1061 |
var File_google_home_graph_v1_homegraph_proto protoreflect.FileDescriptor |
| 1062 |
|
| 1063 |
var file_google_home_graph_v1_homegraph_proto_rawDesc = []byte{ |
| 1064 |
0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x67, 0x72, |
| 1065 |
0x61, 0x70, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x67, 0x72, 0x61, 0x70, 0x68, |
| 1066 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, |
| 1067 |
0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, |
| 1068 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, |
| 1069 |
0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, |
| 1070 |
0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, |
| 1071 |
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 1072 |
0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, |
| 1073 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 1074 |
0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 1075 |
0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x67, 0x72, 0x61, |
| 1076 |
0x70, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 1077 |
0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 1078 |
0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 1079 |
0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 1080 |
0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, |
| 1081 |
0x19, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x65, 0x76, 0x69, |
| 1082 |
0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x67, |
| 1083 |
0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1084 |
0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, |
| 1085 |
0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x18, 0x02, 0x20, 0x01, |
| 1086 |
0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x22, 0x1c, |
| 1087 |
0x0a, 0x1a, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x65, 0x76, |
| 1088 |
0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x02, 0x0a, |
| 1089 |
0x21, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x4e, |
| 1090 |
0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 1091 |
0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, |
| 1092 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, |
| 1093 |
0x64, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, |
| 1094 |
0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0d, |
| 1095 |
0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, |
| 1096 |
0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, |
| 1097 |
0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x0f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, |
| 1098 |
0x75, 0x70, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, |
| 1099 |
0x18, 0x01, 0x52, 0x0d, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x70, 0x54, 0x6f, 0x6b, 0x65, |
| 1100 |
0x6e, 0x12, 0x50, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, |
| 1101 |
0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, |
| 1102 |
0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, |
| 1103 |
0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, |
| 1104 |
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, |
| 1105 |
0x6f, 0x61, 0x64, 0x22, 0x43, 0x0a, 0x22, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, |
| 1106 |
0x74, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 1107 |
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, |
| 1108 |
0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, |
| 1109 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x74, |
| 1110 |
0x65, 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 1111 |
0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x50, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, |
| 1112 |
0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1113 |
0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, |
| 1114 |
0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x6f, |
| 1115 |
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, |
| 1116 |
0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x20, 0x52, 0x65, |
| 1117 |
0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, |
| 1118 |
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2f, |
| 1119 |
0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, |
| 1120 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 1121 |
0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, |
| 1122 |
0x3d, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 1123 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1124 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, |
| 1125 |
0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8b, |
| 1126 |
0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x73, |
| 1127 |
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, |
| 1128 |
0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, |
| 1129 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x52, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, |
| 1130 |
0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 1131 |
0x2e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x68, 0x6f, 0x6d, 0x65, 0x67, 0x72, 0x61, |
| 1132 |
0x70, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 1133 |
0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x52, |
| 1134 |
0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9c, 0x01, 0x0a, |
| 1135 |
0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, |
| 1136 |
0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1137 |
0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0d, |
| 1138 |
0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, |
| 1139 |
0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, |
| 1140 |
0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, |
| 1141 |
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, |
| 1142 |
0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, |
| 1143 |
0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x03, |
| 1144 |
0xe0, 0x41, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0x58, 0x0a, 0x11, 0x51, |
| 1145 |
0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, |
| 1146 |
0x12, 0x43, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1147 |
0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, |
| 1148 |
0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, |
| 1149 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, |
| 1150 |
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x54, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, |
| 1151 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x3d, 0x0a, 0x07, |
| 1152 |
0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, |
| 1153 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, |
| 1154 |
0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, |
| 1155 |
0x49, 0x64, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x1f, 0x0a, 0x0d, 0x41, |
| 1156 |
0x67, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, |
| 1157 |
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x74, 0x0a, 0x0d, |
| 1158 |
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, |
| 1159 |
0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1160 |
0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x07, |
| 1161 |
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, |
| 1162 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, |
| 1163 |
0x68, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 1164 |
0x73, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, |
| 1165 |
0x61, 0x64, 0x22, 0xbe, 0x01, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, |
| 1166 |
0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x51, 0x0a, 0x07, 0x64, |
| 1167 |
0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, |
| 1168 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, |
| 1169 |
0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 1170 |
0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, |
| 1171 |
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x53, |
| 1172 |
0x0a, 0x0c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, |
| 1173 |
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, |
| 1174 |
0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1175 |
0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 1176 |
0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, |
| 1177 |
0x02, 0x38, 0x01, 0x22, 0x55, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 1178 |
0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, |
| 1179 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, |
| 1180 |
0x64, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, |
| 1181 |
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x61, |
| 1182 |
0x67, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x0c, 0x53, 0x79, |
| 1183 |
0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, |
| 1184 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, |
| 1185 |
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x07, 0x70, 0x61, 0x79, |
| 1186 |
0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, |
| 1187 |
0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, |
| 1188 |
0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, |
| 1189 |
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x71, |
| 1190 |
0x0a, 0x13, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, |
| 1191 |
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, |
| 1192 |
0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, |
| 1193 |
0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x07, 0x64, 0x65, 0x76, |
| 1194 |
0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, |
| 1195 |
0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, |
| 1196 |
0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, |
| 1197 |
0x73, 0x32, 0xb8, 0x07, 0x0a, 0x13, 0x48, 0x6f, 0x6d, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x41, |
| 1198 |
0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x12, 0x52, 0x65, |
| 1199 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, |
| 1200 |
0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, |
| 1201 |
0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, |
| 1202 |
0x79, 0x6e, 0x63, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 1203 |
0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, |
| 1204 |
0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 1205 |
0x53, 0x79, 0x6e, 0x63, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 1206 |
0x6e, 0x73, 0x65, 0x22, 0x32, 0xda, 0x41, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, |
| 1207 |
0x65, 0x72, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x22, 0x17, 0x2f, 0x76, 0x31, |
| 1208 |
0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 1209 |
0x53, 0x79, 0x6e, 0x63, 0x3a, 0x01, 0x2a, 0x12, 0xee, 0x01, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6f, |
| 1210 |
0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, |
| 1211 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1212 |
0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, |
| 1213 |
0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, |
| 1214 |
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 1215 |
0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, |
| 1216 |
0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, |
| 1217 |
0x74, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 1218 |
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5d, 0xda, 0x41, 0x29, 0x72, 0x65, |
| 1219 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x2c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, |
| 1220 |
0x64, 0x2c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2c, |
| 1221 |
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x26, 0x2f, |
| 1222 |
0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x72, 0x65, 0x70, 0x6f, 0x72, |
| 1223 |
0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, |
| 1224 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x9d, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, |
| 1225 |
0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x67, |
| 1226 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, |
| 1227 |
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x55, |
| 1228 |
0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, |
| 1229 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, |
| 1230 |
0x74, 0x79, 0x22, 0x44, 0xda, 0x41, 0x18, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, |
| 1231 |
0x64, 0x2c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x82, |
| 1232 |
0xd3, 0xe4, 0x93, 0x02, 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x61, 0x67, 0x65, 0x6e, |
| 1233 |
0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, |
| 1234 |
0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2a, 0x7d, 0x12, 0x90, 0x01, 0x0a, 0x05, 0x51, 0x75, 0x65, |
| 1235 |
0x72, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, |
| 1236 |
0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, |
| 1237 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1238 |
0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, |
| 1239 |
0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0xda, 0x41, 0x1f, |
| 1240 |
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x2c, 0x61, 0x67, 0x65, 0x6e, 0x74, |
| 1241 |
0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x82, |
| 1242 |
0xd3, 0xe4, 0x93, 0x02, 0x16, 0x22, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, |
| 1243 |
0x65, 0x73, 0x3a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x85, 0x01, 0x0a, 0x04, |
| 1244 |
0x53, 0x79, 0x6e, 0x63, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, |
| 1245 |
0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, |
| 1246 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1247 |
0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, |
| 1248 |
0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0xda, 0x41, 0x18, |
| 1249 |
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x2c, 0x61, 0x67, 0x65, 0x6e, 0x74, |
| 1250 |
0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, |
| 1251 |
0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x73, 0x79, 0x6e, 0x63, |
| 1252 |
0x3a, 0x01, 0x2a, 0x1a, 0x47, 0xca, 0x41, 0x18, 0x68, 0x6f, 0x6d, 0x65, 0x67, 0x72, 0x61, 0x70, |
| 1253 |
0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 1254 |
0xd2, 0x41, 0x29, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, |
| 1255 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, |
| 1256 |
0x74, 0x68, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x67, 0x72, 0x61, 0x70, 0x68, 0x42, 0xcf, 0x01, 0x0a, |
| 1257 |
0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, |
| 1258 |
0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x48, 0x6f, 0x6d, 0x65, 0x47, |
| 1259 |
0x72, 0x61, 0x70, 0x68, 0x41, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, |
| 1260 |
0x6f, 0x74, 0x6f, 0x5a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, |
| 1261 |
0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, |
| 1262 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, |
| 1263 |
0x67, 0x72, 0x61, 0x70, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, 0x70, 0x68, 0xca, 0x02, |
| 1264 |
0x14, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x48, 0x6f, 0x6d, 0x65, 0x5c, 0x47, 0x72, 0x61, |
| 1265 |
0x70, 0x68, 0x5c, 0x56, 0x31, 0xea, 0x41, 0x46, 0x0a, 0x26, 0x68, 0x6f, 0x6d, 0x65, 0x67, 0x72, |
| 1266 |
0x61, 0x70, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 1267 |
0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, |
| 1268 |
0x12, 0x1c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x61, 0x67, |
| 1269 |
0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x7d, 0x62, 0x06, |
| 1270 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 1271 |
} |
| 1272 |
|
| 1273 |
var ( |
| 1274 |
file_google_home_graph_v1_homegraph_proto_rawDescOnce sync.Once |
| 1275 |
file_google_home_graph_v1_homegraph_proto_rawDescData = file_google_home_graph_v1_homegraph_proto_rawDesc |
| 1276 |
) |
| 1277 |
|
| 1278 |
func file_google_home_graph_v1_homegraph_proto_rawDescGZIP() []byte { |
| 1279 |
file_google_home_graph_v1_homegraph_proto_rawDescOnce.Do(func() { |
| 1280 |
file_google_home_graph_v1_homegraph_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_home_graph_v1_homegraph_proto_rawDescData) |
| 1281 |
}) |
| 1282 |
return file_google_home_graph_v1_homegraph_proto_rawDescData |
| 1283 |
} |
| 1284 |
|
| 1285 |
var file_google_home_graph_v1_homegraph_proto_msgTypes = make([]protoimpl.MessageInfo, 17) |
| 1286 |
var file_google_home_graph_v1_homegraph_proto_goTypes = []interface{}{ |
| 1287 |
(*RequestSyncDevicesRequest)(nil), // 0: google.home.graph.v1.RequestSyncDevicesRequest |
| 1288 |
(*RequestSyncDevicesResponse)(nil), // 1: google.home.graph.v1.RequestSyncDevicesResponse |
| 1289 |
(*ReportStateAndNotificationRequest)(nil), // 2: google.home.graph.v1.ReportStateAndNotificationRequest |
| 1290 |
(*ReportStateAndNotificationResponse)(nil), // 3: google.home.graph.v1.ReportStateAndNotificationResponse |
| 1291 |
(*StateAndNotificationPayload)(nil), // 4: google.home.graph.v1.StateAndNotificationPayload |
| 1292 |
(*ReportStateAndNotificationDevice)(nil), // 5: google.home.graph.v1.ReportStateAndNotificationDevice |
| 1293 |
(*DeleteAgentUserRequest)(nil), // 6: google.home.graph.v1.DeleteAgentUserRequest |
| 1294 |
(*QueryRequest)(nil), // 7: google.home.graph.v1.QueryRequest |
| 1295 |
(*QueryRequestInput)(nil), // 8: google.home.graph.v1.QueryRequestInput |
| 1296 |
(*QueryRequestPayload)(nil), // 9: google.home.graph.v1.QueryRequestPayload |
| 1297 |
(*AgentDeviceId)(nil), // 10: google.home.graph.v1.AgentDeviceId |
| 1298 |
(*QueryResponse)(nil), // 11: google.home.graph.v1.QueryResponse |
| 1299 |
(*QueryResponsePayload)(nil), // 12: google.home.graph.v1.QueryResponsePayload |
| 1300 |
(*SyncRequest)(nil), // 13: google.home.graph.v1.SyncRequest |
| 1301 |
(*SyncResponse)(nil), // 14: google.home.graph.v1.SyncResponse |
| 1302 |
(*SyncResponsePayload)(nil), // 15: google.home.graph.v1.SyncResponsePayload |
| 1303 |
nil, // 16: google.home.graph.v1.QueryResponsePayload.DevicesEntry |
| 1304 |
(*structpb.Struct)(nil), // 17: google.protobuf.Struct |
| 1305 |
(*Device)(nil), // 18: google.home.graph.v1.Device |
| 1306 |
(*emptypb.Empty)(nil), // 19: google.protobuf.Empty |
| 1307 |
} |
| 1308 |
var file_google_home_graph_v1_homegraph_proto_depIdxs = []int32{ |
| 1309 |
4, // 0: google.home.graph.v1.ReportStateAndNotificationRequest.payload:type_name -> google.home.graph.v1.StateAndNotificationPayload |
| 1310 |
5, // 1: google.home.graph.v1.StateAndNotificationPayload.devices:type_name -> google.home.graph.v1.ReportStateAndNotificationDevice |
| 1311 |
17, // 2: google.home.graph.v1.ReportStateAndNotificationDevice.states:type_name -> google.protobuf.Struct |
| 1312 |
17, // 3: google.home.graph.v1.ReportStateAndNotificationDevice.notifications:type_name -> google.protobuf.Struct |
| 1313 |
8, // 4: google.home.graph.v1.QueryRequest.inputs:type_name -> google.home.graph.v1.QueryRequestInput |
| 1314 |
9, // 5: google.home.graph.v1.QueryRequestInput.payload:type_name -> google.home.graph.v1.QueryRequestPayload |
| 1315 |
10, // 6: google.home.graph.v1.QueryRequestPayload.devices:type_name -> google.home.graph.v1.AgentDeviceId |
| 1316 |
12, // 7: google.home.graph.v1.QueryResponse.payload:type_name -> google.home.graph.v1.QueryResponsePayload |
| 1317 |
16, // 8: google.home.graph.v1.QueryResponsePayload.devices:type_name -> google.home.graph.v1.QueryResponsePayload.DevicesEntry |
| 1318 |
15, // 9: google.home.graph.v1.SyncResponse.payload:type_name -> google.home.graph.v1.SyncResponsePayload |
| 1319 |
18, // 10: google.home.graph.v1.SyncResponsePayload.devices:type_name -> google.home.graph.v1.Device |
| 1320 |
17, // 11: google.home.graph.v1.QueryResponsePayload.DevicesEntry.value:type_name -> google.protobuf.Struct |
| 1321 |
0, // 12: google.home.graph.v1.HomeGraphApiService.RequestSyncDevices:input_type -> google.home.graph.v1.RequestSyncDevicesRequest |
| 1322 |
2, // 13: google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification:input_type -> google.home.graph.v1.ReportStateAndNotificationRequest |
| 1323 |
6, // 14: google.home.graph.v1.HomeGraphApiService.DeleteAgentUser:input_type -> google.home.graph.v1.DeleteAgentUserRequest |
| 1324 |
7, // 15: google.home.graph.v1.HomeGraphApiService.Query:input_type -> google.home.graph.v1.QueryRequest |
| 1325 |
13, // 16: google.home.graph.v1.HomeGraphApiService.Sync:input_type -> google.home.graph.v1.SyncRequest |
| 1326 |
1, // 17: google.home.graph.v1.HomeGraphApiService.RequestSyncDevices:output_type -> google.home.graph.v1.RequestSyncDevicesResponse |
| 1327 |
3, // 18: google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification:output_type -> google.home.graph.v1.ReportStateAndNotificationResponse |
| 1328 |
19, // 19: google.home.graph.v1.HomeGraphApiService.DeleteAgentUser:output_type -> google.protobuf.Empty |
| 1329 |
11, // 20: google.home.graph.v1.HomeGraphApiService.Query:output_type -> google.home.graph.v1.QueryResponse |
| 1330 |
14, // 21: google.home.graph.v1.HomeGraphApiService.Sync:output_type -> google.home.graph.v1.SyncResponse |
| 1331 |
17, // [17:22] is the sub-list for method output_type |
| 1332 |
12, // [12:17] is the sub-list for method input_type |
| 1333 |
12, // [12:12] is the sub-list for extension type_name |
| 1334 |
12, // [12:12] is the sub-list for extension extendee |
| 1335 |
0, // [0:12] is the sub-list for field type_name |
| 1336 |
} |
| 1337 |
|
| 1338 |
func init() { file_google_home_graph_v1_homegraph_proto_init() } |
| 1339 |
func file_google_home_graph_v1_homegraph_proto_init() { |
| 1340 |
if File_google_home_graph_v1_homegraph_proto != nil { |
| 1341 |
return |
| 1342 |
} |
| 1343 |
file_google_home_graph_v1_device_proto_init() |
| 1344 |
if !protoimpl.UnsafeEnabled { |
| 1345 |
file_google_home_graph_v1_homegraph_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1346 |
switch v := v.(*RequestSyncDevicesRequest); i { |
| 1347 |
case 0: |
| 1348 |
return &v.state |
| 1349 |
case 1: |
| 1350 |
return &v.sizeCache |
| 1351 |
case 2: |
| 1352 |
return &v.unknownFields |
| 1353 |
default: |
| 1354 |
return nil |
| 1355 |
} |
| 1356 |
} |
| 1357 |
file_google_home_graph_v1_homegraph_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1358 |
switch v := v.(*RequestSyncDevicesResponse); i { |
| 1359 |
case 0: |
| 1360 |
return &v.state |
| 1361 |
case 1: |
| 1362 |
return &v.sizeCache |
| 1363 |
case 2: |
| 1364 |
return &v.unknownFields |
| 1365 |
default: |
| 1366 |
return nil |
| 1367 |
} |
| 1368 |
} |
| 1369 |
file_google_home_graph_v1_homegraph_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1370 |
switch v := v.(*ReportStateAndNotificationRequest); i { |
| 1371 |
case 0: |
| 1372 |
return &v.state |
| 1373 |
case 1: |
| 1374 |
return &v.sizeCache |
| 1375 |
case 2: |
| 1376 |
return &v.unknownFields |
| 1377 |
default: |
| 1378 |
return nil |
| 1379 |
} |
| 1380 |
} |
| 1381 |
file_google_home_graph_v1_homegraph_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1382 |
switch v := v.(*ReportStateAndNotificationResponse); i { |
| 1383 |
case 0: |
| 1384 |
return &v.state |
| 1385 |
case 1: |
| 1386 |
return &v.sizeCache |
| 1387 |
case 2: |
| 1388 |
return &v.unknownFields |
| 1389 |
default: |
| 1390 |
return nil |
| 1391 |
} |
| 1392 |
} |
| 1393 |
file_google_home_graph_v1_homegraph_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1394 |
switch v := v.(*StateAndNotificationPayload); i { |
| 1395 |
case 0: |
| 1396 |
return &v.state |
| 1397 |
case 1: |
| 1398 |
return &v.sizeCache |
| 1399 |
case 2: |
| 1400 |
return &v.unknownFields |
| 1401 |
default: |
| 1402 |
return nil |
| 1403 |
} |
| 1404 |
} |
| 1405 |
file_google_home_graph_v1_homegraph_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1406 |
switch v := v.(*ReportStateAndNotificationDevice); i { |
| 1407 |
case 0: |
| 1408 |
return &v.state |
| 1409 |
case 1: |
| 1410 |
return &v.sizeCache |
| 1411 |
case 2: |
| 1412 |
return &v.unknownFields |
| 1413 |
default: |
| 1414 |
return nil |
| 1415 |
} |
| 1416 |
} |
| 1417 |
file_google_home_graph_v1_homegraph_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1418 |
switch v := v.(*DeleteAgentUserRequest); i { |
| 1419 |
case 0: |
| 1420 |
return &v.state |
| 1421 |
case 1: |
| 1422 |
return &v.sizeCache |
| 1423 |
case 2: |
| 1424 |
return &v.unknownFields |
| 1425 |
default: |
| 1426 |
return nil |
| 1427 |
} |
| 1428 |
} |
| 1429 |
file_google_home_graph_v1_homegraph_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1430 |
switch v := v.(*QueryRequest); i { |
| 1431 |
case 0: |
| 1432 |
return &v.state |
| 1433 |
case 1: |
| 1434 |
return &v.sizeCache |
| 1435 |
case 2: |
| 1436 |
return &v.unknownFields |
| 1437 |
default: |
| 1438 |
return nil |
| 1439 |
} |
| 1440 |
} |
| 1441 |
file_google_home_graph_v1_homegraph_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1442 |
switch v := v.(*QueryRequestInput); i { |
| 1443 |
case 0: |
| 1444 |
return &v.state |
| 1445 |
case 1: |
| 1446 |
return &v.sizeCache |
| 1447 |
case 2: |
| 1448 |
return &v.unknownFields |
| 1449 |
default: |
| 1450 |
return nil |
| 1451 |
} |
| 1452 |
} |
| 1453 |
file_google_home_graph_v1_homegraph_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1454 |
switch v := v.(*QueryRequestPayload); i { |
| 1455 |
case 0: |
| 1456 |
return &v.state |
| 1457 |
case 1: |
| 1458 |
return &v.sizeCache |
| 1459 |
case 2: |
| 1460 |
return &v.unknownFields |
| 1461 |
default: |
| 1462 |
return nil |
| 1463 |
} |
| 1464 |
} |
| 1465 |
file_google_home_graph_v1_homegraph_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1466 |
switch v := v.(*AgentDeviceId); i { |
| 1467 |
case 0: |
| 1468 |
return &v.state |
| 1469 |
case 1: |
| 1470 |
return &v.sizeCache |
| 1471 |
case 2: |
| 1472 |
return &v.unknownFields |
| 1473 |
default: |
| 1474 |
return nil |
| 1475 |
} |
| 1476 |
} |
| 1477 |
file_google_home_graph_v1_homegraph_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| 1478 |
switch v := v.(*QueryResponse); i { |
| 1479 |
case 0: |
| 1480 |
return &v.state |
| 1481 |
case 1: |
| 1482 |
return &v.sizeCache |
| 1483 |
case 2: |
| 1484 |
return &v.unknownFields |
| 1485 |
default: |
| 1486 |
return nil |
| 1487 |
} |
| 1488 |
} |
| 1489 |
file_google_home_graph_v1_homegraph_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| 1490 |
switch v := v.(*QueryResponsePayload); i { |
| 1491 |
case 0: |
| 1492 |
return &v.state |
| 1493 |
case 1: |
| 1494 |
return &v.sizeCache |
| 1495 |
case 2: |
| 1496 |
return &v.unknownFields |
| 1497 |
default: |
| 1498 |
return nil |
| 1499 |
} |
| 1500 |
} |
| 1501 |
file_google_home_graph_v1_homegraph_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| 1502 |
switch v := v.(*SyncRequest); i { |
| 1503 |
case 0: |
| 1504 |
return &v.state |
| 1505 |
case 1: |
| 1506 |
return &v.sizeCache |
| 1507 |
case 2: |
| 1508 |
return &v.unknownFields |
| 1509 |
default: |
| 1510 |
return nil |
| 1511 |
} |
| 1512 |
} |
| 1513 |
file_google_home_graph_v1_homegraph_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| 1514 |
switch v := v.(*SyncResponse); i { |
| 1515 |
case 0: |
| 1516 |
return &v.state |
| 1517 |
case 1: |
| 1518 |
return &v.sizeCache |
| 1519 |
case 2: |
| 1520 |
return &v.unknownFields |
| 1521 |
default: |
| 1522 |
return nil |
| 1523 |
} |
| 1524 |
} |
| 1525 |
file_google_home_graph_v1_homegraph_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| 1526 |
switch v := v.(*SyncResponsePayload); i { |
| 1527 |
case 0: |
| 1528 |
return &v.state |
| 1529 |
case 1: |
| 1530 |
return &v.sizeCache |
| 1531 |
case 2: |
| 1532 |
return &v.unknownFields |
| 1533 |
default: |
| 1534 |
return nil |
| 1535 |
} |
| 1536 |
} |
| 1537 |
} |
| 1538 |
type x struct{} |
| 1539 |
out := protoimpl.TypeBuilder{ |
| 1540 |
File: protoimpl.DescBuilder{ |
| 1541 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1542 |
RawDescriptor: file_google_home_graph_v1_homegraph_proto_rawDesc, |
| 1543 |
NumEnums: 0, |
| 1544 |
NumMessages: 17, |
| 1545 |
NumExtensions: 0, |
| 1546 |
NumServices: 1, |
| 1547 |
}, |
| 1548 |
GoTypes: file_google_home_graph_v1_homegraph_proto_goTypes, |
| 1549 |
DependencyIndexes: file_google_home_graph_v1_homegraph_proto_depIdxs, |
| 1550 |
MessageInfos: file_google_home_graph_v1_homegraph_proto_msgTypes, |
| 1551 |
}.Build() |
| 1552 |
File_google_home_graph_v1_homegraph_proto = out.File |
| 1553 |
file_google_home_graph_v1_homegraph_proto_rawDesc = nil |
| 1554 |
file_google_home_graph_v1_homegraph_proto_goTypes = nil |
| 1555 |
file_google_home_graph_v1_homegraph_proto_depIdxs = nil |
| 1556 |
} |
| 1557 |
|
| 1558 |
// Reference imports to suppress errors if they are not otherwise used. |
| 1559 |
var _ context.Context |
| 1560 |
var _ grpc.ClientConnInterface |
| 1561 |
|
| 1562 |
// This is a compile-time assertion to ensure that this generated file |
| 1563 |
// is compatible with the grpc package it is being compiled against. |
| 1564 |
const _ = grpc.SupportPackageIsVersion6 |
| 1565 |
|
| 1566 |
// HomeGraphApiServiceClient is the client API for HomeGraphApiService service. |
| 1567 |
// |
| 1568 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 1569 |
type HomeGraphApiServiceClient interface { |
| 1570 |
// Requests Google to send an `action.devices.SYNC` |
| 1571 |
// [intent](https://developers.home.google.com/cloud-to-cloud/intents/sync) |
| 1572 |
// to your smart home Action to update device metadata for the given user. |
| 1573 |
// |
| 1574 |
// The third-party user's identity is passed via the `agent_user_id` |
| 1575 |
// (see |
| 1576 |
// [RequestSyncDevicesRequest][google.home.graph.v1.RequestSyncDevicesRequest]). |
| 1577 |
// This request must be authorized using service account credentials from your |
| 1578 |
// Actions console project. |
| 1579 |
RequestSyncDevices(ctx context.Context, in *RequestSyncDevicesRequest, opts ...grpc.CallOption) (*RequestSyncDevicesResponse, error) |
| 1580 |
// Reports device state and optionally sends device notifications. |
| 1581 |
// Called by your smart home Action when the state of a third-party device |
| 1582 |
// changes or you need to send a notification about the device. |
| 1583 |
// See [Implement Report |
| 1584 |
// State](https://developers.home.google.com/cloud-to-cloud/integration/report-state) |
| 1585 |
// for more information. |
| 1586 |
// |
| 1587 |
// This method updates the device state according to its declared |
| 1588 |
// [traits](https://developers.home.google.com/cloud-to-cloud/primer/device-types-and-traits). |
| 1589 |
// Publishing a new state value outside of these traits will result in an |
| 1590 |
// `INVALID_ARGUMENT` error response. |
| 1591 |
// |
| 1592 |
// The third-party user's identity is passed in via the `agent_user_id` |
| 1593 |
// (see |
| 1594 |
// [ReportStateAndNotificationRequest][google.home.graph.v1.ReportStateAndNotificationRequest]). |
| 1595 |
// This request must be authorized using service account credentials from your |
| 1596 |
// Actions console project. |
| 1597 |
ReportStateAndNotification(ctx context.Context, in *ReportStateAndNotificationRequest, opts ...grpc.CallOption) (*ReportStateAndNotificationResponse, error) |
| 1598 |
// Unlinks the given third-party user from your smart home Action. |
| 1599 |
// All data related to this user will be deleted. |
| 1600 |
// |
| 1601 |
// For more details on how users link their accounts, see |
| 1602 |
// [fulfillment and |
| 1603 |
// authentication](https://developers.home.google.com/cloud-to-cloud/primer/fulfillment). |
| 1604 |
// |
| 1605 |
// The third-party user's identity is passed in via the `agent_user_id` |
| 1606 |
// (see |
| 1607 |
// [DeleteAgentUserRequest][google.home.graph.v1.DeleteAgentUserRequest]). |
| 1608 |
// This request must be authorized using service account credentials from your |
| 1609 |
// Actions console project. |
| 1610 |
DeleteAgentUser(ctx context.Context, in *DeleteAgentUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 1611 |
// Gets the current states in Home Graph for the given set of the third-party |
| 1612 |
// user's devices. |
| 1613 |
// |
| 1614 |
// The third-party user's identity is passed in via the `agent_user_id` |
| 1615 |
// (see [QueryRequest][google.home.graph.v1.QueryRequest]). |
| 1616 |
// This request must be authorized using service account credentials from your |
| 1617 |
// Actions console project. |
| 1618 |
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) |
| 1619 |
// Gets all the devices associated with the given third-party user. |
| 1620 |
// |
| 1621 |
// The third-party user's identity is passed in via the `agent_user_id` |
| 1622 |
// (see [SyncRequest][google.home.graph.v1.SyncRequest]). |
| 1623 |
// This request must be authorized using service account credentials from your |
| 1624 |
// Actions console project. |
| 1625 |
Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) |
| 1626 |
} |
| 1627 |
|
| 1628 |
type homeGraphApiServiceClient struct { |
| 1629 |
cc grpc.ClientConnInterface |
| 1630 |
} |
| 1631 |
|
| 1632 |
func NewHomeGraphApiServiceClient(cc grpc.ClientConnInterface) HomeGraphApiServiceClient { |
| 1633 |
return &homeGraphApiServiceClient{cc} |
| 1634 |
} |
| 1635 |
|
| 1636 |
func (c *homeGraphApiServiceClient) RequestSyncDevices(ctx context.Context, in *RequestSyncDevicesRequest, opts ...grpc.CallOption) (*RequestSyncDevicesResponse, error) { |
| 1637 |
out := new(RequestSyncDevicesResponse) |
| 1638 |
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/RequestSyncDevices", in, out, opts...) |
| 1639 |
if err != nil { |
| 1640 |
return nil, err |
| 1641 |
} |
| 1642 |
return out, nil |
| 1643 |
} |
| 1644 |
|
| 1645 |
func (c *homeGraphApiServiceClient) ReportStateAndNotification(ctx context.Context, in *ReportStateAndNotificationRequest, opts ...grpc.CallOption) (*ReportStateAndNotificationResponse, error) { |
| 1646 |
out := new(ReportStateAndNotificationResponse) |
| 1647 |
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/ReportStateAndNotification", in, out, opts...) |
| 1648 |
if err != nil { |
| 1649 |
return nil, err |
| 1650 |
} |
| 1651 |
return out, nil |
| 1652 |
} |
| 1653 |
|
| 1654 |
func (c *homeGraphApiServiceClient) DeleteAgentUser(ctx context.Context, in *DeleteAgentUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 1655 |
out := new(emptypb.Empty) |
| 1656 |
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/DeleteAgentUser", in, out, opts...) |
| 1657 |
if err != nil { |
| 1658 |
return nil, err |
| 1659 |
} |
| 1660 |
return out, nil |
| 1661 |
} |
| 1662 |
|
| 1663 |
func (c *homeGraphApiServiceClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) { |
| 1664 |
out := new(QueryResponse) |
| 1665 |
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/Query", in, out, opts...) |
| 1666 |
if err != nil { |
| 1667 |
return nil, err |
| 1668 |
} |
| 1669 |
return out, nil |
| 1670 |
} |
| 1671 |
|
| 1672 |
func (c *homeGraphApiServiceClient) Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) { |
| 1673 |
out := new(SyncResponse) |
| 1674 |
err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/Sync", in, out, opts...) |
| 1675 |
if err != nil { |
| 1676 |
return nil, err |
| 1677 |
} |
| 1678 |
return out, nil |
| 1679 |
} |
| 1680 |
|
| 1681 |
// HomeGraphApiServiceServer is the server API for HomeGraphApiService service. |
| 1682 |
type HomeGraphApiServiceServer interface { |
| 1683 |
// Requests Google to send an `action.devices.SYNC` |
| 1684 |
// [intent](https://developers.home.google.com/cloud-to-cloud/intents/sync) |
| 1685 |
// to your smart home Action to update device metadata for the given user. |
| 1686 |
// |
| 1687 |
// The third-party user's identity is passed via the `agent_user_id` |
| 1688 |
// (see |
| 1689 |
// [RequestSyncDevicesRequest][google.home.graph.v1.RequestSyncDevicesRequest]). |
| 1690 |
// This request must be authorized using service account credentials from your |
| 1691 |
// Actions console project. |
| 1692 |
RequestSyncDevices(context.Context, *RequestSyncDevicesRequest) (*RequestSyncDevicesResponse, error) |
| 1693 |
// Reports device state and optionally sends device notifications. |
| 1694 |
// Called by your smart home Action when the state of a third-party device |
| 1695 |
// changes or you need to send a notification about the device. |
| 1696 |
// See [Implement Report |
| 1697 |
// State](https://developers.home.google.com/cloud-to-cloud/integration/report-state) |
| 1698 |
// for more information. |
| 1699 |
// |
| 1700 |
// This method updates the device state according to its declared |
| 1701 |
// [traits](https://developers.home.google.com/cloud-to-cloud/primer/device-types-and-traits). |
| 1702 |
// Publishing a new state value outside of these traits will result in an |
| 1703 |
// `INVALID_ARGUMENT` error response. |
| 1704 |
// |
| 1705 |
// The third-party user's identity is passed in via the `agent_user_id` |
| 1706 |
// (see |
| 1707 |
// [ReportStateAndNotificationRequest][google.home.graph.v1.ReportStateAndNotificationRequest]). |
| 1708 |
// This request must be authorized using service account credentials from your |
| 1709 |
// Actions console project. |
| 1710 |
ReportStateAndNotification(context.Context, *ReportStateAndNotificationRequest) (*ReportStateAndNotificationResponse, error) |
| 1711 |
// Unlinks the given third-party user from your smart home Action. |
| 1712 |
// All data related to this user will be deleted. |
| 1713 |
// |
| 1714 |
// For more details on how users link their accounts, see |
| 1715 |
// [fulfillment and |
| 1716 |
// authentication](https://developers.home.google.com/cloud-to-cloud/primer/fulfillment). |
| 1717 |
// |
| 1718 |
// The third-party user's identity is passed in via the `agent_user_id` |
| 1719 |
// (see |
| 1720 |
// [DeleteAgentUserRequest][google.home.graph.v1.DeleteAgentUserRequest]). |
| 1721 |
// This request must be authorized using service account credentials from your |
| 1722 |
// Actions console project. |
| 1723 |
DeleteAgentUser(context.Context, *DeleteAgentUserRequest) (*emptypb.Empty, error) |
| 1724 |
// Gets the current states in Home Graph for the given set of the third-party |
| 1725 |
// user's devices. |
| 1726 |
// |
| 1727 |
// The third-party user's identity is passed in via the `agent_user_id` |
| 1728 |
// (see [QueryRequest][google.home.graph.v1.QueryRequest]). |
| 1729 |
// This request must be authorized using service account credentials from your |
| 1730 |
// Actions console project. |
| 1731 |
Query(context.Context, *QueryRequest) (*QueryResponse, error) |
| 1732 |
// Gets all the devices associated with the given third-party user. |
| 1733 |
// |
| 1734 |
// The third-party user's identity is passed in via the `agent_user_id` |
| 1735 |
// (see [SyncRequest][google.home.graph.v1.SyncRequest]). |
| 1736 |
// This request must be authorized using service account credentials from your |
| 1737 |
// Actions console project. |
| 1738 |
Sync(context.Context, *SyncRequest) (*SyncResponse, error) |
| 1739 |
} |
| 1740 |
|
| 1741 |
// UnimplementedHomeGraphApiServiceServer can be embedded to have forward compatible implementations. |
| 1742 |
type UnimplementedHomeGraphApiServiceServer struct { |
| 1743 |
} |
| 1744 |
|
| 1745 |
func (*UnimplementedHomeGraphApiServiceServer) RequestSyncDevices(context.Context, *RequestSyncDevicesRequest) (*RequestSyncDevicesResponse, error) { |
| 1746 |
return nil, status.Errorf(codes.Unimplemented, "method RequestSyncDevices not implemented") |
| 1747 |
} |
| 1748 |
func (*UnimplementedHomeGraphApiServiceServer) ReportStateAndNotification(context.Context, *ReportStateAndNotificationRequest) (*ReportStateAndNotificationResponse, error) { |
| 1749 |
return nil, status.Errorf(codes.Unimplemented, "method ReportStateAndNotification not implemented") |
| 1750 |
} |
| 1751 |
func (*UnimplementedHomeGraphApiServiceServer) DeleteAgentUser(context.Context, *DeleteAgentUserRequest) (*emptypb.Empty, error) { |
| 1752 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteAgentUser not implemented") |
| 1753 |
} |
| 1754 |
func (*UnimplementedHomeGraphApiServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error) { |
| 1755 |
return nil, status.Errorf(codes.Unimplemented, "method Query not implemented") |
| 1756 |
} |
| 1757 |
func (*UnimplementedHomeGraphApiServiceServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error) { |
| 1758 |
return nil, status.Errorf(codes.Unimplemented, "method Sync not implemented") |
| 1759 |
} |
| 1760 |
|
| 1761 |
func RegisterHomeGraphApiServiceServer(s *grpc.Server, srv HomeGraphApiServiceServer) { |
| 1762 |
s.RegisterService(&_HomeGraphApiService_serviceDesc, srv) |
| 1763 |
} |
| 1764 |
|
| 1765 |
func _HomeGraphApiService_RequestSyncDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1766 |
in := new(RequestSyncDevicesRequest) |
| 1767 |
if err := dec(in); err != nil { |
| 1768 |
return nil, err |
| 1769 |
} |
| 1770 |
if interceptor == nil { |
| 1771 |
return srv.(HomeGraphApiServiceServer).RequestSyncDevices(ctx, in) |
| 1772 |
} |
| 1773 |
info := &grpc.UnaryServerInfo{ |
| 1774 |
Server: srv, |
| 1775 |
FullMethod: "/google.home.graph.v1.HomeGraphApiService/RequestSyncDevices", |
| 1776 |
} |
| 1777 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1778 |
return srv.(HomeGraphApiServiceServer).RequestSyncDevices(ctx, req.(*RequestSyncDevicesRequest)) |
| 1779 |
} |
| 1780 |
return interceptor(ctx, in, info, handler) |
| 1781 |
} |
| 1782 |
|
| 1783 |
func _HomeGraphApiService_ReportStateAndNotification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1784 |
in := new(ReportStateAndNotificationRequest) |
| 1785 |
if err := dec(in); err != nil { |
| 1786 |
return nil, err |
| 1787 |
} |
| 1788 |
if interceptor == nil { |
| 1789 |
return srv.(HomeGraphApiServiceServer).ReportStateAndNotification(ctx, in) |
| 1790 |
} |
| 1791 |
info := &grpc.UnaryServerInfo{ |
| 1792 |
Server: srv, |
| 1793 |
FullMethod: "/google.home.graph.v1.HomeGraphApiService/ReportStateAndNotification", |
| 1794 |
} |
| 1795 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1796 |
return srv.(HomeGraphApiServiceServer).ReportStateAndNotification(ctx, req.(*ReportStateAndNotificationRequest)) |
| 1797 |
} |
| 1798 |
return interceptor(ctx, in, info, handler) |
| 1799 |
} |
| 1800 |
|
| 1801 |
func _HomeGraphApiService_DeleteAgentUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1802 |
in := new(DeleteAgentUserRequest) |
| 1803 |
if err := dec(in); err != nil { |
| 1804 |
return nil, err |
| 1805 |
} |
| 1806 |
if interceptor == nil { |
| 1807 |
return srv.(HomeGraphApiServiceServer).DeleteAgentUser(ctx, in) |
| 1808 |
} |
| 1809 |
info := &grpc.UnaryServerInfo{ |
| 1810 |
Server: srv, |
| 1811 |
FullMethod: "/google.home.graph.v1.HomeGraphApiService/DeleteAgentUser", |
| 1812 |
} |
| 1813 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1814 |
return srv.(HomeGraphApiServiceServer).DeleteAgentUser(ctx, req.(*DeleteAgentUserRequest)) |
| 1815 |
} |
| 1816 |
return interceptor(ctx, in, info, handler) |
| 1817 |
} |
| 1818 |
|
| 1819 |
func _HomeGraphApiService_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1820 |
in := new(QueryRequest) |
| 1821 |
if err := dec(in); err != nil { |
| 1822 |
return nil, err |
| 1823 |
} |
| 1824 |
if interceptor == nil { |
| 1825 |
return srv.(HomeGraphApiServiceServer).Query(ctx, in) |
| 1826 |
} |
| 1827 |
info := &grpc.UnaryServerInfo{ |
| 1828 |
Server: srv, |
| 1829 |
FullMethod: "/google.home.graph.v1.HomeGraphApiService/Query", |
| 1830 |
} |
| 1831 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1832 |
return srv.(HomeGraphApiServiceServer).Query(ctx, req.(*QueryRequest)) |
| 1833 |
} |
| 1834 |
return interceptor(ctx, in, info, handler) |
| 1835 |
} |
| 1836 |
|
| 1837 |
func _HomeGraphApiService_Sync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1838 |
in := new(SyncRequest) |
| 1839 |
if err := dec(in); err != nil { |
| 1840 |
return nil, err |
| 1841 |
} |
| 1842 |
if interceptor == nil { |
| 1843 |
return srv.(HomeGraphApiServiceServer).Sync(ctx, in) |
| 1844 |
} |
| 1845 |
info := &grpc.UnaryServerInfo{ |
| 1846 |
Server: srv, |
| 1847 |
FullMethod: "/google.home.graph.v1.HomeGraphApiService/Sync", |
| 1848 |
} |
| 1849 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1850 |
return srv.(HomeGraphApiServiceServer).Sync(ctx, req.(*SyncRequest)) |
| 1851 |
} |
| 1852 |
return interceptor(ctx, in, info, handler) |
| 1853 |
} |
| 1854 |
|
| 1855 |
var _HomeGraphApiService_serviceDesc = grpc.ServiceDesc{ |
| 1856 |
ServiceName: "google.home.graph.v1.HomeGraphApiService", |
| 1857 |
HandlerType: (*HomeGraphApiServiceServer)(nil), |
| 1858 |
Methods: []grpc.MethodDesc{ |
| 1859 |
{ |
| 1860 |
MethodName: "RequestSyncDevices", |
| 1861 |
Handler: _HomeGraphApiService_RequestSyncDevices_Handler, |
| 1862 |
}, |
| 1863 |
{ |
| 1864 |
MethodName: "ReportStateAndNotification", |
| 1865 |
Handler: _HomeGraphApiService_ReportStateAndNotification_Handler, |
| 1866 |
}, |
| 1867 |
{ |
| 1868 |
MethodName: "DeleteAgentUser", |
| 1869 |
Handler: _HomeGraphApiService_DeleteAgentUser_Handler, |
| 1870 |
}, |
| 1871 |
{ |
| 1872 |
MethodName: "Query", |
| 1873 |
Handler: _HomeGraphApiService_Query_Handler, |
| 1874 |
}, |
| 1875 |
{ |
| 1876 |
MethodName: "Sync", |
| 1877 |
Handler: _HomeGraphApiService_Sync_Handler, |
| 1878 |
}, |
| 1879 |
}, |
| 1880 |
Streams: []grpc.StreamDesc{}, |
| 1881 |
Metadata: "google/home/graph/v1/homegraph.proto", |
| 1882 |
} |