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