| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package sdm |
| 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 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 35 |
) |
| 36 |
|
| 37 |
const ( |
| 38 |
|
| 39 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 40 |
|
| 41 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 42 |
) |
| 43 |
|
| 44 |
|
| 45 |
type GetDeviceRequest struct { |
| 46 |
state protoimpl.MessageState |
| 47 |
sizeCache protoimpl.SizeCache |
| 48 |
unknownFields protoimpl.UnknownFields |
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 53 |
} |
| 54 |
|
| 55 |
func (x *GetDeviceRequest) Reset() { |
| 56 |
*x = GetDeviceRequest{} |
| 57 |
if protoimpl.UnsafeEnabled { |
| 58 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[0] |
| 59 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 60 |
ms.StoreMessageInfo(mi) |
| 61 |
} |
| 62 |
} |
| 63 |
|
| 64 |
func (x *GetDeviceRequest) String() string { |
| 65 |
return protoimpl.X.MessageStringOf(x) |
| 66 |
} |
| 67 |
|
| 68 |
func (*GetDeviceRequest) ProtoMessage() {} |
| 69 |
|
| 70 |
func (x *GetDeviceRequest) ProtoReflect() protoreflect.Message { |
| 71 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[0] |
| 72 |
if protoimpl.UnsafeEnabled && x != nil { |
| 73 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 74 |
if ms.LoadMessageInfo() == nil { |
| 75 |
ms.StoreMessageInfo(mi) |
| 76 |
} |
| 77 |
return ms |
| 78 |
} |
| 79 |
return mi.MessageOf(x) |
| 80 |
} |
| 81 |
|
| 82 |
|
| 83 |
func (*GetDeviceRequest) Descriptor() ([]byte, []int) { |
| 84 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{0} |
| 85 |
} |
| 86 |
|
| 87 |
func (x *GetDeviceRequest) GetName() string { |
| 88 |
if x != nil { |
| 89 |
return x.Name |
| 90 |
} |
| 91 |
return "" |
| 92 |
} |
| 93 |
|
| 94 |
|
| 95 |
type ListDevicesRequest struct { |
| 96 |
state protoimpl.MessageState |
| 97 |
sizeCache protoimpl.SizeCache |
| 98 |
unknownFields protoimpl.UnknownFields |
| 99 |
|
| 100 |
|
| 101 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 102 |
|
| 103 |
|
| 104 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 105 |
|
| 106 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
|
| 112 |
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` |
| 113 |
} |
| 114 |
|
| 115 |
func (x *ListDevicesRequest) Reset() { |
| 116 |
*x = ListDevicesRequest{} |
| 117 |
if protoimpl.UnsafeEnabled { |
| 118 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[1] |
| 119 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 120 |
ms.StoreMessageInfo(mi) |
| 121 |
} |
| 122 |
} |
| 123 |
|
| 124 |
func (x *ListDevicesRequest) String() string { |
| 125 |
return protoimpl.X.MessageStringOf(x) |
| 126 |
} |
| 127 |
|
| 128 |
func (*ListDevicesRequest) ProtoMessage() {} |
| 129 |
|
| 130 |
func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message { |
| 131 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[1] |
| 132 |
if protoimpl.UnsafeEnabled && x != nil { |
| 133 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 134 |
if ms.LoadMessageInfo() == nil { |
| 135 |
ms.StoreMessageInfo(mi) |
| 136 |
} |
| 137 |
return ms |
| 138 |
} |
| 139 |
return mi.MessageOf(x) |
| 140 |
} |
| 141 |
|
| 142 |
|
| 143 |
func (*ListDevicesRequest) Descriptor() ([]byte, []int) { |
| 144 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{1} |
| 145 |
} |
| 146 |
|
| 147 |
func (x *ListDevicesRequest) GetParent() string { |
| 148 |
if x != nil { |
| 149 |
return x.Parent |
| 150 |
} |
| 151 |
return "" |
| 152 |
} |
| 153 |
|
| 154 |
func (x *ListDevicesRequest) GetPageSize() int32 { |
| 155 |
if x != nil { |
| 156 |
return x.PageSize |
| 157 |
} |
| 158 |
return 0 |
| 159 |
} |
| 160 |
|
| 161 |
func (x *ListDevicesRequest) GetPageToken() string { |
| 162 |
if x != nil { |
| 163 |
return x.PageToken |
| 164 |
} |
| 165 |
return "" |
| 166 |
} |
| 167 |
|
| 168 |
func (x *ListDevicesRequest) GetFilter() string { |
| 169 |
if x != nil { |
| 170 |
return x.Filter |
| 171 |
} |
| 172 |
return "" |
| 173 |
} |
| 174 |
|
| 175 |
|
| 176 |
type ListDevicesResponse struct { |
| 177 |
state protoimpl.MessageState |
| 178 |
sizeCache protoimpl.SizeCache |
| 179 |
unknownFields protoimpl.UnknownFields |
| 180 |
|
| 181 |
|
| 182 |
Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` |
| 183 |
|
| 184 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 185 |
} |
| 186 |
|
| 187 |
func (x *ListDevicesResponse) Reset() { |
| 188 |
*x = ListDevicesResponse{} |
| 189 |
if protoimpl.UnsafeEnabled { |
| 190 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[2] |
| 191 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 192 |
ms.StoreMessageInfo(mi) |
| 193 |
} |
| 194 |
} |
| 195 |
|
| 196 |
func (x *ListDevicesResponse) String() string { |
| 197 |
return protoimpl.X.MessageStringOf(x) |
| 198 |
} |
| 199 |
|
| 200 |
func (*ListDevicesResponse) ProtoMessage() {} |
| 201 |
|
| 202 |
func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message { |
| 203 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[2] |
| 204 |
if protoimpl.UnsafeEnabled && x != nil { |
| 205 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 206 |
if ms.LoadMessageInfo() == nil { |
| 207 |
ms.StoreMessageInfo(mi) |
| 208 |
} |
| 209 |
return ms |
| 210 |
} |
| 211 |
return mi.MessageOf(x) |
| 212 |
} |
| 213 |
|
| 214 |
|
| 215 |
func (*ListDevicesResponse) Descriptor() ([]byte, []int) { |
| 216 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{2} |
| 217 |
} |
| 218 |
|
| 219 |
func (x *ListDevicesResponse) GetDevices() []*Device { |
| 220 |
if x != nil { |
| 221 |
return x.Devices |
| 222 |
} |
| 223 |
return nil |
| 224 |
} |
| 225 |
|
| 226 |
func (x *ListDevicesResponse) GetNextPageToken() string { |
| 227 |
if x != nil { |
| 228 |
return x.NextPageToken |
| 229 |
} |
| 230 |
return "" |
| 231 |
} |
| 232 |
|
| 233 |
|
| 234 |
type ExecuteDeviceCommandRequest struct { |
| 235 |
state protoimpl.MessageState |
| 236 |
sizeCache protoimpl.SizeCache |
| 237 |
unknownFields protoimpl.UnknownFields |
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 242 |
|
| 243 |
|
| 244 |
Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` |
| 245 |
|
| 246 |
Params *structpb.Struct `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` |
| 247 |
} |
| 248 |
|
| 249 |
func (x *ExecuteDeviceCommandRequest) Reset() { |
| 250 |
*x = ExecuteDeviceCommandRequest{} |
| 251 |
if protoimpl.UnsafeEnabled { |
| 252 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[3] |
| 253 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 254 |
ms.StoreMessageInfo(mi) |
| 255 |
} |
| 256 |
} |
| 257 |
|
| 258 |
func (x *ExecuteDeviceCommandRequest) String() string { |
| 259 |
return protoimpl.X.MessageStringOf(x) |
| 260 |
} |
| 261 |
|
| 262 |
func (*ExecuteDeviceCommandRequest) ProtoMessage() {} |
| 263 |
|
| 264 |
func (x *ExecuteDeviceCommandRequest) ProtoReflect() protoreflect.Message { |
| 265 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[3] |
| 266 |
if protoimpl.UnsafeEnabled && x != nil { |
| 267 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 268 |
if ms.LoadMessageInfo() == nil { |
| 269 |
ms.StoreMessageInfo(mi) |
| 270 |
} |
| 271 |
return ms |
| 272 |
} |
| 273 |
return mi.MessageOf(x) |
| 274 |
} |
| 275 |
|
| 276 |
|
| 277 |
func (*ExecuteDeviceCommandRequest) Descriptor() ([]byte, []int) { |
| 278 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{3} |
| 279 |
} |
| 280 |
|
| 281 |
func (x *ExecuteDeviceCommandRequest) GetName() string { |
| 282 |
if x != nil { |
| 283 |
return x.Name |
| 284 |
} |
| 285 |
return "" |
| 286 |
} |
| 287 |
|
| 288 |
func (x *ExecuteDeviceCommandRequest) GetCommand() string { |
| 289 |
if x != nil { |
| 290 |
return x.Command |
| 291 |
} |
| 292 |
return "" |
| 293 |
} |
| 294 |
|
| 295 |
func (x *ExecuteDeviceCommandRequest) GetParams() *structpb.Struct { |
| 296 |
if x != nil { |
| 297 |
return x.Params |
| 298 |
} |
| 299 |
return nil |
| 300 |
} |
| 301 |
|
| 302 |
|
| 303 |
type ExecuteDeviceCommandResponse struct { |
| 304 |
state protoimpl.MessageState |
| 305 |
sizeCache protoimpl.SizeCache |
| 306 |
unknownFields protoimpl.UnknownFields |
| 307 |
|
| 308 |
|
| 309 |
Results *structpb.Struct `protobuf:"bytes,1,opt,name=results,proto3" json:"results,omitempty"` |
| 310 |
} |
| 311 |
|
| 312 |
func (x *ExecuteDeviceCommandResponse) Reset() { |
| 313 |
*x = ExecuteDeviceCommandResponse{} |
| 314 |
if protoimpl.UnsafeEnabled { |
| 315 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[4] |
| 316 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 317 |
ms.StoreMessageInfo(mi) |
| 318 |
} |
| 319 |
} |
| 320 |
|
| 321 |
func (x *ExecuteDeviceCommandResponse) String() string { |
| 322 |
return protoimpl.X.MessageStringOf(x) |
| 323 |
} |
| 324 |
|
| 325 |
func (*ExecuteDeviceCommandResponse) ProtoMessage() {} |
| 326 |
|
| 327 |
func (x *ExecuteDeviceCommandResponse) ProtoReflect() protoreflect.Message { |
| 328 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[4] |
| 329 |
if protoimpl.UnsafeEnabled && x != nil { |
| 330 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 331 |
if ms.LoadMessageInfo() == nil { |
| 332 |
ms.StoreMessageInfo(mi) |
| 333 |
} |
| 334 |
return ms |
| 335 |
} |
| 336 |
return mi.MessageOf(x) |
| 337 |
} |
| 338 |
|
| 339 |
|
| 340 |
func (*ExecuteDeviceCommandResponse) Descriptor() ([]byte, []int) { |
| 341 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{4} |
| 342 |
} |
| 343 |
|
| 344 |
func (x *ExecuteDeviceCommandResponse) GetResults() *structpb.Struct { |
| 345 |
if x != nil { |
| 346 |
return x.Results |
| 347 |
} |
| 348 |
return nil |
| 349 |
} |
| 350 |
|
| 351 |
|
| 352 |
type GetStructureRequest struct { |
| 353 |
state protoimpl.MessageState |
| 354 |
sizeCache protoimpl.SizeCache |
| 355 |
unknownFields protoimpl.UnknownFields |
| 356 |
|
| 357 |
|
| 358 |
|
| 359 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 360 |
} |
| 361 |
|
| 362 |
func (x *GetStructureRequest) Reset() { |
| 363 |
*x = GetStructureRequest{} |
| 364 |
if protoimpl.UnsafeEnabled { |
| 365 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[5] |
| 366 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 367 |
ms.StoreMessageInfo(mi) |
| 368 |
} |
| 369 |
} |
| 370 |
|
| 371 |
func (x *GetStructureRequest) String() string { |
| 372 |
return protoimpl.X.MessageStringOf(x) |
| 373 |
} |
| 374 |
|
| 375 |
func (*GetStructureRequest) ProtoMessage() {} |
| 376 |
|
| 377 |
func (x *GetStructureRequest) ProtoReflect() protoreflect.Message { |
| 378 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[5] |
| 379 |
if protoimpl.UnsafeEnabled && x != nil { |
| 380 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 381 |
if ms.LoadMessageInfo() == nil { |
| 382 |
ms.StoreMessageInfo(mi) |
| 383 |
} |
| 384 |
return ms |
| 385 |
} |
| 386 |
return mi.MessageOf(x) |
| 387 |
} |
| 388 |
|
| 389 |
|
| 390 |
func (*GetStructureRequest) Descriptor() ([]byte, []int) { |
| 391 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{5} |
| 392 |
} |
| 393 |
|
| 394 |
func (x *GetStructureRequest) GetName() string { |
| 395 |
if x != nil { |
| 396 |
return x.Name |
| 397 |
} |
| 398 |
return "" |
| 399 |
} |
| 400 |
|
| 401 |
|
| 402 |
type ListStructuresRequest struct { |
| 403 |
state protoimpl.MessageState |
| 404 |
sizeCache protoimpl.SizeCache |
| 405 |
unknownFields protoimpl.UnknownFields |
| 406 |
|
| 407 |
|
| 408 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 409 |
|
| 410 |
|
| 411 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 412 |
|
| 413 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 414 |
|
| 415 |
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` |
| 416 |
} |
| 417 |
|
| 418 |
func (x *ListStructuresRequest) Reset() { |
| 419 |
*x = ListStructuresRequest{} |
| 420 |
if protoimpl.UnsafeEnabled { |
| 421 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[6] |
| 422 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 423 |
ms.StoreMessageInfo(mi) |
| 424 |
} |
| 425 |
} |
| 426 |
|
| 427 |
func (x *ListStructuresRequest) String() string { |
| 428 |
return protoimpl.X.MessageStringOf(x) |
| 429 |
} |
| 430 |
|
| 431 |
func (*ListStructuresRequest) ProtoMessage() {} |
| 432 |
|
| 433 |
func (x *ListStructuresRequest) ProtoReflect() protoreflect.Message { |
| 434 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[6] |
| 435 |
if protoimpl.UnsafeEnabled && x != nil { |
| 436 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 437 |
if ms.LoadMessageInfo() == nil { |
| 438 |
ms.StoreMessageInfo(mi) |
| 439 |
} |
| 440 |
return ms |
| 441 |
} |
| 442 |
return mi.MessageOf(x) |
| 443 |
} |
| 444 |
|
| 445 |
|
| 446 |
func (*ListStructuresRequest) Descriptor() ([]byte, []int) { |
| 447 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{6} |
| 448 |
} |
| 449 |
|
| 450 |
func (x *ListStructuresRequest) GetParent() string { |
| 451 |
if x != nil { |
| 452 |
return x.Parent |
| 453 |
} |
| 454 |
return "" |
| 455 |
} |
| 456 |
|
| 457 |
func (x *ListStructuresRequest) GetPageSize() int32 { |
| 458 |
if x != nil { |
| 459 |
return x.PageSize |
| 460 |
} |
| 461 |
return 0 |
| 462 |
} |
| 463 |
|
| 464 |
func (x *ListStructuresRequest) GetPageToken() string { |
| 465 |
if x != nil { |
| 466 |
return x.PageToken |
| 467 |
} |
| 468 |
return "" |
| 469 |
} |
| 470 |
|
| 471 |
func (x *ListStructuresRequest) GetFilter() string { |
| 472 |
if x != nil { |
| 473 |
return x.Filter |
| 474 |
} |
| 475 |
return "" |
| 476 |
} |
| 477 |
|
| 478 |
|
| 479 |
type ListStructuresResponse struct { |
| 480 |
state protoimpl.MessageState |
| 481 |
sizeCache protoimpl.SizeCache |
| 482 |
unknownFields protoimpl.UnknownFields |
| 483 |
|
| 484 |
|
| 485 |
Structures []*Structure `protobuf:"bytes,1,rep,name=structures,proto3" json:"structures,omitempty"` |
| 486 |
|
| 487 |
|
| 488 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 489 |
} |
| 490 |
|
| 491 |
func (x *ListStructuresResponse) Reset() { |
| 492 |
*x = ListStructuresResponse{} |
| 493 |
if protoimpl.UnsafeEnabled { |
| 494 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[7] |
| 495 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 496 |
ms.StoreMessageInfo(mi) |
| 497 |
} |
| 498 |
} |
| 499 |
|
| 500 |
func (x *ListStructuresResponse) String() string { |
| 501 |
return protoimpl.X.MessageStringOf(x) |
| 502 |
} |
| 503 |
|
| 504 |
func (*ListStructuresResponse) ProtoMessage() {} |
| 505 |
|
| 506 |
func (x *ListStructuresResponse) ProtoReflect() protoreflect.Message { |
| 507 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[7] |
| 508 |
if protoimpl.UnsafeEnabled && x != nil { |
| 509 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 510 |
if ms.LoadMessageInfo() == nil { |
| 511 |
ms.StoreMessageInfo(mi) |
| 512 |
} |
| 513 |
return ms |
| 514 |
} |
| 515 |
return mi.MessageOf(x) |
| 516 |
} |
| 517 |
|
| 518 |
|
| 519 |
func (*ListStructuresResponse) Descriptor() ([]byte, []int) { |
| 520 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{7} |
| 521 |
} |
| 522 |
|
| 523 |
func (x *ListStructuresResponse) GetStructures() []*Structure { |
| 524 |
if x != nil { |
| 525 |
return x.Structures |
| 526 |
} |
| 527 |
return nil |
| 528 |
} |
| 529 |
|
| 530 |
func (x *ListStructuresResponse) GetNextPageToken() string { |
| 531 |
if x != nil { |
| 532 |
return x.NextPageToken |
| 533 |
} |
| 534 |
return "" |
| 535 |
} |
| 536 |
|
| 537 |
|
| 538 |
type GetRoomRequest struct { |
| 539 |
state protoimpl.MessageState |
| 540 |
sizeCache protoimpl.SizeCache |
| 541 |
unknownFields protoimpl.UnknownFields |
| 542 |
|
| 543 |
|
| 544 |
|
| 545 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 546 |
} |
| 547 |
|
| 548 |
func (x *GetRoomRequest) Reset() { |
| 549 |
*x = GetRoomRequest{} |
| 550 |
if protoimpl.UnsafeEnabled { |
| 551 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[8] |
| 552 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 553 |
ms.StoreMessageInfo(mi) |
| 554 |
} |
| 555 |
} |
| 556 |
|
| 557 |
func (x *GetRoomRequest) String() string { |
| 558 |
return protoimpl.X.MessageStringOf(x) |
| 559 |
} |
| 560 |
|
| 561 |
func (*GetRoomRequest) ProtoMessage() {} |
| 562 |
|
| 563 |
func (x *GetRoomRequest) ProtoReflect() protoreflect.Message { |
| 564 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[8] |
| 565 |
if protoimpl.UnsafeEnabled && x != nil { |
| 566 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 567 |
if ms.LoadMessageInfo() == nil { |
| 568 |
ms.StoreMessageInfo(mi) |
| 569 |
} |
| 570 |
return ms |
| 571 |
} |
| 572 |
return mi.MessageOf(x) |
| 573 |
} |
| 574 |
|
| 575 |
|
| 576 |
func (*GetRoomRequest) Descriptor() ([]byte, []int) { |
| 577 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{8} |
| 578 |
} |
| 579 |
|
| 580 |
func (x *GetRoomRequest) GetName() string { |
| 581 |
if x != nil { |
| 582 |
return x.Name |
| 583 |
} |
| 584 |
return "" |
| 585 |
} |
| 586 |
|
| 587 |
|
| 588 |
type ListRoomsRequest struct { |
| 589 |
state protoimpl.MessageState |
| 590 |
sizeCache protoimpl.SizeCache |
| 591 |
unknownFields protoimpl.UnknownFields |
| 592 |
|
| 593 |
|
| 594 |
|
| 595 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 596 |
|
| 597 |
|
| 598 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 599 |
|
| 600 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 601 |
} |
| 602 |
|
| 603 |
func (x *ListRoomsRequest) Reset() { |
| 604 |
*x = ListRoomsRequest{} |
| 605 |
if protoimpl.UnsafeEnabled { |
| 606 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[9] |
| 607 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 608 |
ms.StoreMessageInfo(mi) |
| 609 |
} |
| 610 |
} |
| 611 |
|
| 612 |
func (x *ListRoomsRequest) String() string { |
| 613 |
return protoimpl.X.MessageStringOf(x) |
| 614 |
} |
| 615 |
|
| 616 |
func (*ListRoomsRequest) ProtoMessage() {} |
| 617 |
|
| 618 |
func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message { |
| 619 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[9] |
| 620 |
if protoimpl.UnsafeEnabled && x != nil { |
| 621 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 622 |
if ms.LoadMessageInfo() == nil { |
| 623 |
ms.StoreMessageInfo(mi) |
| 624 |
} |
| 625 |
return ms |
| 626 |
} |
| 627 |
return mi.MessageOf(x) |
| 628 |
} |
| 629 |
|
| 630 |
|
| 631 |
func (*ListRoomsRequest) Descriptor() ([]byte, []int) { |
| 632 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{9} |
| 633 |
} |
| 634 |
|
| 635 |
func (x *ListRoomsRequest) GetParent() string { |
| 636 |
if x != nil { |
| 637 |
return x.Parent |
| 638 |
} |
| 639 |
return "" |
| 640 |
} |
| 641 |
|
| 642 |
func (x *ListRoomsRequest) GetPageSize() int32 { |
| 643 |
if x != nil { |
| 644 |
return x.PageSize |
| 645 |
} |
| 646 |
return 0 |
| 647 |
} |
| 648 |
|
| 649 |
func (x *ListRoomsRequest) GetPageToken() string { |
| 650 |
if x != nil { |
| 651 |
return x.PageToken |
| 652 |
} |
| 653 |
return "" |
| 654 |
} |
| 655 |
|
| 656 |
|
| 657 |
type ListRoomsResponse struct { |
| 658 |
state protoimpl.MessageState |
| 659 |
sizeCache protoimpl.SizeCache |
| 660 |
unknownFields protoimpl.UnknownFields |
| 661 |
|
| 662 |
|
| 663 |
Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` |
| 664 |
|
| 665 |
|
| 666 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 667 |
} |
| 668 |
|
| 669 |
func (x *ListRoomsResponse) Reset() { |
| 670 |
*x = ListRoomsResponse{} |
| 671 |
if protoimpl.UnsafeEnabled { |
| 672 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[10] |
| 673 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 674 |
ms.StoreMessageInfo(mi) |
| 675 |
} |
| 676 |
} |
| 677 |
|
| 678 |
func (x *ListRoomsResponse) String() string { |
| 679 |
return protoimpl.X.MessageStringOf(x) |
| 680 |
} |
| 681 |
|
| 682 |
func (*ListRoomsResponse) ProtoMessage() {} |
| 683 |
|
| 684 |
func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message { |
| 685 |
mi := &file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[10] |
| 686 |
if protoimpl.UnsafeEnabled && x != nil { |
| 687 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 688 |
if ms.LoadMessageInfo() == nil { |
| 689 |
ms.StoreMessageInfo(mi) |
| 690 |
} |
| 691 |
return ms |
| 692 |
} |
| 693 |
return mi.MessageOf(x) |
| 694 |
} |
| 695 |
|
| 696 |
|
| 697 |
func (*ListRoomsResponse) Descriptor() ([]byte, []int) { |
| 698 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP(), []int{10} |
| 699 |
} |
| 700 |
|
| 701 |
func (x *ListRoomsResponse) GetRooms() []*Room { |
| 702 |
if x != nil { |
| 703 |
return x.Rooms |
| 704 |
} |
| 705 |
return nil |
| 706 |
} |
| 707 |
|
| 708 |
func (x *ListRoomsResponse) GetNextPageToken() string { |
| 709 |
if x != nil { |
| 710 |
return x.NextPageToken |
| 711 |
} |
| 712 |
return "" |
| 713 |
} |
| 714 |
|
| 715 |
var File_google_home_enterprise_sdm_v1_smart_device_management_service_proto protoreflect.FileDescriptor |
| 716 |
|
| 717 |
var file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDesc = []byte{ |
| 718 |
0x0a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x65, 0x6e, |
| 719 |
0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2f, 0x73, 0x64, 0x6d, 0x2f, 0x76, 0x31, 0x2f, |
| 720 |
0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, |
| 721 |
0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, |
| 722 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, |
| 723 |
0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, |
| 724 |
0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 725 |
0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, |
| 726 |
0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, |
| 727 |
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, |
| 728 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, |
| 729 |
0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, |
| 730 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 731 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 732 |
0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2f, |
| 733 |
0x73, 0x64, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, |
| 734 |
0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x68, 0x6f, 0x6d, 0x65, |
| 735 |
0x2f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2f, 0x73, 0x64, 0x6d, 0x2f, |
| 736 |
0x76, 0x31, 0x2f, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, |
| 737 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, |
| 738 |
0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x10, 0x47, |
| 739 |
0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 740 |
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, |
| 741 |
0x61, 0x6d, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x76, 0x69, |
| 742 |
0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, |
| 743 |
0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, |
| 744 |
0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, |
| 745 |
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, |
| 746 |
0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, |
| 747 |
0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, |
| 748 |
0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, |
| 749 |
0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x7e, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, |
| 750 |
0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, |
| 751 |
0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, |
| 752 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, |
| 753 |
0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x44, |
| 754 |
0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x26, |
| 755 |
0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, |
| 756 |
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, |
| 757 |
0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7c, 0x0a, 0x1b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, |
| 758 |
0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, |
| 759 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 760 |
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, |
| 761 |
0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, |
| 762 |
0x61, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, |
| 763 |
0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 764 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, |
| 765 |
0x72, 0x61, 0x6d, 0x73, 0x22, 0x51, 0x0a, 0x1c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x44, |
| 766 |
0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, |
| 767 |
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, |
| 768 |
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 769 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, |
| 770 |
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x29, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x74, |
| 771 |
0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, |
| 772 |
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, |
| 773 |
0x6d, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, |
| 774 |
0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, |
| 775 |
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, |
| 776 |
0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, |
| 777 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, |
| 778 |
0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, |
| 779 |
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, |
| 780 |
0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, |
| 781 |
0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, |
| 782 |
0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 783 |
0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, |
| 784 |
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 785 |
0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, |
| 786 |
0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, |
| 787 |
0x65, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x26, 0x0a, |
| 788 |
0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, |
| 789 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, |
| 790 |
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x24, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, |
| 791 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 792 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x66, 0x0a, 0x10, 0x4c, |
| 793 |
0x69, 0x73, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 794 |
0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 795 |
0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, |
| 796 |
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, |
| 797 |
0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, |
| 798 |
0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, |
| 799 |
0x6b, 0x65, 0x6e, 0x22, 0x76, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, |
| 800 |
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, |
| 801 |
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 802 |
0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, |
| 803 |
0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, 0x6f, |
| 804 |
0x6f, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, |
| 805 |
0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, |
| 806 |
0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x86, 0x0a, 0x0a, 0x1c, |
| 807 |
0x53, 0x6d, 0x61, 0x72, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, |
| 808 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8f, 0x01, 0x0a, |
| 809 |
0x09, 0x47, 0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, |
| 810 |
0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, |
| 811 |
0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, |
| 812 |
0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, |
| 813 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, |
| 814 |
0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, |
| 815 |
0x63, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, |
| 816 |
0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, |
| 817 |
0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa0, |
| 818 |
0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x31, |
| 819 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, |
| 820 |
0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, |
| 821 |
0x69, 0x73, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 822 |
0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, |
| 823 |
0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, |
| 824 |
0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, |
| 825 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, |
| 826 |
0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x65, 0x6e, 0x74, 0x65, 0x72, |
| 827 |
0x70, 0x72, 0x69, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, |
| 828 |
0x73, 0x12, 0xcd, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x44, 0x65, 0x76, |
| 829 |
0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, |
| 830 |
0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, |
| 831 |
0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, |
| 832 |
0x74, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, |
| 833 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 834 |
0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, |
| 835 |
0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x44, 0x65, |
| 836 |
0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 837 |
0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x22, 0x31, 0x2f, 0x76, 0x31, |
| 838 |
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, |
| 839 |
0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, |
| 840 |
0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x3a, 0x01, |
| 841 |
0x2a, 0x12, 0x9b, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, |
| 842 |
0x72, 0x65, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, |
| 843 |
0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, |
| 844 |
0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, |
| 845 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 846 |
0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, |
| 847 |
0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, |
| 848 |
0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, |
| 849 |
0x61, 0x6d, 0x65, 0x3d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x73, 0x2f, |
| 850 |
0x2a, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, |
| 851 |
0xac, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, |
| 852 |
0x65, 0x73, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, |
| 853 |
0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, |
| 854 |
0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, |
| 855 |
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 856 |
0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, |
| 857 |
0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x72, |
| 858 |
0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, |
| 859 |
0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, |
| 860 |
0x72, 0x65, 0x6e, 0x74, 0x3d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x73, |
| 861 |
0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x94, |
| 862 |
0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, |
| 863 |
0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, |
| 864 |
0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, |
| 865 |
0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 866 |
0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, |
| 867 |
0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x22, 0x35, |
| 868 |
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, |
| 869 |
0x65, 0x3d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, |
| 870 |
0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6f, |
| 871 |
0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa5, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, |
| 872 |
0x6f, 0x6d, 0x73, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, |
| 873 |
0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, |
| 874 |
0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x71, |
| 875 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, |
| 876 |
0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, |
| 877 |
0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, |
| 878 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, |
| 879 |
0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x65, 0x6e, 0x74, 0x65, |
| 880 |
0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, |
| 881 |
0x75, 0x72, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0x55, 0xca, |
| 882 |
0x41, 0x24, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, |
| 883 |
0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 884 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2b, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, |
| 885 |
0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 886 |
0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x73, 0x64, 0x6d, 0x2e, 0x73, 0x65, 0x72, |
| 887 |
0x76, 0x69, 0x63, 0x65, 0x42, 0xb2, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, |
| 888 |
0x67, 0x6c, 0x65, 0x2e, 0x68, 0x6f, 0x6d, 0x65, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, |
| 889 |
0x69, 0x73, 0x65, 0x2e, 0x73, 0x64, 0x6d, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, |
| 890 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, |
| 891 |
0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 892 |
0x70, 0x69, 0x73, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, |
| 893 |
0x69, 0x73, 0x65, 0x2f, 0x73, 0x64, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x64, 0x6d, 0xa2, 0x02, |
| 894 |
0x08, 0x47, 0x48, 0x45, 0x4e, 0x54, 0x53, 0x44, 0x4d, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, |
| 895 |
0x6c, 0x65, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, |
| 896 |
0x73, 0x65, 0x2e, 0x53, 0x64, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, |
| 897 |
0x6c, 0x65, 0x5c, 0x48, 0x6f, 0x6d, 0x65, 0x5c, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, |
| 898 |
0x73, 0x65, 0x5c, 0x53, 0x64, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 899 |
0x33, |
| 900 |
} |
| 901 |
|
| 902 |
var ( |
| 903 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescOnce sync.Once |
| 904 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescData = file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDesc |
| 905 |
) |
| 906 |
|
| 907 |
func file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescGZIP() []byte { |
| 908 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescOnce.Do(func() { |
| 909 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescData) |
| 910 |
}) |
| 911 |
return file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDescData |
| 912 |
} |
| 913 |
|
| 914 |
var file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11) |
| 915 |
var file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_goTypes = []interface{}{ |
| 916 |
(*GetDeviceRequest)(nil), |
| 917 |
(*ListDevicesRequest)(nil), |
| 918 |
(*ListDevicesResponse)(nil), |
| 919 |
(*ExecuteDeviceCommandRequest)(nil), |
| 920 |
(*ExecuteDeviceCommandResponse)(nil), |
| 921 |
(*GetStructureRequest)(nil), |
| 922 |
(*ListStructuresRequest)(nil), |
| 923 |
(*ListStructuresResponse)(nil), |
| 924 |
(*GetRoomRequest)(nil), |
| 925 |
(*ListRoomsRequest)(nil), |
| 926 |
(*ListRoomsResponse)(nil), |
| 927 |
(*Device)(nil), |
| 928 |
(*structpb.Struct)(nil), |
| 929 |
(*Structure)(nil), |
| 930 |
(*Room)(nil), |
| 931 |
} |
| 932 |
var file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_depIdxs = []int32{ |
| 933 |
11, |
| 934 |
12, |
| 935 |
12, |
| 936 |
13, |
| 937 |
14, |
| 938 |
0, |
| 939 |
1, |
| 940 |
3, |
| 941 |
5, |
| 942 |
6, |
| 943 |
8, |
| 944 |
9, |
| 945 |
11, |
| 946 |
2, |
| 947 |
4, |
| 948 |
13, |
| 949 |
7, |
| 950 |
14, |
| 951 |
10, |
| 952 |
12, |
| 953 |
5, |
| 954 |
5, |
| 955 |
5, |
| 956 |
0, |
| 957 |
} |
| 958 |
|
| 959 |
func init() { file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_init() } |
| 960 |
func file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_init() { |
| 961 |
if File_google_home_enterprise_sdm_v1_smart_device_management_service_proto != nil { |
| 962 |
return |
| 963 |
} |
| 964 |
file_google_home_enterprise_sdm_v1_device_proto_init() |
| 965 |
file_google_home_enterprise_sdm_v1_site_proto_init() |
| 966 |
if !protoimpl.UnsafeEnabled { |
| 967 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 968 |
switch v := v.(*GetDeviceRequest); i { |
| 969 |
case 0: |
| 970 |
return &v.state |
| 971 |
case 1: |
| 972 |
return &v.sizeCache |
| 973 |
case 2: |
| 974 |
return &v.unknownFields |
| 975 |
default: |
| 976 |
return nil |
| 977 |
} |
| 978 |
} |
| 979 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 980 |
switch v := v.(*ListDevicesRequest); i { |
| 981 |
case 0: |
| 982 |
return &v.state |
| 983 |
case 1: |
| 984 |
return &v.sizeCache |
| 985 |
case 2: |
| 986 |
return &v.unknownFields |
| 987 |
default: |
| 988 |
return nil |
| 989 |
} |
| 990 |
} |
| 991 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 992 |
switch v := v.(*ListDevicesResponse); i { |
| 993 |
case 0: |
| 994 |
return &v.state |
| 995 |
case 1: |
| 996 |
return &v.sizeCache |
| 997 |
case 2: |
| 998 |
return &v.unknownFields |
| 999 |
default: |
| 1000 |
return nil |
| 1001 |
} |
| 1002 |
} |
| 1003 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1004 |
switch v := v.(*ExecuteDeviceCommandRequest); i { |
| 1005 |
case 0: |
| 1006 |
return &v.state |
| 1007 |
case 1: |
| 1008 |
return &v.sizeCache |
| 1009 |
case 2: |
| 1010 |
return &v.unknownFields |
| 1011 |
default: |
| 1012 |
return nil |
| 1013 |
} |
| 1014 |
} |
| 1015 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1016 |
switch v := v.(*ExecuteDeviceCommandResponse); i { |
| 1017 |
case 0: |
| 1018 |
return &v.state |
| 1019 |
case 1: |
| 1020 |
return &v.sizeCache |
| 1021 |
case 2: |
| 1022 |
return &v.unknownFields |
| 1023 |
default: |
| 1024 |
return nil |
| 1025 |
} |
| 1026 |
} |
| 1027 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1028 |
switch v := v.(*GetStructureRequest); i { |
| 1029 |
case 0: |
| 1030 |
return &v.state |
| 1031 |
case 1: |
| 1032 |
return &v.sizeCache |
| 1033 |
case 2: |
| 1034 |
return &v.unknownFields |
| 1035 |
default: |
| 1036 |
return nil |
| 1037 |
} |
| 1038 |
} |
| 1039 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1040 |
switch v := v.(*ListStructuresRequest); i { |
| 1041 |
case 0: |
| 1042 |
return &v.state |
| 1043 |
case 1: |
| 1044 |
return &v.sizeCache |
| 1045 |
case 2: |
| 1046 |
return &v.unknownFields |
| 1047 |
default: |
| 1048 |
return nil |
| 1049 |
} |
| 1050 |
} |
| 1051 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1052 |
switch v := v.(*ListStructuresResponse); i { |
| 1053 |
case 0: |
| 1054 |
return &v.state |
| 1055 |
case 1: |
| 1056 |
return &v.sizeCache |
| 1057 |
case 2: |
| 1058 |
return &v.unknownFields |
| 1059 |
default: |
| 1060 |
return nil |
| 1061 |
} |
| 1062 |
} |
| 1063 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1064 |
switch v := v.(*GetRoomRequest); i { |
| 1065 |
case 0: |
| 1066 |
return &v.state |
| 1067 |
case 1: |
| 1068 |
return &v.sizeCache |
| 1069 |
case 2: |
| 1070 |
return &v.unknownFields |
| 1071 |
default: |
| 1072 |
return nil |
| 1073 |
} |
| 1074 |
} |
| 1075 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1076 |
switch v := v.(*ListRoomsRequest); i { |
| 1077 |
case 0: |
| 1078 |
return &v.state |
| 1079 |
case 1: |
| 1080 |
return &v.sizeCache |
| 1081 |
case 2: |
| 1082 |
return &v.unknownFields |
| 1083 |
default: |
| 1084 |
return nil |
| 1085 |
} |
| 1086 |
} |
| 1087 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1088 |
switch v := v.(*ListRoomsResponse); i { |
| 1089 |
case 0: |
| 1090 |
return &v.state |
| 1091 |
case 1: |
| 1092 |
return &v.sizeCache |
| 1093 |
case 2: |
| 1094 |
return &v.unknownFields |
| 1095 |
default: |
| 1096 |
return nil |
| 1097 |
} |
| 1098 |
} |
| 1099 |
} |
| 1100 |
type x struct{} |
| 1101 |
out := protoimpl.TypeBuilder{ |
| 1102 |
File: protoimpl.DescBuilder{ |
| 1103 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1104 |
RawDescriptor: file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDesc, |
| 1105 |
NumEnums: 0, |
| 1106 |
NumMessages: 11, |
| 1107 |
NumExtensions: 0, |
| 1108 |
NumServices: 1, |
| 1109 |
}, |
| 1110 |
GoTypes: file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_goTypes, |
| 1111 |
DependencyIndexes: file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_depIdxs, |
| 1112 |
MessageInfos: file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_msgTypes, |
| 1113 |
}.Build() |
| 1114 |
File_google_home_enterprise_sdm_v1_smart_device_management_service_proto = out.File |
| 1115 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_rawDesc = nil |
| 1116 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_goTypes = nil |
| 1117 |
file_google_home_enterprise_sdm_v1_smart_device_management_service_proto_depIdxs = nil |
| 1118 |
} |
| 1119 |
|
| 1120 |
|
| 1121 |
var _ context.Context |
| 1122 |
var _ grpc.ClientConnInterface |
| 1123 |
|
| 1124 |
|
| 1125 |
|
| 1126 |
const _ = grpc.SupportPackageIsVersion6 |
| 1127 |
|
| 1128 |
|
| 1129 |
|
| 1130 |
|
| 1131 |
type SmartDeviceManagementServiceClient interface { |
| 1132 |
|
| 1133 |
GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) |
| 1134 |
|
| 1135 |
ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) |
| 1136 |
|
| 1137 |
ExecuteDeviceCommand(ctx context.Context, in *ExecuteDeviceCommandRequest, opts ...grpc.CallOption) (*ExecuteDeviceCommandResponse, error) |
| 1138 |
|
| 1139 |
GetStructure(ctx context.Context, in *GetStructureRequest, opts ...grpc.CallOption) (*Structure, error) |
| 1140 |
|
| 1141 |
ListStructures(ctx context.Context, in *ListStructuresRequest, opts ...grpc.CallOption) (*ListStructuresResponse, error) |
| 1142 |
|
| 1143 |
GetRoom(ctx context.Context, in *GetRoomRequest, opts ...grpc.CallOption) (*Room, error) |
| 1144 |
|
| 1145 |
ListRooms(ctx context.Context, in *ListRoomsRequest, opts ...grpc.CallOption) (*ListRoomsResponse, error) |
| 1146 |
} |
| 1147 |
|
| 1148 |
type smartDeviceManagementServiceClient struct { |
| 1149 |
cc grpc.ClientConnInterface |
| 1150 |
} |
| 1151 |
|
| 1152 |
func NewSmartDeviceManagementServiceClient(cc grpc.ClientConnInterface) SmartDeviceManagementServiceClient { |
| 1153 |
return &smartDeviceManagementServiceClient{cc} |
| 1154 |
} |
| 1155 |
|
| 1156 |
func (c *smartDeviceManagementServiceClient) GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) { |
| 1157 |
out := new(Device) |
| 1158 |
err := c.cc.Invoke(ctx, "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/GetDevice", in, out, opts...) |
| 1159 |
if err != nil { |
| 1160 |
return nil, err |
| 1161 |
} |
| 1162 |
return out, nil |
| 1163 |
} |
| 1164 |
|
| 1165 |
func (c *smartDeviceManagementServiceClient) ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) { |
| 1166 |
out := new(ListDevicesResponse) |
| 1167 |
err := c.cc.Invoke(ctx, "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/ListDevices", in, out, opts...) |
| 1168 |
if err != nil { |
| 1169 |
return nil, err |
| 1170 |
} |
| 1171 |
return out, nil |
| 1172 |
} |
| 1173 |
|
| 1174 |
func (c *smartDeviceManagementServiceClient) ExecuteDeviceCommand(ctx context.Context, in *ExecuteDeviceCommandRequest, opts ...grpc.CallOption) (*ExecuteDeviceCommandResponse, error) { |
| 1175 |
out := new(ExecuteDeviceCommandResponse) |
| 1176 |
err := c.cc.Invoke(ctx, "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/ExecuteDeviceCommand", in, out, opts...) |
| 1177 |
if err != nil { |
| 1178 |
return nil, err |
| 1179 |
} |
| 1180 |
return out, nil |
| 1181 |
} |
| 1182 |
|
| 1183 |
func (c *smartDeviceManagementServiceClient) GetStructure(ctx context.Context, in *GetStructureRequest, opts ...grpc.CallOption) (*Structure, error) { |
| 1184 |
out := new(Structure) |
| 1185 |
err := c.cc.Invoke(ctx, "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/GetStructure", in, out, opts...) |
| 1186 |
if err != nil { |
| 1187 |
return nil, err |
| 1188 |
} |
| 1189 |
return out, nil |
| 1190 |
} |
| 1191 |
|
| 1192 |
func (c *smartDeviceManagementServiceClient) ListStructures(ctx context.Context, in *ListStructuresRequest, opts ...grpc.CallOption) (*ListStructuresResponse, error) { |
| 1193 |
out := new(ListStructuresResponse) |
| 1194 |
err := c.cc.Invoke(ctx, "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/ListStructures", in, out, opts...) |
| 1195 |
if err != nil { |
| 1196 |
return nil, err |
| 1197 |
} |
| 1198 |
return out, nil |
| 1199 |
} |
| 1200 |
|
| 1201 |
func (c *smartDeviceManagementServiceClient) GetRoom(ctx context.Context, in *GetRoomRequest, opts ...grpc.CallOption) (*Room, error) { |
| 1202 |
out := new(Room) |
| 1203 |
err := c.cc.Invoke(ctx, "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/GetRoom", in, out, opts...) |
| 1204 |
if err != nil { |
| 1205 |
return nil, err |
| 1206 |
} |
| 1207 |
return out, nil |
| 1208 |
} |
| 1209 |
|
| 1210 |
func (c *smartDeviceManagementServiceClient) ListRooms(ctx context.Context, in *ListRoomsRequest, opts ...grpc.CallOption) (*ListRoomsResponse, error) { |
| 1211 |
out := new(ListRoomsResponse) |
| 1212 |
err := c.cc.Invoke(ctx, "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/ListRooms", in, out, opts...) |
| 1213 |
if err != nil { |
| 1214 |
return nil, err |
| 1215 |
} |
| 1216 |
return out, nil |
| 1217 |
} |
| 1218 |
|
| 1219 |
|
| 1220 |
type SmartDeviceManagementServiceServer interface { |
| 1221 |
|
| 1222 |
GetDevice(context.Context, *GetDeviceRequest) (*Device, error) |
| 1223 |
|
| 1224 |
ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error) |
| 1225 |
|
| 1226 |
ExecuteDeviceCommand(context.Context, *ExecuteDeviceCommandRequest) (*ExecuteDeviceCommandResponse, error) |
| 1227 |
|
| 1228 |
GetStructure(context.Context, *GetStructureRequest) (*Structure, error) |
| 1229 |
|
| 1230 |
ListStructures(context.Context, *ListStructuresRequest) (*ListStructuresResponse, error) |
| 1231 |
|
| 1232 |
GetRoom(context.Context, *GetRoomRequest) (*Room, error) |
| 1233 |
|
| 1234 |
ListRooms(context.Context, *ListRoomsRequest) (*ListRoomsResponse, error) |
| 1235 |
} |
| 1236 |
|
| 1237 |
|
| 1238 |
type UnimplementedSmartDeviceManagementServiceServer struct { |
| 1239 |
} |
| 1240 |
|
| 1241 |
func (*UnimplementedSmartDeviceManagementServiceServer) GetDevice(context.Context, *GetDeviceRequest) (*Device, error) { |
| 1242 |
return nil, status.Errorf(codes.Unimplemented, "method GetDevice not implemented") |
| 1243 |
} |
| 1244 |
func (*UnimplementedSmartDeviceManagementServiceServer) ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error) { |
| 1245 |
return nil, status.Errorf(codes.Unimplemented, "method ListDevices not implemented") |
| 1246 |
} |
| 1247 |
func (*UnimplementedSmartDeviceManagementServiceServer) ExecuteDeviceCommand(context.Context, *ExecuteDeviceCommandRequest) (*ExecuteDeviceCommandResponse, error) { |
| 1248 |
return nil, status.Errorf(codes.Unimplemented, "method ExecuteDeviceCommand not implemented") |
| 1249 |
} |
| 1250 |
func (*UnimplementedSmartDeviceManagementServiceServer) GetStructure(context.Context, *GetStructureRequest) (*Structure, error) { |
| 1251 |
return nil, status.Errorf(codes.Unimplemented, "method GetStructure not implemented") |
| 1252 |
} |
| 1253 |
func (*UnimplementedSmartDeviceManagementServiceServer) ListStructures(context.Context, *ListStructuresRequest) (*ListStructuresResponse, error) { |
| 1254 |
return nil, status.Errorf(codes.Unimplemented, "method ListStructures not implemented") |
| 1255 |
} |
| 1256 |
func (*UnimplementedSmartDeviceManagementServiceServer) GetRoom(context.Context, *GetRoomRequest) (*Room, error) { |
| 1257 |
return nil, status.Errorf(codes.Unimplemented, "method GetRoom not implemented") |
| 1258 |
} |
| 1259 |
func (*UnimplementedSmartDeviceManagementServiceServer) ListRooms(context.Context, *ListRoomsRequest) (*ListRoomsResponse, error) { |
| 1260 |
return nil, status.Errorf(codes.Unimplemented, "method ListRooms not implemented") |
| 1261 |
} |
| 1262 |
|
| 1263 |
func RegisterSmartDeviceManagementServiceServer(s *grpc.Server, srv SmartDeviceManagementServiceServer) { |
| 1264 |
s.RegisterService(&_SmartDeviceManagementService_serviceDesc, srv) |
| 1265 |
} |
| 1266 |
|
| 1267 |
func _SmartDeviceManagementService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1268 |
in := new(GetDeviceRequest) |
| 1269 |
if err := dec(in); err != nil { |
| 1270 |
return nil, err |
| 1271 |
} |
| 1272 |
if interceptor == nil { |
| 1273 |
return srv.(SmartDeviceManagementServiceServer).GetDevice(ctx, in) |
| 1274 |
} |
| 1275 |
info := &grpc.UnaryServerInfo{ |
| 1276 |
Server: srv, |
| 1277 |
FullMethod: "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/GetDevice", |
| 1278 |
} |
| 1279 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1280 |
return srv.(SmartDeviceManagementServiceServer).GetDevice(ctx, req.(*GetDeviceRequest)) |
| 1281 |
} |
| 1282 |
return interceptor(ctx, in, info, handler) |
| 1283 |
} |
| 1284 |
|
| 1285 |
func _SmartDeviceManagementService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1286 |
in := new(ListDevicesRequest) |
| 1287 |
if err := dec(in); err != nil { |
| 1288 |
return nil, err |
| 1289 |
} |
| 1290 |
if interceptor == nil { |
| 1291 |
return srv.(SmartDeviceManagementServiceServer).ListDevices(ctx, in) |
| 1292 |
} |
| 1293 |
info := &grpc.UnaryServerInfo{ |
| 1294 |
Server: srv, |
| 1295 |
FullMethod: "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/ListDevices", |
| 1296 |
} |
| 1297 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1298 |
return srv.(SmartDeviceManagementServiceServer).ListDevices(ctx, req.(*ListDevicesRequest)) |
| 1299 |
} |
| 1300 |
return interceptor(ctx, in, info, handler) |
| 1301 |
} |
| 1302 |
|
| 1303 |
func _SmartDeviceManagementService_ExecuteDeviceCommand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1304 |
in := new(ExecuteDeviceCommandRequest) |
| 1305 |
if err := dec(in); err != nil { |
| 1306 |
return nil, err |
| 1307 |
} |
| 1308 |
if interceptor == nil { |
| 1309 |
return srv.(SmartDeviceManagementServiceServer).ExecuteDeviceCommand(ctx, in) |
| 1310 |
} |
| 1311 |
info := &grpc.UnaryServerInfo{ |
| 1312 |
Server: srv, |
| 1313 |
FullMethod: "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/ExecuteDeviceCommand", |
| 1314 |
} |
| 1315 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1316 |
return srv.(SmartDeviceManagementServiceServer).ExecuteDeviceCommand(ctx, req.(*ExecuteDeviceCommandRequest)) |
| 1317 |
} |
| 1318 |
return interceptor(ctx, in, info, handler) |
| 1319 |
} |
| 1320 |
|
| 1321 |
func _SmartDeviceManagementService_GetStructure_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1322 |
in := new(GetStructureRequest) |
| 1323 |
if err := dec(in); err != nil { |
| 1324 |
return nil, err |
| 1325 |
} |
| 1326 |
if interceptor == nil { |
| 1327 |
return srv.(SmartDeviceManagementServiceServer).GetStructure(ctx, in) |
| 1328 |
} |
| 1329 |
info := &grpc.UnaryServerInfo{ |
| 1330 |
Server: srv, |
| 1331 |
FullMethod: "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/GetStructure", |
| 1332 |
} |
| 1333 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1334 |
return srv.(SmartDeviceManagementServiceServer).GetStructure(ctx, req.(*GetStructureRequest)) |
| 1335 |
} |
| 1336 |
return interceptor(ctx, in, info, handler) |
| 1337 |
} |
| 1338 |
|
| 1339 |
func _SmartDeviceManagementService_ListStructures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1340 |
in := new(ListStructuresRequest) |
| 1341 |
if err := dec(in); err != nil { |
| 1342 |
return nil, err |
| 1343 |
} |
| 1344 |
if interceptor == nil { |
| 1345 |
return srv.(SmartDeviceManagementServiceServer).ListStructures(ctx, in) |
| 1346 |
} |
| 1347 |
info := &grpc.UnaryServerInfo{ |
| 1348 |
Server: srv, |
| 1349 |
FullMethod: "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/ListStructures", |
| 1350 |
} |
| 1351 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1352 |
return srv.(SmartDeviceManagementServiceServer).ListStructures(ctx, req.(*ListStructuresRequest)) |
| 1353 |
} |
| 1354 |
return interceptor(ctx, in, info, handler) |
| 1355 |
} |
| 1356 |
|
| 1357 |
func _SmartDeviceManagementService_GetRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1358 |
in := new(GetRoomRequest) |
| 1359 |
if err := dec(in); err != nil { |
| 1360 |
return nil, err |
| 1361 |
} |
| 1362 |
if interceptor == nil { |
| 1363 |
return srv.(SmartDeviceManagementServiceServer).GetRoom(ctx, in) |
| 1364 |
} |
| 1365 |
info := &grpc.UnaryServerInfo{ |
| 1366 |
Server: srv, |
| 1367 |
FullMethod: "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/GetRoom", |
| 1368 |
} |
| 1369 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1370 |
return srv.(SmartDeviceManagementServiceServer).GetRoom(ctx, req.(*GetRoomRequest)) |
| 1371 |
} |
| 1372 |
return interceptor(ctx, in, info, handler) |
| 1373 |
} |
| 1374 |
|
| 1375 |
func _SmartDeviceManagementService_ListRooms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1376 |
in := new(ListRoomsRequest) |
| 1377 |
if err := dec(in); err != nil { |
| 1378 |
return nil, err |
| 1379 |
} |
| 1380 |
if interceptor == nil { |
| 1381 |
return srv.(SmartDeviceManagementServiceServer).ListRooms(ctx, in) |
| 1382 |
} |
| 1383 |
info := &grpc.UnaryServerInfo{ |
| 1384 |
Server: srv, |
| 1385 |
FullMethod: "/google.home.enterprise.sdm.v1.SmartDeviceManagementService/ListRooms", |
| 1386 |
} |
| 1387 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1388 |
return srv.(SmartDeviceManagementServiceServer).ListRooms(ctx, req.(*ListRoomsRequest)) |
| 1389 |
} |
| 1390 |
return interceptor(ctx, in, info, handler) |
| 1391 |
} |
| 1392 |
|
| 1393 |
var _SmartDeviceManagementService_serviceDesc = grpc.ServiceDesc{ |
| 1394 |
ServiceName: "google.home.enterprise.sdm.v1.SmartDeviceManagementService", |
| 1395 |
HandlerType: (*SmartDeviceManagementServiceServer)(nil), |
| 1396 |
Methods: []grpc.MethodDesc{ |
| 1397 |
{ |
| 1398 |
MethodName: "GetDevice", |
| 1399 |
Handler: _SmartDeviceManagementService_GetDevice_Handler, |
| 1400 |
}, |
| 1401 |
{ |
| 1402 |
MethodName: "ListDevices", |
| 1403 |
Handler: _SmartDeviceManagementService_ListDevices_Handler, |
| 1404 |
}, |
| 1405 |
{ |
| 1406 |
MethodName: "ExecuteDeviceCommand", |
| 1407 |
Handler: _SmartDeviceManagementService_ExecuteDeviceCommand_Handler, |
| 1408 |
}, |
| 1409 |
{ |
| 1410 |
MethodName: "GetStructure", |
| 1411 |
Handler: _SmartDeviceManagementService_GetStructure_Handler, |
| 1412 |
}, |
| 1413 |
{ |
| 1414 |
MethodName: "ListStructures", |
| 1415 |
Handler: _SmartDeviceManagementService_ListStructures_Handler, |
| 1416 |
}, |
| 1417 |
{ |
| 1418 |
MethodName: "GetRoom", |
| 1419 |
Handler: _SmartDeviceManagementService_GetRoom_Handler, |
| 1420 |
}, |
| 1421 |
{ |
| 1422 |
MethodName: "ListRooms", |
| 1423 |
Handler: _SmartDeviceManagementService_ListRooms_Handler, |
| 1424 |
}, |
| 1425 |
}, |
| 1426 |
Streams: []grpc.StreamDesc{}, |
| 1427 |
Metadata: "google/home/enterprise/sdm/v1/smart_device_management_service.proto", |
| 1428 |
} |