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