1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/iot/v1/device_manager.proto 3 4package iot 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 empty "github.com/golang/protobuf/ptypes/empty" 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14 v1 "google.golang.org/genproto/googleapis/iam/v1" 15 _ "google.golang.org/genproto/googleapis/rpc/status" 16 field_mask "google.golang.org/genproto/protobuf/field_mask" 17 grpc "google.golang.org/grpc" 18 codes "google.golang.org/grpc/codes" 19 status "google.golang.org/grpc/status" 20) 21 22// Reference imports to suppress errors if they are not otherwise used. 23var _ = proto.Marshal 24var _ = fmt.Errorf 25var _ = math.Inf 26 27// This is a compile-time assertion to ensure that this generated file 28// is compatible with the proto package it is being compiled against. 29// A compilation error at this line likely means your copy of the 30// proto package needs to be updated. 31const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 32 33// Request for `CreateDeviceRegistry`. 34type CreateDeviceRegistryRequest struct { 35 // Required. The project and cloud region where this device registry must be created. 36 // For example, `projects/example-project/locations/us-central1`. 37 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 38 // Required. The device registry. The field `name` must be empty. The server will 39 // generate that field from the device registry `id` provided and the 40 // `parent` field. 41 DeviceRegistry *DeviceRegistry `protobuf:"bytes,2,opt,name=device_registry,json=deviceRegistry,proto3" json:"device_registry,omitempty"` 42 XXX_NoUnkeyedLiteral struct{} `json:"-"` 43 XXX_unrecognized []byte `json:"-"` 44 XXX_sizecache int32 `json:"-"` 45} 46 47func (m *CreateDeviceRegistryRequest) Reset() { *m = CreateDeviceRegistryRequest{} } 48func (m *CreateDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } 49func (*CreateDeviceRegistryRequest) ProtoMessage() {} 50func (*CreateDeviceRegistryRequest) Descriptor() ([]byte, []int) { 51 return fileDescriptor_9243c344ef472aff, []int{0} 52} 53 54func (m *CreateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { 55 return xxx_messageInfo_CreateDeviceRegistryRequest.Unmarshal(m, b) 56} 57func (m *CreateDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 58 return xxx_messageInfo_CreateDeviceRegistryRequest.Marshal(b, m, deterministic) 59} 60func (m *CreateDeviceRegistryRequest) XXX_Merge(src proto.Message) { 61 xxx_messageInfo_CreateDeviceRegistryRequest.Merge(m, src) 62} 63func (m *CreateDeviceRegistryRequest) XXX_Size() int { 64 return xxx_messageInfo_CreateDeviceRegistryRequest.Size(m) 65} 66func (m *CreateDeviceRegistryRequest) XXX_DiscardUnknown() { 67 xxx_messageInfo_CreateDeviceRegistryRequest.DiscardUnknown(m) 68} 69 70var xxx_messageInfo_CreateDeviceRegistryRequest proto.InternalMessageInfo 71 72func (m *CreateDeviceRegistryRequest) GetParent() string { 73 if m != nil { 74 return m.Parent 75 } 76 return "" 77} 78 79func (m *CreateDeviceRegistryRequest) GetDeviceRegistry() *DeviceRegistry { 80 if m != nil { 81 return m.DeviceRegistry 82 } 83 return nil 84} 85 86// Request for `GetDeviceRegistry`. 87type GetDeviceRegistryRequest struct { 88 // Required. The name of the device registry. For example, 89 // `projects/example-project/locations/us-central1/registries/my-registry`. 90 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 91 XXX_NoUnkeyedLiteral struct{} `json:"-"` 92 XXX_unrecognized []byte `json:"-"` 93 XXX_sizecache int32 `json:"-"` 94} 95 96func (m *GetDeviceRegistryRequest) Reset() { *m = GetDeviceRegistryRequest{} } 97func (m *GetDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } 98func (*GetDeviceRegistryRequest) ProtoMessage() {} 99func (*GetDeviceRegistryRequest) Descriptor() ([]byte, []int) { 100 return fileDescriptor_9243c344ef472aff, []int{1} 101} 102 103func (m *GetDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { 104 return xxx_messageInfo_GetDeviceRegistryRequest.Unmarshal(m, b) 105} 106func (m *GetDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 107 return xxx_messageInfo_GetDeviceRegistryRequest.Marshal(b, m, deterministic) 108} 109func (m *GetDeviceRegistryRequest) XXX_Merge(src proto.Message) { 110 xxx_messageInfo_GetDeviceRegistryRequest.Merge(m, src) 111} 112func (m *GetDeviceRegistryRequest) XXX_Size() int { 113 return xxx_messageInfo_GetDeviceRegistryRequest.Size(m) 114} 115func (m *GetDeviceRegistryRequest) XXX_DiscardUnknown() { 116 xxx_messageInfo_GetDeviceRegistryRequest.DiscardUnknown(m) 117} 118 119var xxx_messageInfo_GetDeviceRegistryRequest proto.InternalMessageInfo 120 121func (m *GetDeviceRegistryRequest) GetName() string { 122 if m != nil { 123 return m.Name 124 } 125 return "" 126} 127 128// Request for `DeleteDeviceRegistry`. 129type DeleteDeviceRegistryRequest struct { 130 // Required. The name of the device registry. For example, 131 // `projects/example-project/locations/us-central1/registries/my-registry`. 132 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 133 XXX_NoUnkeyedLiteral struct{} `json:"-"` 134 XXX_unrecognized []byte `json:"-"` 135 XXX_sizecache int32 `json:"-"` 136} 137 138func (m *DeleteDeviceRegistryRequest) Reset() { *m = DeleteDeviceRegistryRequest{} } 139func (m *DeleteDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } 140func (*DeleteDeviceRegistryRequest) ProtoMessage() {} 141func (*DeleteDeviceRegistryRequest) Descriptor() ([]byte, []int) { 142 return fileDescriptor_9243c344ef472aff, []int{2} 143} 144 145func (m *DeleteDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { 146 return xxx_messageInfo_DeleteDeviceRegistryRequest.Unmarshal(m, b) 147} 148func (m *DeleteDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 149 return xxx_messageInfo_DeleteDeviceRegistryRequest.Marshal(b, m, deterministic) 150} 151func (m *DeleteDeviceRegistryRequest) XXX_Merge(src proto.Message) { 152 xxx_messageInfo_DeleteDeviceRegistryRequest.Merge(m, src) 153} 154func (m *DeleteDeviceRegistryRequest) XXX_Size() int { 155 return xxx_messageInfo_DeleteDeviceRegistryRequest.Size(m) 156} 157func (m *DeleteDeviceRegistryRequest) XXX_DiscardUnknown() { 158 xxx_messageInfo_DeleteDeviceRegistryRequest.DiscardUnknown(m) 159} 160 161var xxx_messageInfo_DeleteDeviceRegistryRequest proto.InternalMessageInfo 162 163func (m *DeleteDeviceRegistryRequest) GetName() string { 164 if m != nil { 165 return m.Name 166 } 167 return "" 168} 169 170// Request for `UpdateDeviceRegistry`. 171type UpdateDeviceRegistryRequest struct { 172 // Required. The new values for the device registry. The `id` field must be empty, and 173 // the `name` field must indicate the path of the resource. For example, 174 // `projects/example-project/locations/us-central1/registries/my-registry`. 175 DeviceRegistry *DeviceRegistry `protobuf:"bytes,1,opt,name=device_registry,json=deviceRegistry,proto3" json:"device_registry,omitempty"` 176 // Required. Only updates the `device_registry` fields indicated by this mask. 177 // The field mask must not be empty, and it must not contain fields that 178 // are immutable or only set by the server. 179 // Mutable top-level fields: `event_notification_config`, `http_config`, 180 // `mqtt_config`, and `state_notification_config`. 181 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 182 XXX_NoUnkeyedLiteral struct{} `json:"-"` 183 XXX_unrecognized []byte `json:"-"` 184 XXX_sizecache int32 `json:"-"` 185} 186 187func (m *UpdateDeviceRegistryRequest) Reset() { *m = UpdateDeviceRegistryRequest{} } 188func (m *UpdateDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } 189func (*UpdateDeviceRegistryRequest) ProtoMessage() {} 190func (*UpdateDeviceRegistryRequest) Descriptor() ([]byte, []int) { 191 return fileDescriptor_9243c344ef472aff, []int{3} 192} 193 194func (m *UpdateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { 195 return xxx_messageInfo_UpdateDeviceRegistryRequest.Unmarshal(m, b) 196} 197func (m *UpdateDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 198 return xxx_messageInfo_UpdateDeviceRegistryRequest.Marshal(b, m, deterministic) 199} 200func (m *UpdateDeviceRegistryRequest) XXX_Merge(src proto.Message) { 201 xxx_messageInfo_UpdateDeviceRegistryRequest.Merge(m, src) 202} 203func (m *UpdateDeviceRegistryRequest) XXX_Size() int { 204 return xxx_messageInfo_UpdateDeviceRegistryRequest.Size(m) 205} 206func (m *UpdateDeviceRegistryRequest) XXX_DiscardUnknown() { 207 xxx_messageInfo_UpdateDeviceRegistryRequest.DiscardUnknown(m) 208} 209 210var xxx_messageInfo_UpdateDeviceRegistryRequest proto.InternalMessageInfo 211 212func (m *UpdateDeviceRegistryRequest) GetDeviceRegistry() *DeviceRegistry { 213 if m != nil { 214 return m.DeviceRegistry 215 } 216 return nil 217} 218 219func (m *UpdateDeviceRegistryRequest) GetUpdateMask() *field_mask.FieldMask { 220 if m != nil { 221 return m.UpdateMask 222 } 223 return nil 224} 225 226// Request for `ListDeviceRegistries`. 227type ListDeviceRegistriesRequest struct { 228 // Required. The project and cloud region path. For example, 229 // `projects/example-project/locations/us-central1`. 230 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 231 // The maximum number of registries to return in the response. If this value 232 // is zero, the service will select a default size. A call may return fewer 233 // objects than requested. A non-empty `next_page_token` in the response 234 // indicates that more data is available. 235 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 236 // The value returned by the last `ListDeviceRegistriesResponse`; indicates 237 // that this is a continuation of a prior `ListDeviceRegistries` call and 238 // the system should return the next page of data. 239 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 240 XXX_NoUnkeyedLiteral struct{} `json:"-"` 241 XXX_unrecognized []byte `json:"-"` 242 XXX_sizecache int32 `json:"-"` 243} 244 245func (m *ListDeviceRegistriesRequest) Reset() { *m = ListDeviceRegistriesRequest{} } 246func (m *ListDeviceRegistriesRequest) String() string { return proto.CompactTextString(m) } 247func (*ListDeviceRegistriesRequest) ProtoMessage() {} 248func (*ListDeviceRegistriesRequest) Descriptor() ([]byte, []int) { 249 return fileDescriptor_9243c344ef472aff, []int{4} 250} 251 252func (m *ListDeviceRegistriesRequest) XXX_Unmarshal(b []byte) error { 253 return xxx_messageInfo_ListDeviceRegistriesRequest.Unmarshal(m, b) 254} 255func (m *ListDeviceRegistriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 256 return xxx_messageInfo_ListDeviceRegistriesRequest.Marshal(b, m, deterministic) 257} 258func (m *ListDeviceRegistriesRequest) XXX_Merge(src proto.Message) { 259 xxx_messageInfo_ListDeviceRegistriesRequest.Merge(m, src) 260} 261func (m *ListDeviceRegistriesRequest) XXX_Size() int { 262 return xxx_messageInfo_ListDeviceRegistriesRequest.Size(m) 263} 264func (m *ListDeviceRegistriesRequest) XXX_DiscardUnknown() { 265 xxx_messageInfo_ListDeviceRegistriesRequest.DiscardUnknown(m) 266} 267 268var xxx_messageInfo_ListDeviceRegistriesRequest proto.InternalMessageInfo 269 270func (m *ListDeviceRegistriesRequest) GetParent() string { 271 if m != nil { 272 return m.Parent 273 } 274 return "" 275} 276 277func (m *ListDeviceRegistriesRequest) GetPageSize() int32 { 278 if m != nil { 279 return m.PageSize 280 } 281 return 0 282} 283 284func (m *ListDeviceRegistriesRequest) GetPageToken() string { 285 if m != nil { 286 return m.PageToken 287 } 288 return "" 289} 290 291// Response for `ListDeviceRegistries`. 292type ListDeviceRegistriesResponse struct { 293 // The registries that matched the query. 294 DeviceRegistries []*DeviceRegistry `protobuf:"bytes,1,rep,name=device_registries,json=deviceRegistries,proto3" json:"device_registries,omitempty"` 295 // If not empty, indicates that there may be more registries that match the 296 // request; this value should be passed in a new 297 // `ListDeviceRegistriesRequest`. 298 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 299 XXX_NoUnkeyedLiteral struct{} `json:"-"` 300 XXX_unrecognized []byte `json:"-"` 301 XXX_sizecache int32 `json:"-"` 302} 303 304func (m *ListDeviceRegistriesResponse) Reset() { *m = ListDeviceRegistriesResponse{} } 305func (m *ListDeviceRegistriesResponse) String() string { return proto.CompactTextString(m) } 306func (*ListDeviceRegistriesResponse) ProtoMessage() {} 307func (*ListDeviceRegistriesResponse) Descriptor() ([]byte, []int) { 308 return fileDescriptor_9243c344ef472aff, []int{5} 309} 310 311func (m *ListDeviceRegistriesResponse) XXX_Unmarshal(b []byte) error { 312 return xxx_messageInfo_ListDeviceRegistriesResponse.Unmarshal(m, b) 313} 314func (m *ListDeviceRegistriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 315 return xxx_messageInfo_ListDeviceRegistriesResponse.Marshal(b, m, deterministic) 316} 317func (m *ListDeviceRegistriesResponse) XXX_Merge(src proto.Message) { 318 xxx_messageInfo_ListDeviceRegistriesResponse.Merge(m, src) 319} 320func (m *ListDeviceRegistriesResponse) XXX_Size() int { 321 return xxx_messageInfo_ListDeviceRegistriesResponse.Size(m) 322} 323func (m *ListDeviceRegistriesResponse) XXX_DiscardUnknown() { 324 xxx_messageInfo_ListDeviceRegistriesResponse.DiscardUnknown(m) 325} 326 327var xxx_messageInfo_ListDeviceRegistriesResponse proto.InternalMessageInfo 328 329func (m *ListDeviceRegistriesResponse) GetDeviceRegistries() []*DeviceRegistry { 330 if m != nil { 331 return m.DeviceRegistries 332 } 333 return nil 334} 335 336func (m *ListDeviceRegistriesResponse) GetNextPageToken() string { 337 if m != nil { 338 return m.NextPageToken 339 } 340 return "" 341} 342 343// Request for `CreateDevice`. 344type CreateDeviceRequest struct { 345 // Required. The name of the device registry where this device should be created. 346 // For example, 347 // `projects/example-project/locations/us-central1/registries/my-registry`. 348 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 349 // Required. The device registration details. The field `name` must be empty. The server 350 // generates `name` from the device registry `id` and the 351 // `parent` field. 352 Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` 353 XXX_NoUnkeyedLiteral struct{} `json:"-"` 354 XXX_unrecognized []byte `json:"-"` 355 XXX_sizecache int32 `json:"-"` 356} 357 358func (m *CreateDeviceRequest) Reset() { *m = CreateDeviceRequest{} } 359func (m *CreateDeviceRequest) String() string { return proto.CompactTextString(m) } 360func (*CreateDeviceRequest) ProtoMessage() {} 361func (*CreateDeviceRequest) Descriptor() ([]byte, []int) { 362 return fileDescriptor_9243c344ef472aff, []int{6} 363} 364 365func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error { 366 return xxx_messageInfo_CreateDeviceRequest.Unmarshal(m, b) 367} 368func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 369 return xxx_messageInfo_CreateDeviceRequest.Marshal(b, m, deterministic) 370} 371func (m *CreateDeviceRequest) XXX_Merge(src proto.Message) { 372 xxx_messageInfo_CreateDeviceRequest.Merge(m, src) 373} 374func (m *CreateDeviceRequest) XXX_Size() int { 375 return xxx_messageInfo_CreateDeviceRequest.Size(m) 376} 377func (m *CreateDeviceRequest) XXX_DiscardUnknown() { 378 xxx_messageInfo_CreateDeviceRequest.DiscardUnknown(m) 379} 380 381var xxx_messageInfo_CreateDeviceRequest proto.InternalMessageInfo 382 383func (m *CreateDeviceRequest) GetParent() string { 384 if m != nil { 385 return m.Parent 386 } 387 return "" 388} 389 390func (m *CreateDeviceRequest) GetDevice() *Device { 391 if m != nil { 392 return m.Device 393 } 394 return nil 395} 396 397// Request for `GetDevice`. 398type GetDeviceRequest struct { 399 // Required. The name of the device. For example, 400 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 401 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 402 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 403 // The fields of the `Device` resource to be returned in the response. If the 404 // field mask is unset or empty, all fields are returned. 405 FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 406 XXX_NoUnkeyedLiteral struct{} `json:"-"` 407 XXX_unrecognized []byte `json:"-"` 408 XXX_sizecache int32 `json:"-"` 409} 410 411func (m *GetDeviceRequest) Reset() { *m = GetDeviceRequest{} } 412func (m *GetDeviceRequest) String() string { return proto.CompactTextString(m) } 413func (*GetDeviceRequest) ProtoMessage() {} 414func (*GetDeviceRequest) Descriptor() ([]byte, []int) { 415 return fileDescriptor_9243c344ef472aff, []int{7} 416} 417 418func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error { 419 return xxx_messageInfo_GetDeviceRequest.Unmarshal(m, b) 420} 421func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 422 return xxx_messageInfo_GetDeviceRequest.Marshal(b, m, deterministic) 423} 424func (m *GetDeviceRequest) XXX_Merge(src proto.Message) { 425 xxx_messageInfo_GetDeviceRequest.Merge(m, src) 426} 427func (m *GetDeviceRequest) XXX_Size() int { 428 return xxx_messageInfo_GetDeviceRequest.Size(m) 429} 430func (m *GetDeviceRequest) XXX_DiscardUnknown() { 431 xxx_messageInfo_GetDeviceRequest.DiscardUnknown(m) 432} 433 434var xxx_messageInfo_GetDeviceRequest proto.InternalMessageInfo 435 436func (m *GetDeviceRequest) GetName() string { 437 if m != nil { 438 return m.Name 439 } 440 return "" 441} 442 443func (m *GetDeviceRequest) GetFieldMask() *field_mask.FieldMask { 444 if m != nil { 445 return m.FieldMask 446 } 447 return nil 448} 449 450// Request for `UpdateDevice`. 451type UpdateDeviceRequest struct { 452 // Required. The new values for the device. The `id` and `num_id` fields must 453 // be empty, and the field `name` must specify the name path. For example, 454 // `projects/p0/locations/us-central1/registries/registry0/devices/device0`or 455 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 456 Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` 457 // Required. Only updates the `device` fields indicated by this mask. 458 // The field mask must not be empty, and it must not contain fields that 459 // are immutable or only set by the server. 460 // Mutable top-level fields: `credentials`, `blocked`, and `metadata` 461 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 462 XXX_NoUnkeyedLiteral struct{} `json:"-"` 463 XXX_unrecognized []byte `json:"-"` 464 XXX_sizecache int32 `json:"-"` 465} 466 467func (m *UpdateDeviceRequest) Reset() { *m = UpdateDeviceRequest{} } 468func (m *UpdateDeviceRequest) String() string { return proto.CompactTextString(m) } 469func (*UpdateDeviceRequest) ProtoMessage() {} 470func (*UpdateDeviceRequest) Descriptor() ([]byte, []int) { 471 return fileDescriptor_9243c344ef472aff, []int{8} 472} 473 474func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error { 475 return xxx_messageInfo_UpdateDeviceRequest.Unmarshal(m, b) 476} 477func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 478 return xxx_messageInfo_UpdateDeviceRequest.Marshal(b, m, deterministic) 479} 480func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message) { 481 xxx_messageInfo_UpdateDeviceRequest.Merge(m, src) 482} 483func (m *UpdateDeviceRequest) XXX_Size() int { 484 return xxx_messageInfo_UpdateDeviceRequest.Size(m) 485} 486func (m *UpdateDeviceRequest) XXX_DiscardUnknown() { 487 xxx_messageInfo_UpdateDeviceRequest.DiscardUnknown(m) 488} 489 490var xxx_messageInfo_UpdateDeviceRequest proto.InternalMessageInfo 491 492func (m *UpdateDeviceRequest) GetDevice() *Device { 493 if m != nil { 494 return m.Device 495 } 496 return nil 497} 498 499func (m *UpdateDeviceRequest) GetUpdateMask() *field_mask.FieldMask { 500 if m != nil { 501 return m.UpdateMask 502 } 503 return nil 504} 505 506// Request for `DeleteDevice`. 507type DeleteDeviceRequest struct { 508 // Required. The name of the device. For example, 509 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 510 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 511 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 512 XXX_NoUnkeyedLiteral struct{} `json:"-"` 513 XXX_unrecognized []byte `json:"-"` 514 XXX_sizecache int32 `json:"-"` 515} 516 517func (m *DeleteDeviceRequest) Reset() { *m = DeleteDeviceRequest{} } 518func (m *DeleteDeviceRequest) String() string { return proto.CompactTextString(m) } 519func (*DeleteDeviceRequest) ProtoMessage() {} 520func (*DeleteDeviceRequest) Descriptor() ([]byte, []int) { 521 return fileDescriptor_9243c344ef472aff, []int{9} 522} 523 524func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error { 525 return xxx_messageInfo_DeleteDeviceRequest.Unmarshal(m, b) 526} 527func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 528 return xxx_messageInfo_DeleteDeviceRequest.Marshal(b, m, deterministic) 529} 530func (m *DeleteDeviceRequest) XXX_Merge(src proto.Message) { 531 xxx_messageInfo_DeleteDeviceRequest.Merge(m, src) 532} 533func (m *DeleteDeviceRequest) XXX_Size() int { 534 return xxx_messageInfo_DeleteDeviceRequest.Size(m) 535} 536func (m *DeleteDeviceRequest) XXX_DiscardUnknown() { 537 xxx_messageInfo_DeleteDeviceRequest.DiscardUnknown(m) 538} 539 540var xxx_messageInfo_DeleteDeviceRequest proto.InternalMessageInfo 541 542func (m *DeleteDeviceRequest) GetName() string { 543 if m != nil { 544 return m.Name 545 } 546 return "" 547} 548 549// Request for `ListDevices`. 550type ListDevicesRequest struct { 551 // Required. The device registry path. Required. For example, 552 // `projects/my-project/locations/us-central1/registries/my-registry`. 553 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 554 // A list of device numeric IDs. If empty, this field is ignored. Maximum 555 // IDs: 10,000. 556 DeviceNumIds []uint64 `protobuf:"varint,2,rep,packed,name=device_num_ids,json=deviceNumIds,proto3" json:"device_num_ids,omitempty"` 557 // A list of device string IDs. For example, `['device0', 'device12']`. 558 // If empty, this field is ignored. Maximum IDs: 10,000 559 DeviceIds []string `protobuf:"bytes,3,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"` 560 // The fields of the `Device` resource to be returned in the response. The 561 // fields `id` and `num_id` are always returned, along with any 562 // other fields specified. 563 FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 564 // Options related to gateways. 565 GatewayListOptions *GatewayListOptions `protobuf:"bytes,6,opt,name=gateway_list_options,json=gatewayListOptions,proto3" json:"gateway_list_options,omitempty"` 566 // The maximum number of devices to return in the response. If this value 567 // is zero, the service will select a default size. A call may return fewer 568 // objects than requested. A non-empty `next_page_token` in the response 569 // indicates that more data is available. 570 PageSize int32 `protobuf:"varint,100,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 571 // The value returned by the last `ListDevicesResponse`; indicates 572 // that this is a continuation of a prior `ListDevices` call and 573 // the system should return the next page of data. 574 PageToken string `protobuf:"bytes,101,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 575 XXX_NoUnkeyedLiteral struct{} `json:"-"` 576 XXX_unrecognized []byte `json:"-"` 577 XXX_sizecache int32 `json:"-"` 578} 579 580func (m *ListDevicesRequest) Reset() { *m = ListDevicesRequest{} } 581func (m *ListDevicesRequest) String() string { return proto.CompactTextString(m) } 582func (*ListDevicesRequest) ProtoMessage() {} 583func (*ListDevicesRequest) Descriptor() ([]byte, []int) { 584 return fileDescriptor_9243c344ef472aff, []int{10} 585} 586 587func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error { 588 return xxx_messageInfo_ListDevicesRequest.Unmarshal(m, b) 589} 590func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 591 return xxx_messageInfo_ListDevicesRequest.Marshal(b, m, deterministic) 592} 593func (m *ListDevicesRequest) XXX_Merge(src proto.Message) { 594 xxx_messageInfo_ListDevicesRequest.Merge(m, src) 595} 596func (m *ListDevicesRequest) XXX_Size() int { 597 return xxx_messageInfo_ListDevicesRequest.Size(m) 598} 599func (m *ListDevicesRequest) XXX_DiscardUnknown() { 600 xxx_messageInfo_ListDevicesRequest.DiscardUnknown(m) 601} 602 603var xxx_messageInfo_ListDevicesRequest proto.InternalMessageInfo 604 605func (m *ListDevicesRequest) GetParent() string { 606 if m != nil { 607 return m.Parent 608 } 609 return "" 610} 611 612func (m *ListDevicesRequest) GetDeviceNumIds() []uint64 { 613 if m != nil { 614 return m.DeviceNumIds 615 } 616 return nil 617} 618 619func (m *ListDevicesRequest) GetDeviceIds() []string { 620 if m != nil { 621 return m.DeviceIds 622 } 623 return nil 624} 625 626func (m *ListDevicesRequest) GetFieldMask() *field_mask.FieldMask { 627 if m != nil { 628 return m.FieldMask 629 } 630 return nil 631} 632 633func (m *ListDevicesRequest) GetGatewayListOptions() *GatewayListOptions { 634 if m != nil { 635 return m.GatewayListOptions 636 } 637 return nil 638} 639 640func (m *ListDevicesRequest) GetPageSize() int32 { 641 if m != nil { 642 return m.PageSize 643 } 644 return 0 645} 646 647func (m *ListDevicesRequest) GetPageToken() string { 648 if m != nil { 649 return m.PageToken 650 } 651 return "" 652} 653 654// Options for limiting the list based on gateway type and associations. 655type GatewayListOptions struct { 656 // If not set, all devices and gateways are returned. If set, the list is 657 // filtered based on gateway type and associations. 658 // 659 // Types that are valid to be assigned to Filter: 660 // *GatewayListOptions_GatewayType 661 // *GatewayListOptions_AssociationsGatewayId 662 // *GatewayListOptions_AssociationsDeviceId 663 Filter isGatewayListOptions_Filter `protobuf_oneof:"filter"` 664 XXX_NoUnkeyedLiteral struct{} `json:"-"` 665 XXX_unrecognized []byte `json:"-"` 666 XXX_sizecache int32 `json:"-"` 667} 668 669func (m *GatewayListOptions) Reset() { *m = GatewayListOptions{} } 670func (m *GatewayListOptions) String() string { return proto.CompactTextString(m) } 671func (*GatewayListOptions) ProtoMessage() {} 672func (*GatewayListOptions) Descriptor() ([]byte, []int) { 673 return fileDescriptor_9243c344ef472aff, []int{11} 674} 675 676func (m *GatewayListOptions) XXX_Unmarshal(b []byte) error { 677 return xxx_messageInfo_GatewayListOptions.Unmarshal(m, b) 678} 679func (m *GatewayListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 680 return xxx_messageInfo_GatewayListOptions.Marshal(b, m, deterministic) 681} 682func (m *GatewayListOptions) XXX_Merge(src proto.Message) { 683 xxx_messageInfo_GatewayListOptions.Merge(m, src) 684} 685func (m *GatewayListOptions) XXX_Size() int { 686 return xxx_messageInfo_GatewayListOptions.Size(m) 687} 688func (m *GatewayListOptions) XXX_DiscardUnknown() { 689 xxx_messageInfo_GatewayListOptions.DiscardUnknown(m) 690} 691 692var xxx_messageInfo_GatewayListOptions proto.InternalMessageInfo 693 694type isGatewayListOptions_Filter interface { 695 isGatewayListOptions_Filter() 696} 697 698type GatewayListOptions_GatewayType struct { 699 GatewayType GatewayType `protobuf:"varint,1,opt,name=gateway_type,json=gatewayType,proto3,enum=google.cloud.iot.v1.GatewayType,oneof"` 700} 701 702type GatewayListOptions_AssociationsGatewayId struct { 703 AssociationsGatewayId string `protobuf:"bytes,2,opt,name=associations_gateway_id,json=associationsGatewayId,proto3,oneof"` 704} 705 706type GatewayListOptions_AssociationsDeviceId struct { 707 AssociationsDeviceId string `protobuf:"bytes,3,opt,name=associations_device_id,json=associationsDeviceId,proto3,oneof"` 708} 709 710func (*GatewayListOptions_GatewayType) isGatewayListOptions_Filter() {} 711 712func (*GatewayListOptions_AssociationsGatewayId) isGatewayListOptions_Filter() {} 713 714func (*GatewayListOptions_AssociationsDeviceId) isGatewayListOptions_Filter() {} 715 716func (m *GatewayListOptions) GetFilter() isGatewayListOptions_Filter { 717 if m != nil { 718 return m.Filter 719 } 720 return nil 721} 722 723func (m *GatewayListOptions) GetGatewayType() GatewayType { 724 if x, ok := m.GetFilter().(*GatewayListOptions_GatewayType); ok { 725 return x.GatewayType 726 } 727 return GatewayType_GATEWAY_TYPE_UNSPECIFIED 728} 729 730func (m *GatewayListOptions) GetAssociationsGatewayId() string { 731 if x, ok := m.GetFilter().(*GatewayListOptions_AssociationsGatewayId); ok { 732 return x.AssociationsGatewayId 733 } 734 return "" 735} 736 737func (m *GatewayListOptions) GetAssociationsDeviceId() string { 738 if x, ok := m.GetFilter().(*GatewayListOptions_AssociationsDeviceId); ok { 739 return x.AssociationsDeviceId 740 } 741 return "" 742} 743 744// XXX_OneofWrappers is for the internal use of the proto package. 745func (*GatewayListOptions) XXX_OneofWrappers() []interface{} { 746 return []interface{}{ 747 (*GatewayListOptions_GatewayType)(nil), 748 (*GatewayListOptions_AssociationsGatewayId)(nil), 749 (*GatewayListOptions_AssociationsDeviceId)(nil), 750 } 751} 752 753// Response for `ListDevices`. 754type ListDevicesResponse struct { 755 // The devices that match the request. 756 Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` 757 // If not empty, indicates that there may be more devices that match the 758 // request; this value should be passed in a new `ListDevicesRequest`. 759 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 760 XXX_NoUnkeyedLiteral struct{} `json:"-"` 761 XXX_unrecognized []byte `json:"-"` 762 XXX_sizecache int32 `json:"-"` 763} 764 765func (m *ListDevicesResponse) Reset() { *m = ListDevicesResponse{} } 766func (m *ListDevicesResponse) String() string { return proto.CompactTextString(m) } 767func (*ListDevicesResponse) ProtoMessage() {} 768func (*ListDevicesResponse) Descriptor() ([]byte, []int) { 769 return fileDescriptor_9243c344ef472aff, []int{12} 770} 771 772func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error { 773 return xxx_messageInfo_ListDevicesResponse.Unmarshal(m, b) 774} 775func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 776 return xxx_messageInfo_ListDevicesResponse.Marshal(b, m, deterministic) 777} 778func (m *ListDevicesResponse) XXX_Merge(src proto.Message) { 779 xxx_messageInfo_ListDevicesResponse.Merge(m, src) 780} 781func (m *ListDevicesResponse) XXX_Size() int { 782 return xxx_messageInfo_ListDevicesResponse.Size(m) 783} 784func (m *ListDevicesResponse) XXX_DiscardUnknown() { 785 xxx_messageInfo_ListDevicesResponse.DiscardUnknown(m) 786} 787 788var xxx_messageInfo_ListDevicesResponse proto.InternalMessageInfo 789 790func (m *ListDevicesResponse) GetDevices() []*Device { 791 if m != nil { 792 return m.Devices 793 } 794 return nil 795} 796 797func (m *ListDevicesResponse) GetNextPageToken() string { 798 if m != nil { 799 return m.NextPageToken 800 } 801 return "" 802} 803 804// Request for `ModifyCloudToDeviceConfig`. 805type ModifyCloudToDeviceConfigRequest struct { 806 // Required. The name of the device. For example, 807 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 808 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 809 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 810 // The version number to update. If this value is zero, it will not check the 811 // version number of the server and will always update the current version; 812 // otherwise, this update will fail if the version number found on the server 813 // does not match this version number. This is used to support multiple 814 // simultaneous updates without losing data. 815 VersionToUpdate int64 `protobuf:"varint,2,opt,name=version_to_update,json=versionToUpdate,proto3" json:"version_to_update,omitempty"` 816 // Required. The configuration data for the device. 817 BinaryData []byte `protobuf:"bytes,3,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"` 818 XXX_NoUnkeyedLiteral struct{} `json:"-"` 819 XXX_unrecognized []byte `json:"-"` 820 XXX_sizecache int32 `json:"-"` 821} 822 823func (m *ModifyCloudToDeviceConfigRequest) Reset() { *m = ModifyCloudToDeviceConfigRequest{} } 824func (m *ModifyCloudToDeviceConfigRequest) String() string { return proto.CompactTextString(m) } 825func (*ModifyCloudToDeviceConfigRequest) ProtoMessage() {} 826func (*ModifyCloudToDeviceConfigRequest) Descriptor() ([]byte, []int) { 827 return fileDescriptor_9243c344ef472aff, []int{13} 828} 829 830func (m *ModifyCloudToDeviceConfigRequest) XXX_Unmarshal(b []byte) error { 831 return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Unmarshal(m, b) 832} 833func (m *ModifyCloudToDeviceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 834 return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Marshal(b, m, deterministic) 835} 836func (m *ModifyCloudToDeviceConfigRequest) XXX_Merge(src proto.Message) { 837 xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Merge(m, src) 838} 839func (m *ModifyCloudToDeviceConfigRequest) XXX_Size() int { 840 return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Size(m) 841} 842func (m *ModifyCloudToDeviceConfigRequest) XXX_DiscardUnknown() { 843 xxx_messageInfo_ModifyCloudToDeviceConfigRequest.DiscardUnknown(m) 844} 845 846var xxx_messageInfo_ModifyCloudToDeviceConfigRequest proto.InternalMessageInfo 847 848func (m *ModifyCloudToDeviceConfigRequest) GetName() string { 849 if m != nil { 850 return m.Name 851 } 852 return "" 853} 854 855func (m *ModifyCloudToDeviceConfigRequest) GetVersionToUpdate() int64 { 856 if m != nil { 857 return m.VersionToUpdate 858 } 859 return 0 860} 861 862func (m *ModifyCloudToDeviceConfigRequest) GetBinaryData() []byte { 863 if m != nil { 864 return m.BinaryData 865 } 866 return nil 867} 868 869// Request for `ListDeviceConfigVersions`. 870type ListDeviceConfigVersionsRequest struct { 871 // Required. The name of the device. For example, 872 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 873 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 874 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 875 // The number of versions to list. Versions are listed in decreasing order of 876 // the version number. The maximum number of versions retained is 10. If this 877 // value is zero, it will return all the versions available. 878 NumVersions int32 `protobuf:"varint,2,opt,name=num_versions,json=numVersions,proto3" json:"num_versions,omitempty"` 879 XXX_NoUnkeyedLiteral struct{} `json:"-"` 880 XXX_unrecognized []byte `json:"-"` 881 XXX_sizecache int32 `json:"-"` 882} 883 884func (m *ListDeviceConfigVersionsRequest) Reset() { *m = ListDeviceConfigVersionsRequest{} } 885func (m *ListDeviceConfigVersionsRequest) String() string { return proto.CompactTextString(m) } 886func (*ListDeviceConfigVersionsRequest) ProtoMessage() {} 887func (*ListDeviceConfigVersionsRequest) Descriptor() ([]byte, []int) { 888 return fileDescriptor_9243c344ef472aff, []int{14} 889} 890 891func (m *ListDeviceConfigVersionsRequest) XXX_Unmarshal(b []byte) error { 892 return xxx_messageInfo_ListDeviceConfigVersionsRequest.Unmarshal(m, b) 893} 894func (m *ListDeviceConfigVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 895 return xxx_messageInfo_ListDeviceConfigVersionsRequest.Marshal(b, m, deterministic) 896} 897func (m *ListDeviceConfigVersionsRequest) XXX_Merge(src proto.Message) { 898 xxx_messageInfo_ListDeviceConfigVersionsRequest.Merge(m, src) 899} 900func (m *ListDeviceConfigVersionsRequest) XXX_Size() int { 901 return xxx_messageInfo_ListDeviceConfigVersionsRequest.Size(m) 902} 903func (m *ListDeviceConfigVersionsRequest) XXX_DiscardUnknown() { 904 xxx_messageInfo_ListDeviceConfigVersionsRequest.DiscardUnknown(m) 905} 906 907var xxx_messageInfo_ListDeviceConfigVersionsRequest proto.InternalMessageInfo 908 909func (m *ListDeviceConfigVersionsRequest) GetName() string { 910 if m != nil { 911 return m.Name 912 } 913 return "" 914} 915 916func (m *ListDeviceConfigVersionsRequest) GetNumVersions() int32 { 917 if m != nil { 918 return m.NumVersions 919 } 920 return 0 921} 922 923// Response for `ListDeviceConfigVersions`. 924type ListDeviceConfigVersionsResponse struct { 925 // The device configuration for the last few versions. Versions are listed 926 // in decreasing order, starting from the most recent one. 927 DeviceConfigs []*DeviceConfig `protobuf:"bytes,1,rep,name=device_configs,json=deviceConfigs,proto3" json:"device_configs,omitempty"` 928 XXX_NoUnkeyedLiteral struct{} `json:"-"` 929 XXX_unrecognized []byte `json:"-"` 930 XXX_sizecache int32 `json:"-"` 931} 932 933func (m *ListDeviceConfigVersionsResponse) Reset() { *m = ListDeviceConfigVersionsResponse{} } 934func (m *ListDeviceConfigVersionsResponse) String() string { return proto.CompactTextString(m) } 935func (*ListDeviceConfigVersionsResponse) ProtoMessage() {} 936func (*ListDeviceConfigVersionsResponse) Descriptor() ([]byte, []int) { 937 return fileDescriptor_9243c344ef472aff, []int{15} 938} 939 940func (m *ListDeviceConfigVersionsResponse) XXX_Unmarshal(b []byte) error { 941 return xxx_messageInfo_ListDeviceConfigVersionsResponse.Unmarshal(m, b) 942} 943func (m *ListDeviceConfigVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 944 return xxx_messageInfo_ListDeviceConfigVersionsResponse.Marshal(b, m, deterministic) 945} 946func (m *ListDeviceConfigVersionsResponse) XXX_Merge(src proto.Message) { 947 xxx_messageInfo_ListDeviceConfigVersionsResponse.Merge(m, src) 948} 949func (m *ListDeviceConfigVersionsResponse) XXX_Size() int { 950 return xxx_messageInfo_ListDeviceConfigVersionsResponse.Size(m) 951} 952func (m *ListDeviceConfigVersionsResponse) XXX_DiscardUnknown() { 953 xxx_messageInfo_ListDeviceConfigVersionsResponse.DiscardUnknown(m) 954} 955 956var xxx_messageInfo_ListDeviceConfigVersionsResponse proto.InternalMessageInfo 957 958func (m *ListDeviceConfigVersionsResponse) GetDeviceConfigs() []*DeviceConfig { 959 if m != nil { 960 return m.DeviceConfigs 961 } 962 return nil 963} 964 965// Request for `ListDeviceStates`. 966type ListDeviceStatesRequest struct { 967 // Required. The name of the device. For example, 968 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 969 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 970 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 971 // The number of states to list. States are listed in descending order of 972 // update time. The maximum number of states retained is 10. If this 973 // value is zero, it will return all the states available. 974 NumStates int32 `protobuf:"varint,2,opt,name=num_states,json=numStates,proto3" json:"num_states,omitempty"` 975 XXX_NoUnkeyedLiteral struct{} `json:"-"` 976 XXX_unrecognized []byte `json:"-"` 977 XXX_sizecache int32 `json:"-"` 978} 979 980func (m *ListDeviceStatesRequest) Reset() { *m = ListDeviceStatesRequest{} } 981func (m *ListDeviceStatesRequest) String() string { return proto.CompactTextString(m) } 982func (*ListDeviceStatesRequest) ProtoMessage() {} 983func (*ListDeviceStatesRequest) Descriptor() ([]byte, []int) { 984 return fileDescriptor_9243c344ef472aff, []int{16} 985} 986 987func (m *ListDeviceStatesRequest) XXX_Unmarshal(b []byte) error { 988 return xxx_messageInfo_ListDeviceStatesRequest.Unmarshal(m, b) 989} 990func (m *ListDeviceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 991 return xxx_messageInfo_ListDeviceStatesRequest.Marshal(b, m, deterministic) 992} 993func (m *ListDeviceStatesRequest) XXX_Merge(src proto.Message) { 994 xxx_messageInfo_ListDeviceStatesRequest.Merge(m, src) 995} 996func (m *ListDeviceStatesRequest) XXX_Size() int { 997 return xxx_messageInfo_ListDeviceStatesRequest.Size(m) 998} 999func (m *ListDeviceStatesRequest) XXX_DiscardUnknown() { 1000 xxx_messageInfo_ListDeviceStatesRequest.DiscardUnknown(m) 1001} 1002 1003var xxx_messageInfo_ListDeviceStatesRequest proto.InternalMessageInfo 1004 1005func (m *ListDeviceStatesRequest) GetName() string { 1006 if m != nil { 1007 return m.Name 1008 } 1009 return "" 1010} 1011 1012func (m *ListDeviceStatesRequest) GetNumStates() int32 { 1013 if m != nil { 1014 return m.NumStates 1015 } 1016 return 0 1017} 1018 1019// Response for `ListDeviceStates`. 1020type ListDeviceStatesResponse struct { 1021 // The last few device states. States are listed in descending order of server 1022 // update time, starting from the most recent one. 1023 DeviceStates []*DeviceState `protobuf:"bytes,1,rep,name=device_states,json=deviceStates,proto3" json:"device_states,omitempty"` 1024 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1025 XXX_unrecognized []byte `json:"-"` 1026 XXX_sizecache int32 `json:"-"` 1027} 1028 1029func (m *ListDeviceStatesResponse) Reset() { *m = ListDeviceStatesResponse{} } 1030func (m *ListDeviceStatesResponse) String() string { return proto.CompactTextString(m) } 1031func (*ListDeviceStatesResponse) ProtoMessage() {} 1032func (*ListDeviceStatesResponse) Descriptor() ([]byte, []int) { 1033 return fileDescriptor_9243c344ef472aff, []int{17} 1034} 1035 1036func (m *ListDeviceStatesResponse) XXX_Unmarshal(b []byte) error { 1037 return xxx_messageInfo_ListDeviceStatesResponse.Unmarshal(m, b) 1038} 1039func (m *ListDeviceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1040 return xxx_messageInfo_ListDeviceStatesResponse.Marshal(b, m, deterministic) 1041} 1042func (m *ListDeviceStatesResponse) XXX_Merge(src proto.Message) { 1043 xxx_messageInfo_ListDeviceStatesResponse.Merge(m, src) 1044} 1045func (m *ListDeviceStatesResponse) XXX_Size() int { 1046 return xxx_messageInfo_ListDeviceStatesResponse.Size(m) 1047} 1048func (m *ListDeviceStatesResponse) XXX_DiscardUnknown() { 1049 xxx_messageInfo_ListDeviceStatesResponse.DiscardUnknown(m) 1050} 1051 1052var xxx_messageInfo_ListDeviceStatesResponse proto.InternalMessageInfo 1053 1054func (m *ListDeviceStatesResponse) GetDeviceStates() []*DeviceState { 1055 if m != nil { 1056 return m.DeviceStates 1057 } 1058 return nil 1059} 1060 1061// Request for `SendCommandToDevice`. 1062type SendCommandToDeviceRequest struct { 1063 // Required. The name of the device. For example, 1064 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 1065 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 1066 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1067 // Required. The command data to send to the device. 1068 BinaryData []byte `protobuf:"bytes,2,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"` 1069 // Optional subfolder for the command. If empty, the command will be delivered 1070 // to the /devices/{device-id}/commands topic, otherwise it will be delivered 1071 // to the /devices/{device-id}/commands/{subfolder} topic. Multi-level 1072 // subfolders are allowed. This field must not have more than 256 characters, 1073 // and must not contain any MQTT wildcards ("+" or "#") or null characters. 1074 Subfolder string `protobuf:"bytes,3,opt,name=subfolder,proto3" json:"subfolder,omitempty"` 1075 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1076 XXX_unrecognized []byte `json:"-"` 1077 XXX_sizecache int32 `json:"-"` 1078} 1079 1080func (m *SendCommandToDeviceRequest) Reset() { *m = SendCommandToDeviceRequest{} } 1081func (m *SendCommandToDeviceRequest) String() string { return proto.CompactTextString(m) } 1082func (*SendCommandToDeviceRequest) ProtoMessage() {} 1083func (*SendCommandToDeviceRequest) Descriptor() ([]byte, []int) { 1084 return fileDescriptor_9243c344ef472aff, []int{18} 1085} 1086 1087func (m *SendCommandToDeviceRequest) XXX_Unmarshal(b []byte) error { 1088 return xxx_messageInfo_SendCommandToDeviceRequest.Unmarshal(m, b) 1089} 1090func (m *SendCommandToDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1091 return xxx_messageInfo_SendCommandToDeviceRequest.Marshal(b, m, deterministic) 1092} 1093func (m *SendCommandToDeviceRequest) XXX_Merge(src proto.Message) { 1094 xxx_messageInfo_SendCommandToDeviceRequest.Merge(m, src) 1095} 1096func (m *SendCommandToDeviceRequest) XXX_Size() int { 1097 return xxx_messageInfo_SendCommandToDeviceRequest.Size(m) 1098} 1099func (m *SendCommandToDeviceRequest) XXX_DiscardUnknown() { 1100 xxx_messageInfo_SendCommandToDeviceRequest.DiscardUnknown(m) 1101} 1102 1103var xxx_messageInfo_SendCommandToDeviceRequest proto.InternalMessageInfo 1104 1105func (m *SendCommandToDeviceRequest) GetName() string { 1106 if m != nil { 1107 return m.Name 1108 } 1109 return "" 1110} 1111 1112func (m *SendCommandToDeviceRequest) GetBinaryData() []byte { 1113 if m != nil { 1114 return m.BinaryData 1115 } 1116 return nil 1117} 1118 1119func (m *SendCommandToDeviceRequest) GetSubfolder() string { 1120 if m != nil { 1121 return m.Subfolder 1122 } 1123 return "" 1124} 1125 1126// Response for `SendCommandToDevice`. 1127type SendCommandToDeviceResponse struct { 1128 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1129 XXX_unrecognized []byte `json:"-"` 1130 XXX_sizecache int32 `json:"-"` 1131} 1132 1133func (m *SendCommandToDeviceResponse) Reset() { *m = SendCommandToDeviceResponse{} } 1134func (m *SendCommandToDeviceResponse) String() string { return proto.CompactTextString(m) } 1135func (*SendCommandToDeviceResponse) ProtoMessage() {} 1136func (*SendCommandToDeviceResponse) Descriptor() ([]byte, []int) { 1137 return fileDescriptor_9243c344ef472aff, []int{19} 1138} 1139 1140func (m *SendCommandToDeviceResponse) XXX_Unmarshal(b []byte) error { 1141 return xxx_messageInfo_SendCommandToDeviceResponse.Unmarshal(m, b) 1142} 1143func (m *SendCommandToDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1144 return xxx_messageInfo_SendCommandToDeviceResponse.Marshal(b, m, deterministic) 1145} 1146func (m *SendCommandToDeviceResponse) XXX_Merge(src proto.Message) { 1147 xxx_messageInfo_SendCommandToDeviceResponse.Merge(m, src) 1148} 1149func (m *SendCommandToDeviceResponse) XXX_Size() int { 1150 return xxx_messageInfo_SendCommandToDeviceResponse.Size(m) 1151} 1152func (m *SendCommandToDeviceResponse) XXX_DiscardUnknown() { 1153 xxx_messageInfo_SendCommandToDeviceResponse.DiscardUnknown(m) 1154} 1155 1156var xxx_messageInfo_SendCommandToDeviceResponse proto.InternalMessageInfo 1157 1158// Request for `BindDeviceToGateway`. 1159type BindDeviceToGatewayRequest struct { 1160 // Required. The name of the registry. For example, 1161 // `projects/example-project/locations/us-central1/registries/my-registry`. 1162 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1163 // Required. The value of `gateway_id` can be either the device numeric ID or the 1164 // user-defined device identifier. 1165 GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` 1166 // Required. The device to associate with the specified gateway. The value of 1167 // `device_id` can be either the device numeric ID or the user-defined device 1168 // identifier. 1169 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` 1170 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1171 XXX_unrecognized []byte `json:"-"` 1172 XXX_sizecache int32 `json:"-"` 1173} 1174 1175func (m *BindDeviceToGatewayRequest) Reset() { *m = BindDeviceToGatewayRequest{} } 1176func (m *BindDeviceToGatewayRequest) String() string { return proto.CompactTextString(m) } 1177func (*BindDeviceToGatewayRequest) ProtoMessage() {} 1178func (*BindDeviceToGatewayRequest) Descriptor() ([]byte, []int) { 1179 return fileDescriptor_9243c344ef472aff, []int{20} 1180} 1181 1182func (m *BindDeviceToGatewayRequest) XXX_Unmarshal(b []byte) error { 1183 return xxx_messageInfo_BindDeviceToGatewayRequest.Unmarshal(m, b) 1184} 1185func (m *BindDeviceToGatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1186 return xxx_messageInfo_BindDeviceToGatewayRequest.Marshal(b, m, deterministic) 1187} 1188func (m *BindDeviceToGatewayRequest) XXX_Merge(src proto.Message) { 1189 xxx_messageInfo_BindDeviceToGatewayRequest.Merge(m, src) 1190} 1191func (m *BindDeviceToGatewayRequest) XXX_Size() int { 1192 return xxx_messageInfo_BindDeviceToGatewayRequest.Size(m) 1193} 1194func (m *BindDeviceToGatewayRequest) XXX_DiscardUnknown() { 1195 xxx_messageInfo_BindDeviceToGatewayRequest.DiscardUnknown(m) 1196} 1197 1198var xxx_messageInfo_BindDeviceToGatewayRequest proto.InternalMessageInfo 1199 1200func (m *BindDeviceToGatewayRequest) GetParent() string { 1201 if m != nil { 1202 return m.Parent 1203 } 1204 return "" 1205} 1206 1207func (m *BindDeviceToGatewayRequest) GetGatewayId() string { 1208 if m != nil { 1209 return m.GatewayId 1210 } 1211 return "" 1212} 1213 1214func (m *BindDeviceToGatewayRequest) GetDeviceId() string { 1215 if m != nil { 1216 return m.DeviceId 1217 } 1218 return "" 1219} 1220 1221// Response for `BindDeviceToGateway`. 1222type BindDeviceToGatewayResponse struct { 1223 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1224 XXX_unrecognized []byte `json:"-"` 1225 XXX_sizecache int32 `json:"-"` 1226} 1227 1228func (m *BindDeviceToGatewayResponse) Reset() { *m = BindDeviceToGatewayResponse{} } 1229func (m *BindDeviceToGatewayResponse) String() string { return proto.CompactTextString(m) } 1230func (*BindDeviceToGatewayResponse) ProtoMessage() {} 1231func (*BindDeviceToGatewayResponse) Descriptor() ([]byte, []int) { 1232 return fileDescriptor_9243c344ef472aff, []int{21} 1233} 1234 1235func (m *BindDeviceToGatewayResponse) XXX_Unmarshal(b []byte) error { 1236 return xxx_messageInfo_BindDeviceToGatewayResponse.Unmarshal(m, b) 1237} 1238func (m *BindDeviceToGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1239 return xxx_messageInfo_BindDeviceToGatewayResponse.Marshal(b, m, deterministic) 1240} 1241func (m *BindDeviceToGatewayResponse) XXX_Merge(src proto.Message) { 1242 xxx_messageInfo_BindDeviceToGatewayResponse.Merge(m, src) 1243} 1244func (m *BindDeviceToGatewayResponse) XXX_Size() int { 1245 return xxx_messageInfo_BindDeviceToGatewayResponse.Size(m) 1246} 1247func (m *BindDeviceToGatewayResponse) XXX_DiscardUnknown() { 1248 xxx_messageInfo_BindDeviceToGatewayResponse.DiscardUnknown(m) 1249} 1250 1251var xxx_messageInfo_BindDeviceToGatewayResponse proto.InternalMessageInfo 1252 1253// Request for `UnbindDeviceFromGateway`. 1254type UnbindDeviceFromGatewayRequest struct { 1255 // Required. The name of the registry. For example, 1256 // `projects/example-project/locations/us-central1/registries/my-registry`. 1257 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1258 // Required. The value of `gateway_id` can be either the device numeric ID or the 1259 // user-defined device identifier. 1260 GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` 1261 // Required. The device to disassociate from the specified gateway. The value of 1262 // `device_id` can be either the device numeric ID or the user-defined device 1263 // identifier. 1264 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` 1265 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1266 XXX_unrecognized []byte `json:"-"` 1267 XXX_sizecache int32 `json:"-"` 1268} 1269 1270func (m *UnbindDeviceFromGatewayRequest) Reset() { *m = UnbindDeviceFromGatewayRequest{} } 1271func (m *UnbindDeviceFromGatewayRequest) String() string { return proto.CompactTextString(m) } 1272func (*UnbindDeviceFromGatewayRequest) ProtoMessage() {} 1273func (*UnbindDeviceFromGatewayRequest) Descriptor() ([]byte, []int) { 1274 return fileDescriptor_9243c344ef472aff, []int{22} 1275} 1276 1277func (m *UnbindDeviceFromGatewayRequest) XXX_Unmarshal(b []byte) error { 1278 return xxx_messageInfo_UnbindDeviceFromGatewayRequest.Unmarshal(m, b) 1279} 1280func (m *UnbindDeviceFromGatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1281 return xxx_messageInfo_UnbindDeviceFromGatewayRequest.Marshal(b, m, deterministic) 1282} 1283func (m *UnbindDeviceFromGatewayRequest) XXX_Merge(src proto.Message) { 1284 xxx_messageInfo_UnbindDeviceFromGatewayRequest.Merge(m, src) 1285} 1286func (m *UnbindDeviceFromGatewayRequest) XXX_Size() int { 1287 return xxx_messageInfo_UnbindDeviceFromGatewayRequest.Size(m) 1288} 1289func (m *UnbindDeviceFromGatewayRequest) XXX_DiscardUnknown() { 1290 xxx_messageInfo_UnbindDeviceFromGatewayRequest.DiscardUnknown(m) 1291} 1292 1293var xxx_messageInfo_UnbindDeviceFromGatewayRequest proto.InternalMessageInfo 1294 1295func (m *UnbindDeviceFromGatewayRequest) GetParent() string { 1296 if m != nil { 1297 return m.Parent 1298 } 1299 return "" 1300} 1301 1302func (m *UnbindDeviceFromGatewayRequest) GetGatewayId() string { 1303 if m != nil { 1304 return m.GatewayId 1305 } 1306 return "" 1307} 1308 1309func (m *UnbindDeviceFromGatewayRequest) GetDeviceId() string { 1310 if m != nil { 1311 return m.DeviceId 1312 } 1313 return "" 1314} 1315 1316// Response for `UnbindDeviceFromGateway`. 1317type UnbindDeviceFromGatewayResponse struct { 1318 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1319 XXX_unrecognized []byte `json:"-"` 1320 XXX_sizecache int32 `json:"-"` 1321} 1322 1323func (m *UnbindDeviceFromGatewayResponse) Reset() { *m = UnbindDeviceFromGatewayResponse{} } 1324func (m *UnbindDeviceFromGatewayResponse) String() string { return proto.CompactTextString(m) } 1325func (*UnbindDeviceFromGatewayResponse) ProtoMessage() {} 1326func (*UnbindDeviceFromGatewayResponse) Descriptor() ([]byte, []int) { 1327 return fileDescriptor_9243c344ef472aff, []int{23} 1328} 1329 1330func (m *UnbindDeviceFromGatewayResponse) XXX_Unmarshal(b []byte) error { 1331 return xxx_messageInfo_UnbindDeviceFromGatewayResponse.Unmarshal(m, b) 1332} 1333func (m *UnbindDeviceFromGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1334 return xxx_messageInfo_UnbindDeviceFromGatewayResponse.Marshal(b, m, deterministic) 1335} 1336func (m *UnbindDeviceFromGatewayResponse) XXX_Merge(src proto.Message) { 1337 xxx_messageInfo_UnbindDeviceFromGatewayResponse.Merge(m, src) 1338} 1339func (m *UnbindDeviceFromGatewayResponse) XXX_Size() int { 1340 return xxx_messageInfo_UnbindDeviceFromGatewayResponse.Size(m) 1341} 1342func (m *UnbindDeviceFromGatewayResponse) XXX_DiscardUnknown() { 1343 xxx_messageInfo_UnbindDeviceFromGatewayResponse.DiscardUnknown(m) 1344} 1345 1346var xxx_messageInfo_UnbindDeviceFromGatewayResponse proto.InternalMessageInfo 1347 1348func init() { 1349 proto.RegisterType((*CreateDeviceRegistryRequest)(nil), "google.cloud.iot.v1.CreateDeviceRegistryRequest") 1350 proto.RegisterType((*GetDeviceRegistryRequest)(nil), "google.cloud.iot.v1.GetDeviceRegistryRequest") 1351 proto.RegisterType((*DeleteDeviceRegistryRequest)(nil), "google.cloud.iot.v1.DeleteDeviceRegistryRequest") 1352 proto.RegisterType((*UpdateDeviceRegistryRequest)(nil), "google.cloud.iot.v1.UpdateDeviceRegistryRequest") 1353 proto.RegisterType((*ListDeviceRegistriesRequest)(nil), "google.cloud.iot.v1.ListDeviceRegistriesRequest") 1354 proto.RegisterType((*ListDeviceRegistriesResponse)(nil), "google.cloud.iot.v1.ListDeviceRegistriesResponse") 1355 proto.RegisterType((*CreateDeviceRequest)(nil), "google.cloud.iot.v1.CreateDeviceRequest") 1356 proto.RegisterType((*GetDeviceRequest)(nil), "google.cloud.iot.v1.GetDeviceRequest") 1357 proto.RegisterType((*UpdateDeviceRequest)(nil), "google.cloud.iot.v1.UpdateDeviceRequest") 1358 proto.RegisterType((*DeleteDeviceRequest)(nil), "google.cloud.iot.v1.DeleteDeviceRequest") 1359 proto.RegisterType((*ListDevicesRequest)(nil), "google.cloud.iot.v1.ListDevicesRequest") 1360 proto.RegisterType((*GatewayListOptions)(nil), "google.cloud.iot.v1.GatewayListOptions") 1361 proto.RegisterType((*ListDevicesResponse)(nil), "google.cloud.iot.v1.ListDevicesResponse") 1362 proto.RegisterType((*ModifyCloudToDeviceConfigRequest)(nil), "google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest") 1363 proto.RegisterType((*ListDeviceConfigVersionsRequest)(nil), "google.cloud.iot.v1.ListDeviceConfigVersionsRequest") 1364 proto.RegisterType((*ListDeviceConfigVersionsResponse)(nil), "google.cloud.iot.v1.ListDeviceConfigVersionsResponse") 1365 proto.RegisterType((*ListDeviceStatesRequest)(nil), "google.cloud.iot.v1.ListDeviceStatesRequest") 1366 proto.RegisterType((*ListDeviceStatesResponse)(nil), "google.cloud.iot.v1.ListDeviceStatesResponse") 1367 proto.RegisterType((*SendCommandToDeviceRequest)(nil), "google.cloud.iot.v1.SendCommandToDeviceRequest") 1368 proto.RegisterType((*SendCommandToDeviceResponse)(nil), "google.cloud.iot.v1.SendCommandToDeviceResponse") 1369 proto.RegisterType((*BindDeviceToGatewayRequest)(nil), "google.cloud.iot.v1.BindDeviceToGatewayRequest") 1370 proto.RegisterType((*BindDeviceToGatewayResponse)(nil), "google.cloud.iot.v1.BindDeviceToGatewayResponse") 1371 proto.RegisterType((*UnbindDeviceFromGatewayRequest)(nil), "google.cloud.iot.v1.UnbindDeviceFromGatewayRequest") 1372 proto.RegisterType((*UnbindDeviceFromGatewayResponse)(nil), "google.cloud.iot.v1.UnbindDeviceFromGatewayResponse") 1373} 1374 1375func init() { 1376 proto.RegisterFile("google/cloud/iot/v1/device_manager.proto", fileDescriptor_9243c344ef472aff) 1377} 1378 1379var fileDescriptor_9243c344ef472aff = []byte{ 1380 // 2060 bytes of a gzipped FileDescriptorProto 1381 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4f, 0x6c, 0x1c, 0x57, 1382 0x19, 0xcf, 0x5b, 0x07, 0x13, 0x7f, 0xde, 0x34, 0xc9, 0xb3, 0x1b, 0xbb, 0xbb, 0xf9, 0xb3, 0x99, 1383 0x94, 0xd4, 0xb5, 0x9c, 0x9d, 0xc4, 0x6d, 0xaa, 0x60, 0x28, 0xe9, 0xd8, 0x4e, 0xed, 0xa0, 0xb8, 1384 0x38, 0x63, 0xa7, 0x14, 0xf7, 0xb0, 0x1d, 0xef, 0x3e, 0x6f, 0xa6, 0xd9, 0x99, 0x37, 0xcc, 0xbc, 1385 0x75, 0x70, 0x51, 0x04, 0xe2, 0x86, 0x44, 0x91, 0xaa, 0x5e, 0x40, 0xb4, 0xea, 0x85, 0x56, 0x20, 1386 0x40, 0x20, 0x10, 0x87, 0x4a, 0xf4, 0xc2, 0xb1, 0x1c, 0x10, 0xf4, 0x80, 0xb4, 0x07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 0xf2, 1409 0xcb, 0x7e, 0xc2, 0x6c, 0x18, 0xde, 0x7d, 0xa1, 0x05, 0xc4, 0x19, 0x7f, 0x41, 0x79, 0x0f, 0x41, 1410 0xf1, 0xb6, 0xe9, 0x45, 0xd9, 0x36, 0x89, 0x77, 0x88, 0x19, 0x52, 0x84, 0x09, 0xc7, 0xa8, 0x93, 1411 0x8a, 0x67, 0xbe, 0x45, 0x38, 0xc4, 0x2f, 0xe8, 0xc7, 0xfc, 0x85, 0x2d, 0xf3, 0x2d, 0x82, 0xcf, 1412 0x02, 0xf0, 0x4d, 0x46, 0xef, 0x13, 0x7b, 0x76, 0xcc, 0xb7, 0xa1, 0x73, 0xf1, 0x6d, 0x7f, 0x41, 1413 0xf9, 0x09, 0x82, 0x33, 0xc9, 0xf0, 0x3c, 0x87, 0xda, 0x1e, 0xc1, 0x9b, 0x70, 0x2a, 0x4a, 0xaa, 1414 0x49, 0xbc, 0x59, 0x54, 0x1a, 0xcb, 0x48, 0xab, 0x7e, 0xb2, 0x16, 0xd3, 0x8c, 0x2f, 0xc1, 0x09, 1415 0x9b, 0x7c, 0x87, 0x55, 0x42, 0xb0, 0x72, 0x1c, 0xd6, 0x71, 0x7f, 0x79, 0xb3, 0x0d, 0xed, 0x1d, 1416 0x04, 0x53, 0xd1, 0xda, 0x12, 0x8c, 0xbd, 0x14, 0x63, 0x2c, 0x7b, 0x1a, 0x05, 0x84, 0x5d, 0x87, 1417 0x71, 0x81, 0x4a, 0x06, 0xb4, 0xd8, 0xc3, 0x11, 0x11, 0x51, 0x29, 0xaf, 0xfc, 0x10, 0xc1, 0xc9, 1418 0x50, 0xe9, 0x08, 0x40, 0x4b, 0x91, 0xac, 0xbe, 0xc4, 0xe1, 0x94, 0xe0, 0x5c, 0x1a, 0x1c, 0x79, 1419 0x98, 0x9f, 0xc1, 0x5f, 0x06, 0xe8, 0x74, 0x9b, 0xfe, 0xf9, 0xa5, 0x4f, 0xec, 0x05, 0xff, 0xe4, 1420 0xfc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ac, 0x6d, 0x31, 0x83, 0x91, 0x43, 0xf1, 0xf3, 0x2c, 0x80, 0xef, 0xa7, 1443 0xc7, 0x15, 0x4a, 0x2f, 0x27, 0xec, 0xa6, 0x25, 0x2c, 0x28, 0x06, 0xcc, 0x76, 0x5b, 0x95, 0xbe, 1444 0xdd, 0x04, 0x09, 0x31, 0x38, 0x2d, 0x5c, 0x2b, 0xf5, 0x70, 0x8d, 0x6b, 0x08, 0xba, 0x97, 0x34, 1445 0xf1, 0x1e, 0x82, 0xc2, 0x16, 0xb1, 0x6b, 0x2b, 0xd4, 0xb2, 0x0c, 0xbb, 0x9d, 0x7c, 0x87, 0xe1, 1446 0x5c, 0x2c, 0x95, 0x72, 0x89, 0xa9, 0x84, 0xcf, 0xc0, 0x84, 0xd7, 0xdc, 0xdd, 0xa3, 0x8d, 0x1a, 1447 0x71, 0x83, 0xdb, 0x47, 0x7b, 0x41, 0x39, 0x0b, 0xc5, 0x44, 0x74, 0x82, 0x04, 0xe5, 0xe7, 0x08, 1448 0x0a, 0xcb, 0xa6, 0x5d, 0x13, 0xcb, 0xdb, 0x54, 0x36, 0x83, 0xc3, 0xfb, 0x04, 0x28, 0x00, 0xf1, 1449 0x06, 0x24, 0x5c, 0x98, 0xa8, 0xb7, 0xfb, 0x4e, 0x09, 0x26, 0x62, 0xad, 0x46, 0x88, 0x1c, 0x0b, 1450 0x3e, 0x02, 0xbe, 0x17, 0x89, 0x28, 0xa5, 0x17, 0xbf, 0x40, 0x70, 0xee, 0xae, 0xbd, 0xdb, 0x96, 1451 0x78, 0xd9, 0xa5, 0xd6, 0xff, 0xa9, 0x27, 0x17, 0xe0, 0x7c, 0x2a, 0x52, 0xe1, 0xcd, 0xe2, 0x47, 1452 0x97, 0xe0, 0xb8, 0xd8, 0xdd, 0x10, 0xa3, 0x24, 0xfe, 0x2b, 0x82, 0xe9, 0xa4, 0x19, 0x08, 0x5f, 1453 0x49, 0x4c, 0xd6, 0x1e, 0xe3, 0x52, 0x21, 0xcb, 0x8d, 0x52, 0x79, 0xa3, 0xa5, 0x9d, 0x16, 0x5e, 1454 0x2f, 0xc4, 0xae, 0xfb, 0x3f, 0xf8, 0xec, 0xd1, 0xbb, 0x39, 0x4d, 0x29, 0xfb, 0xe3, 0xdf, 0x77, 1455 0x85, 0xc8, 0x8b, 0x8e, 0x4b, 0xdf, 0x24, 0x55, 0xe6, 0xa9, 0xf3, 0x6a, 0xfb, 0x46, 0xad, 0xce, 1456 0x3f, 0x54, 0x3b, 0xb7, 0xd9, 0xa5, 0xf8, 0xd4, 0x80, 0x3f, 0x42, 0x70, 0xaa, 0x6b, 0x40, 0xc2, 1457 0x97, 0x93, 0xbf, 0x75, 0x29, 0x83, 0x54, 0x36, 0x5f, 0x5e, 0x6c, 0x69, 0xbc, 0x9a, 0x38, 0xf2, 1458 0x2b, 0x58, 0x20, 0xf7, 0x17, 0x52, 0x70, 0x87, 0x60, 0xab, 0xf3, 0x0f, 0xf1, 0x23, 0x04, 0xd3, 1459 0x49, 0x13, 0x51, 0x0a, 0xf5, 0x3d, 0x86, 0xa7, 0x6c, 0x70, 0x9b, 0x2d, 0xad, 0x18, 0x23, 0x6b, 1460 0x21, 0x74, 0x63, 0xe4, 0x5e, 0xdc, 0x59, 0xfc, 0x1a, 0xf7, 0x22, 0x26, 0x57, 0xce, 0xec, 0x55, 1461 0x77, 0x3c, 0x3e, 0x40, 0x30, 0x9d, 0x34, 0x56, 0xa6, 0xb8, 0xd9, 0x63, 0x02, 0x2d, 0x9c, 0xee, 1462 0xba, 0x9b, 0xdd, 0xb4, 0x1c, 0x16, 0x0f, 0xc4, 0xfc, 0xa0, 0x81, 0xf8, 0x13, 0x82, 0xe9, 0xa4, 1463 0x31, 0x2a, 0x05, 0x61, 0x8f, 0x81, 0xb0, 0x70, 0x75, 0x80, 0x13, 0xb2, 0xc3, 0xdc, 0x68, 0x69, 1464 0xb2, 0x0f, 0x44, 0xf2, 0x28, 0x73, 0x05, 0xe0, 0xdf, 0x22, 0xc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0x01, 1509 0x00, 0x00, 0xff, 0xff, 0xd7, 0x29, 0x64, 0x0d, 0xfa, 0x21, 0x00, 0x00, 1510} 1511 1512// Reference imports to suppress errors if they are not otherwise used. 1513var _ context.Context 1514var _ grpc.ClientConn 1515 1516// This is a compile-time assertion to ensure that this generated file 1517// is compatible with the grpc package it is being compiled against. 1518const _ = grpc.SupportPackageIsVersion4 1519 1520// DeviceManagerClient is the client API for DeviceManager service. 1521// 1522// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1523type DeviceManagerClient interface { 1524 // Creates a device registry that contains devices. 1525 CreateDeviceRegistry(ctx context.Context, in *CreateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) 1526 // Gets a device registry configuration. 1527 GetDeviceRegistry(ctx context.Context, in *GetDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) 1528 // Updates a device registry configuration. 1529 UpdateDeviceRegistry(ctx context.Context, in *UpdateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) 1530 // Deletes a device registry configuration. 1531 DeleteDeviceRegistry(ctx context.Context, in *DeleteDeviceRegistryRequest, opts ...grpc.CallOption) (*empty.Empty, error) 1532 // Lists device registries. 1533 ListDeviceRegistries(ctx context.Context, in *ListDeviceRegistriesRequest, opts ...grpc.CallOption) (*ListDeviceRegistriesResponse, error) 1534 // Creates a device in a device registry. 1535 CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*Device, error) 1536 // Gets details about a device. 1537 GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) 1538 // Updates a device. 1539 UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*Device, error) 1540 // Deletes a device. 1541 DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error) 1542 // List devices in a device registry. 1543 ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) 1544 // Modifies the configuration for the device, which is eventually sent from 1545 // the Cloud IoT Core servers. Returns the modified configuration version and 1546 // its metadata. 1547 ModifyCloudToDeviceConfig(ctx context.Context, in *ModifyCloudToDeviceConfigRequest, opts ...grpc.CallOption) (*DeviceConfig, error) 1548 // Lists the last few versions of the device configuration in descending 1549 // order (i.e.: newest first). 1550 ListDeviceConfigVersions(ctx context.Context, in *ListDeviceConfigVersionsRequest, opts ...grpc.CallOption) (*ListDeviceConfigVersionsResponse, error) 1551 // Lists the last few versions of the device state in descending order (i.e.: 1552 // newest first). 1553 ListDeviceStates(ctx context.Context, in *ListDeviceStatesRequest, opts ...grpc.CallOption) (*ListDeviceStatesResponse, error) 1554 // Sets the access control policy on the specified resource. Replaces any 1555 // existing policy. 1556 SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 1557 // Gets the access control policy for a resource. 1558 // Returns an empty policy if the resource exists and does not have a policy 1559 // set. 1560 GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 1561 // Returns permissions that a caller has on the specified resource. 1562 // If the resource does not exist, this will return an empty set of 1563 // permissions, not a NOT_FOUND error. 1564 TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) 1565 // Sends a command to the specified device. In order for a device to be able 1566 // to receive commands, it must: 1567 // 1) be connected to Cloud IoT Core using the MQTT protocol, and 1568 // 2) be subscribed to the group of MQTT topics specified by 1569 // /devices/{device-id}/commands/#. This subscription will receive commands 1570 // at the top-level topic /devices/{device-id}/commands as well as commands 1571 // for subfolders, like /devices/{device-id}/commands/subfolder. 1572 // Note that subscribing to specific subfolders is not supported. 1573 // If the command could not be delivered to the device, this method will 1574 // return an error; in particular, if the device is not subscribed, this 1575 // method will return FAILED_PRECONDITION. Otherwise, this method will 1576 // return OK. If the subscription is QoS 1, at least once delivery will be 1577 // guaranteed; for QoS 0, no acknowledgment will be expected from the device. 1578 SendCommandToDevice(ctx context.Context, in *SendCommandToDeviceRequest, opts ...grpc.CallOption) (*SendCommandToDeviceResponse, error) 1579 // Associates the device with the gateway. 1580 BindDeviceToGateway(ctx context.Context, in *BindDeviceToGatewayRequest, opts ...grpc.CallOption) (*BindDeviceToGatewayResponse, error) 1581 // Deletes the association between the device and the gateway. 1582 UnbindDeviceFromGateway(ctx context.Context, in *UnbindDeviceFromGatewayRequest, opts ...grpc.CallOption) (*UnbindDeviceFromGatewayResponse, error) 1583} 1584 1585type deviceManagerClient struct { 1586 cc *grpc.ClientConn 1587} 1588 1589func NewDeviceManagerClient(cc *grpc.ClientConn) DeviceManagerClient { 1590 return &deviceManagerClient{cc} 1591} 1592 1593func (c *deviceManagerClient) CreateDeviceRegistry(ctx context.Context, in *CreateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { 1594 out := new(DeviceRegistry) 1595 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/CreateDeviceRegistry", in, out, opts...) 1596 if err != nil { 1597 return nil, err 1598 } 1599 return out, nil 1600} 1601 1602func (c *deviceManagerClient) GetDeviceRegistry(ctx context.Context, in *GetDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { 1603 out := new(DeviceRegistry) 1604 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetDeviceRegistry", in, out, opts...) 1605 if err != nil { 1606 return nil, err 1607 } 1608 return out, nil 1609} 1610 1611func (c *deviceManagerClient) UpdateDeviceRegistry(ctx context.Context, in *UpdateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { 1612 out := new(DeviceRegistry) 1613 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/UpdateDeviceRegistry", in, out, opts...) 1614 if err != nil { 1615 return nil, err 1616 } 1617 return out, nil 1618} 1619 1620func (c *deviceManagerClient) DeleteDeviceRegistry(ctx context.Context, in *DeleteDeviceRegistryRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 1621 out := new(empty.Empty) 1622 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/DeleteDeviceRegistry", in, out, opts...) 1623 if err != nil { 1624 return nil, err 1625 } 1626 return out, nil 1627} 1628 1629func (c *deviceManagerClient) ListDeviceRegistries(ctx context.Context, in *ListDeviceRegistriesRequest, opts ...grpc.CallOption) (*ListDeviceRegistriesResponse, error) { 1630 out := new(ListDeviceRegistriesResponse) 1631 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceRegistries", in, out, opts...) 1632 if err != nil { 1633 return nil, err 1634 } 1635 return out, nil 1636} 1637 1638func (c *deviceManagerClient) CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*Device, error) { 1639 out := new(Device) 1640 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/CreateDevice", in, out, opts...) 1641 if err != nil { 1642 return nil, err 1643 } 1644 return out, nil 1645} 1646 1647func (c *deviceManagerClient) GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) { 1648 out := new(Device) 1649 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetDevice", in, out, opts...) 1650 if err != nil { 1651 return nil, err 1652 } 1653 return out, nil 1654} 1655 1656func (c *deviceManagerClient) UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*Device, error) { 1657 out := new(Device) 1658 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/UpdateDevice", in, out, opts...) 1659 if err != nil { 1660 return nil, err 1661 } 1662 return out, nil 1663} 1664 1665func (c *deviceManagerClient) DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 1666 out := new(empty.Empty) 1667 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/DeleteDevice", in, out, opts...) 1668 if err != nil { 1669 return nil, err 1670 } 1671 return out, nil 1672} 1673 1674func (c *deviceManagerClient) ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) { 1675 out := new(ListDevicesResponse) 1676 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDevices", in, out, opts...) 1677 if err != nil { 1678 return nil, err 1679 } 1680 return out, nil 1681} 1682 1683func (c *deviceManagerClient) ModifyCloudToDeviceConfig(ctx context.Context, in *ModifyCloudToDeviceConfigRequest, opts ...grpc.CallOption) (*DeviceConfig, error) { 1684 out := new(DeviceConfig) 1685 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ModifyCloudToDeviceConfig", in, out, opts...) 1686 if err != nil { 1687 return nil, err 1688 } 1689 return out, nil 1690} 1691 1692func (c *deviceManagerClient) ListDeviceConfigVersions(ctx context.Context, in *ListDeviceConfigVersionsRequest, opts ...grpc.CallOption) (*ListDeviceConfigVersionsResponse, error) { 1693 out := new(ListDeviceConfigVersionsResponse) 1694 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceConfigVersions", in, out, opts...) 1695 if err != nil { 1696 return nil, err 1697 } 1698 return out, nil 1699} 1700 1701func (c *deviceManagerClient) ListDeviceStates(ctx context.Context, in *ListDeviceStatesRequest, opts ...grpc.CallOption) (*ListDeviceStatesResponse, error) { 1702 out := new(ListDeviceStatesResponse) 1703 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceStates", in, out, opts...) 1704 if err != nil { 1705 return nil, err 1706 } 1707 return out, nil 1708} 1709 1710func (c *deviceManagerClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 1711 out := new(v1.Policy) 1712 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/SetIamPolicy", in, out, opts...) 1713 if err != nil { 1714 return nil, err 1715 } 1716 return out, nil 1717} 1718 1719func (c *deviceManagerClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 1720 out := new(v1.Policy) 1721 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetIamPolicy", in, out, opts...) 1722 if err != nil { 1723 return nil, err 1724 } 1725 return out, nil 1726} 1727 1728func (c *deviceManagerClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { 1729 out := new(v1.TestIamPermissionsResponse) 1730 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/TestIamPermissions", in, out, opts...) 1731 if err != nil { 1732 return nil, err 1733 } 1734 return out, nil 1735} 1736 1737func (c *deviceManagerClient) SendCommandToDevice(ctx context.Context, in *SendCommandToDeviceRequest, opts ...grpc.CallOption) (*SendCommandToDeviceResponse, error) { 1738 out := new(SendCommandToDeviceResponse) 1739 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/SendCommandToDevice", in, out, opts...) 1740 if err != nil { 1741 return nil, err 1742 } 1743 return out, nil 1744} 1745 1746func (c *deviceManagerClient) BindDeviceToGateway(ctx context.Context, in *BindDeviceToGatewayRequest, opts ...grpc.CallOption) (*BindDeviceToGatewayResponse, error) { 1747 out := new(BindDeviceToGatewayResponse) 1748 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/BindDeviceToGateway", in, out, opts...) 1749 if err != nil { 1750 return nil, err 1751 } 1752 return out, nil 1753} 1754 1755func (c *deviceManagerClient) UnbindDeviceFromGateway(ctx context.Context, in *UnbindDeviceFromGatewayRequest, opts ...grpc.CallOption) (*UnbindDeviceFromGatewayResponse, error) { 1756 out := new(UnbindDeviceFromGatewayResponse) 1757 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/UnbindDeviceFromGateway", in, out, opts...) 1758 if err != nil { 1759 return nil, err 1760 } 1761 return out, nil 1762} 1763 1764// DeviceManagerServer is the server API for DeviceManager service. 1765type DeviceManagerServer interface { 1766 // Creates a device registry that contains devices. 1767 CreateDeviceRegistry(context.Context, *CreateDeviceRegistryRequest) (*DeviceRegistry, error) 1768 // Gets a device registry configuration. 1769 GetDeviceRegistry(context.Context, *GetDeviceRegistryRequest) (*DeviceRegistry, error) 1770 // Updates a device registry configuration. 1771 UpdateDeviceRegistry(context.Context, *UpdateDeviceRegistryRequest) (*DeviceRegistry, error) 1772 // Deletes a device registry configuration. 1773 DeleteDeviceRegistry(context.Context, *DeleteDeviceRegistryRequest) (*empty.Empty, error) 1774 // Lists device registries. 1775 ListDeviceRegistries(context.Context, *ListDeviceRegistriesRequest) (*ListDeviceRegistriesResponse, error) 1776 // Creates a device in a device registry. 1777 CreateDevice(context.Context, *CreateDeviceRequest) (*Device, error) 1778 // Gets details about a device. 1779 GetDevice(context.Context, *GetDeviceRequest) (*Device, error) 1780 // Updates a device. 1781 UpdateDevice(context.Context, *UpdateDeviceRequest) (*Device, error) 1782 // Deletes a device. 1783 DeleteDevice(context.Context, *DeleteDeviceRequest) (*empty.Empty, error) 1784 // List devices in a device registry. 1785 ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error) 1786 // Modifies the configuration for the device, which is eventually sent from 1787 // the Cloud IoT Core servers. Returns the modified configuration version and 1788 // its metadata. 1789 ModifyCloudToDeviceConfig(context.Context, *ModifyCloudToDeviceConfigRequest) (*DeviceConfig, error) 1790 // Lists the last few versions of the device configuration in descending 1791 // order (i.e.: newest first). 1792 ListDeviceConfigVersions(context.Context, *ListDeviceConfigVersionsRequest) (*ListDeviceConfigVersionsResponse, error) 1793 // Lists the last few versions of the device state in descending order (i.e.: 1794 // newest first). 1795 ListDeviceStates(context.Context, *ListDeviceStatesRequest) (*ListDeviceStatesResponse, error) 1796 // Sets the access control policy on the specified resource. Replaces any 1797 // existing policy. 1798 SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) 1799 // Gets the access control policy for a resource. 1800 // Returns an empty policy if the resource exists and does not have a policy 1801 // set. 1802 GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) 1803 // Returns permissions that a caller has on the specified resource. 1804 // If the resource does not exist, this will return an empty set of 1805 // permissions, not a NOT_FOUND error. 1806 TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) 1807 // Sends a command to the specified device. In order for a device to be able 1808 // to receive commands, it must: 1809 // 1) be connected to Cloud IoT Core using the MQTT protocol, and 1810 // 2) be subscribed to the group of MQTT topics specified by 1811 // /devices/{device-id}/commands/#. This subscription will receive commands 1812 // at the top-level topic /devices/{device-id}/commands as well as commands 1813 // for subfolders, like /devices/{device-id}/commands/subfolder. 1814 // Note that subscribing to specific subfolders is not supported. 1815 // If the command could not be delivered to the device, this method will 1816 // return an error; in particular, if the device is not subscribed, this 1817 // method will return FAILED_PRECONDITION. Otherwise, this method will 1818 // return OK. If the subscription is QoS 1, at least once delivery will be 1819 // guaranteed; for QoS 0, no acknowledgment will be expected from the device. 1820 SendCommandToDevice(context.Context, *SendCommandToDeviceRequest) (*SendCommandToDeviceResponse, error) 1821 // Associates the device with the gateway. 1822 BindDeviceToGateway(context.Context, *BindDeviceToGatewayRequest) (*BindDeviceToGatewayResponse, error) 1823 // Deletes the association between the device and the gateway. 1824 UnbindDeviceFromGateway(context.Context, *UnbindDeviceFromGatewayRequest) (*UnbindDeviceFromGatewayResponse, error) 1825} 1826 1827// UnimplementedDeviceManagerServer can be embedded to have forward compatible implementations. 1828type UnimplementedDeviceManagerServer struct { 1829} 1830 1831func (*UnimplementedDeviceManagerServer) CreateDeviceRegistry(ctx context.Context, req *CreateDeviceRegistryRequest) (*DeviceRegistry, error) { 1832 return nil, status.Errorf(codes.Unimplemented, "method CreateDeviceRegistry not implemented") 1833} 1834func (*UnimplementedDeviceManagerServer) GetDeviceRegistry(ctx context.Context, req *GetDeviceRegistryRequest) (*DeviceRegistry, error) { 1835 return nil, status.Errorf(codes.Unimplemented, "method GetDeviceRegistry not implemented") 1836} 1837func (*UnimplementedDeviceManagerServer) UpdateDeviceRegistry(ctx context.Context, req *UpdateDeviceRegistryRequest) (*DeviceRegistry, error) { 1838 return nil, status.Errorf(codes.Unimplemented, "method UpdateDeviceRegistry not implemented") 1839} 1840func (*UnimplementedDeviceManagerServer) DeleteDeviceRegistry(ctx context.Context, req *DeleteDeviceRegistryRequest) (*empty.Empty, error) { 1841 return nil, status.Errorf(codes.Unimplemented, "method DeleteDeviceRegistry not implemented") 1842} 1843func (*UnimplementedDeviceManagerServer) ListDeviceRegistries(ctx context.Context, req *ListDeviceRegistriesRequest) (*ListDeviceRegistriesResponse, error) { 1844 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceRegistries not implemented") 1845} 1846func (*UnimplementedDeviceManagerServer) CreateDevice(ctx context.Context, req *CreateDeviceRequest) (*Device, error) { 1847 return nil, status.Errorf(codes.Unimplemented, "method CreateDevice not implemented") 1848} 1849func (*UnimplementedDeviceManagerServer) GetDevice(ctx context.Context, req *GetDeviceRequest) (*Device, error) { 1850 return nil, status.Errorf(codes.Unimplemented, "method GetDevice not implemented") 1851} 1852func (*UnimplementedDeviceManagerServer) UpdateDevice(ctx context.Context, req *UpdateDeviceRequest) (*Device, error) { 1853 return nil, status.Errorf(codes.Unimplemented, "method UpdateDevice not implemented") 1854} 1855func (*UnimplementedDeviceManagerServer) DeleteDevice(ctx context.Context, req *DeleteDeviceRequest) (*empty.Empty, error) { 1856 return nil, status.Errorf(codes.Unimplemented, "method DeleteDevice not implemented") 1857} 1858func (*UnimplementedDeviceManagerServer) ListDevices(ctx context.Context, req *ListDevicesRequest) (*ListDevicesResponse, error) { 1859 return nil, status.Errorf(codes.Unimplemented, "method ListDevices not implemented") 1860} 1861func (*UnimplementedDeviceManagerServer) ModifyCloudToDeviceConfig(ctx context.Context, req *ModifyCloudToDeviceConfigRequest) (*DeviceConfig, error) { 1862 return nil, status.Errorf(codes.Unimplemented, "method ModifyCloudToDeviceConfig not implemented") 1863} 1864func (*UnimplementedDeviceManagerServer) ListDeviceConfigVersions(ctx context.Context, req *ListDeviceConfigVersionsRequest) (*ListDeviceConfigVersionsResponse, error) { 1865 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceConfigVersions not implemented") 1866} 1867func (*UnimplementedDeviceManagerServer) ListDeviceStates(ctx context.Context, req *ListDeviceStatesRequest) (*ListDeviceStatesResponse, error) { 1868 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceStates not implemented") 1869} 1870func (*UnimplementedDeviceManagerServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { 1871 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") 1872} 1873func (*UnimplementedDeviceManagerServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { 1874 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") 1875} 1876func (*UnimplementedDeviceManagerServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { 1877 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") 1878} 1879func (*UnimplementedDeviceManagerServer) SendCommandToDevice(ctx context.Context, req *SendCommandToDeviceRequest) (*SendCommandToDeviceResponse, error) { 1880 return nil, status.Errorf(codes.Unimplemented, "method SendCommandToDevice not implemented") 1881} 1882func (*UnimplementedDeviceManagerServer) BindDeviceToGateway(ctx context.Context, req *BindDeviceToGatewayRequest) (*BindDeviceToGatewayResponse, error) { 1883 return nil, status.Errorf(codes.Unimplemented, "method BindDeviceToGateway not implemented") 1884} 1885func (*UnimplementedDeviceManagerServer) UnbindDeviceFromGateway(ctx context.Context, req *UnbindDeviceFromGatewayRequest) (*UnbindDeviceFromGatewayResponse, error) { 1886 return nil, status.Errorf(codes.Unimplemented, "method UnbindDeviceFromGateway not implemented") 1887} 1888 1889func RegisterDeviceManagerServer(s *grpc.Server, srv DeviceManagerServer) { 1890 s.RegisterService(&_DeviceManager_serviceDesc, srv) 1891} 1892 1893func _DeviceManager_CreateDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1894 in := new(CreateDeviceRegistryRequest) 1895 if err := dec(in); err != nil { 1896 return nil, err 1897 } 1898 if interceptor == nil { 1899 return srv.(DeviceManagerServer).CreateDeviceRegistry(ctx, in) 1900 } 1901 info := &grpc.UnaryServerInfo{ 1902 Server: srv, 1903 FullMethod: "/google.cloud.iot.v1.DeviceManager/CreateDeviceRegistry", 1904 } 1905 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1906 return srv.(DeviceManagerServer).CreateDeviceRegistry(ctx, req.(*CreateDeviceRegistryRequest)) 1907 } 1908 return interceptor(ctx, in, info, handler) 1909} 1910 1911func _DeviceManager_GetDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1912 in := new(GetDeviceRegistryRequest) 1913 if err := dec(in); err != nil { 1914 return nil, err 1915 } 1916 if interceptor == nil { 1917 return srv.(DeviceManagerServer).GetDeviceRegistry(ctx, in) 1918 } 1919 info := &grpc.UnaryServerInfo{ 1920 Server: srv, 1921 FullMethod: "/google.cloud.iot.v1.DeviceManager/GetDeviceRegistry", 1922 } 1923 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1924 return srv.(DeviceManagerServer).GetDeviceRegistry(ctx, req.(*GetDeviceRegistryRequest)) 1925 } 1926 return interceptor(ctx, in, info, handler) 1927} 1928 1929func _DeviceManager_UpdateDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1930 in := new(UpdateDeviceRegistryRequest) 1931 if err := dec(in); err != nil { 1932 return nil, err 1933 } 1934 if interceptor == nil { 1935 return srv.(DeviceManagerServer).UpdateDeviceRegistry(ctx, in) 1936 } 1937 info := &grpc.UnaryServerInfo{ 1938 Server: srv, 1939 FullMethod: "/google.cloud.iot.v1.DeviceManager/UpdateDeviceRegistry", 1940 } 1941 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1942 return srv.(DeviceManagerServer).UpdateDeviceRegistry(ctx, req.(*UpdateDeviceRegistryRequest)) 1943 } 1944 return interceptor(ctx, in, info, handler) 1945} 1946 1947func _DeviceManager_DeleteDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1948 in := new(DeleteDeviceRegistryRequest) 1949 if err := dec(in); err != nil { 1950 return nil, err 1951 } 1952 if interceptor == nil { 1953 return srv.(DeviceManagerServer).DeleteDeviceRegistry(ctx, in) 1954 } 1955 info := &grpc.UnaryServerInfo{ 1956 Server: srv, 1957 FullMethod: "/google.cloud.iot.v1.DeviceManager/DeleteDeviceRegistry", 1958 } 1959 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1960 return srv.(DeviceManagerServer).DeleteDeviceRegistry(ctx, req.(*DeleteDeviceRegistryRequest)) 1961 } 1962 return interceptor(ctx, in, info, handler) 1963} 1964 1965func _DeviceManager_ListDeviceRegistries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1966 in := new(ListDeviceRegistriesRequest) 1967 if err := dec(in); err != nil { 1968 return nil, err 1969 } 1970 if interceptor == nil { 1971 return srv.(DeviceManagerServer).ListDeviceRegistries(ctx, in) 1972 } 1973 info := &grpc.UnaryServerInfo{ 1974 Server: srv, 1975 FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceRegistries", 1976 } 1977 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1978 return srv.(DeviceManagerServer).ListDeviceRegistries(ctx, req.(*ListDeviceRegistriesRequest)) 1979 } 1980 return interceptor(ctx, in, info, handler) 1981} 1982 1983func _DeviceManager_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1984 in := new(CreateDeviceRequest) 1985 if err := dec(in); err != nil { 1986 return nil, err 1987 } 1988 if interceptor == nil { 1989 return srv.(DeviceManagerServer).CreateDevice(ctx, in) 1990 } 1991 info := &grpc.UnaryServerInfo{ 1992 Server: srv, 1993 FullMethod: "/google.cloud.iot.v1.DeviceManager/CreateDevice", 1994 } 1995 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1996 return srv.(DeviceManagerServer).CreateDevice(ctx, req.(*CreateDeviceRequest)) 1997 } 1998 return interceptor(ctx, in, info, handler) 1999} 2000 2001func _DeviceManager_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2002 in := new(GetDeviceRequest) 2003 if err := dec(in); err != nil { 2004 return nil, err 2005 } 2006 if interceptor == nil { 2007 return srv.(DeviceManagerServer).GetDevice(ctx, in) 2008 } 2009 info := &grpc.UnaryServerInfo{ 2010 Server: srv, 2011 FullMethod: "/google.cloud.iot.v1.DeviceManager/GetDevice", 2012 } 2013 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2014 return srv.(DeviceManagerServer).GetDevice(ctx, req.(*GetDeviceRequest)) 2015 } 2016 return interceptor(ctx, in, info, handler) 2017} 2018 2019func _DeviceManager_UpdateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2020 in := new(UpdateDeviceRequest) 2021 if err := dec(in); err != nil { 2022 return nil, err 2023 } 2024 if interceptor == nil { 2025 return srv.(DeviceManagerServer).UpdateDevice(ctx, in) 2026 } 2027 info := &grpc.UnaryServerInfo{ 2028 Server: srv, 2029 FullMethod: "/google.cloud.iot.v1.DeviceManager/UpdateDevice", 2030 } 2031 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2032 return srv.(DeviceManagerServer).UpdateDevice(ctx, req.(*UpdateDeviceRequest)) 2033 } 2034 return interceptor(ctx, in, info, handler) 2035} 2036 2037func _DeviceManager_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2038 in := new(DeleteDeviceRequest) 2039 if err := dec(in); err != nil { 2040 return nil, err 2041 } 2042 if interceptor == nil { 2043 return srv.(DeviceManagerServer).DeleteDevice(ctx, in) 2044 } 2045 info := &grpc.UnaryServerInfo{ 2046 Server: srv, 2047 FullMethod: "/google.cloud.iot.v1.DeviceManager/DeleteDevice", 2048 } 2049 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2050 return srv.(DeviceManagerServer).DeleteDevice(ctx, req.(*DeleteDeviceRequest)) 2051 } 2052 return interceptor(ctx, in, info, handler) 2053} 2054 2055func _DeviceManager_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2056 in := new(ListDevicesRequest) 2057 if err := dec(in); err != nil { 2058 return nil, err 2059 } 2060 if interceptor == nil { 2061 return srv.(DeviceManagerServer).ListDevices(ctx, in) 2062 } 2063 info := &grpc.UnaryServerInfo{ 2064 Server: srv, 2065 FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDevices", 2066 } 2067 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2068 return srv.(DeviceManagerServer).ListDevices(ctx, req.(*ListDevicesRequest)) 2069 } 2070 return interceptor(ctx, in, info, handler) 2071} 2072 2073func _DeviceManager_ModifyCloudToDeviceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2074 in := new(ModifyCloudToDeviceConfigRequest) 2075 if err := dec(in); err != nil { 2076 return nil, err 2077 } 2078 if interceptor == nil { 2079 return srv.(DeviceManagerServer).ModifyCloudToDeviceConfig(ctx, in) 2080 } 2081 info := &grpc.UnaryServerInfo{ 2082 Server: srv, 2083 FullMethod: "/google.cloud.iot.v1.DeviceManager/ModifyCloudToDeviceConfig", 2084 } 2085 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2086 return srv.(DeviceManagerServer).ModifyCloudToDeviceConfig(ctx, req.(*ModifyCloudToDeviceConfigRequest)) 2087 } 2088 return interceptor(ctx, in, info, handler) 2089} 2090 2091func _DeviceManager_ListDeviceConfigVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2092 in := new(ListDeviceConfigVersionsRequest) 2093 if err := dec(in); err != nil { 2094 return nil, err 2095 } 2096 if interceptor == nil { 2097 return srv.(DeviceManagerServer).ListDeviceConfigVersions(ctx, in) 2098 } 2099 info := &grpc.UnaryServerInfo{ 2100 Server: srv, 2101 FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceConfigVersions", 2102 } 2103 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2104 return srv.(DeviceManagerServer).ListDeviceConfigVersions(ctx, req.(*ListDeviceConfigVersionsRequest)) 2105 } 2106 return interceptor(ctx, in, info, handler) 2107} 2108 2109func _DeviceManager_ListDeviceStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2110 in := new(ListDeviceStatesRequest) 2111 if err := dec(in); err != nil { 2112 return nil, err 2113 } 2114 if interceptor == nil { 2115 return srv.(DeviceManagerServer).ListDeviceStates(ctx, in) 2116 } 2117 info := &grpc.UnaryServerInfo{ 2118 Server: srv, 2119 FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceStates", 2120 } 2121 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2122 return srv.(DeviceManagerServer).ListDeviceStates(ctx, req.(*ListDeviceStatesRequest)) 2123 } 2124 return interceptor(ctx, in, info, handler) 2125} 2126 2127func _DeviceManager_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2128 in := new(v1.SetIamPolicyRequest) 2129 if err := dec(in); err != nil { 2130 return nil, err 2131 } 2132 if interceptor == nil { 2133 return srv.(DeviceManagerServer).SetIamPolicy(ctx, in) 2134 } 2135 info := &grpc.UnaryServerInfo{ 2136 Server: srv, 2137 FullMethod: "/google.cloud.iot.v1.DeviceManager/SetIamPolicy", 2138 } 2139 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2140 return srv.(DeviceManagerServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) 2141 } 2142 return interceptor(ctx, in, info, handler) 2143} 2144 2145func _DeviceManager_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2146 in := new(v1.GetIamPolicyRequest) 2147 if err := dec(in); err != nil { 2148 return nil, err 2149 } 2150 if interceptor == nil { 2151 return srv.(DeviceManagerServer).GetIamPolicy(ctx, in) 2152 } 2153 info := &grpc.UnaryServerInfo{ 2154 Server: srv, 2155 FullMethod: "/google.cloud.iot.v1.DeviceManager/GetIamPolicy", 2156 } 2157 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2158 return srv.(DeviceManagerServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) 2159 } 2160 return interceptor(ctx, in, info, handler) 2161} 2162 2163func _DeviceManager_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2164 in := new(v1.TestIamPermissionsRequest) 2165 if err := dec(in); err != nil { 2166 return nil, err 2167 } 2168 if interceptor == nil { 2169 return srv.(DeviceManagerServer).TestIamPermissions(ctx, in) 2170 } 2171 info := &grpc.UnaryServerInfo{ 2172 Server: srv, 2173 FullMethod: "/google.cloud.iot.v1.DeviceManager/TestIamPermissions", 2174 } 2175 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2176 return srv.(DeviceManagerServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) 2177 } 2178 return interceptor(ctx, in, info, handler) 2179} 2180 2181func _DeviceManager_SendCommandToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2182 in := new(SendCommandToDeviceRequest) 2183 if err := dec(in); err != nil { 2184 return nil, err 2185 } 2186 if interceptor == nil { 2187 return srv.(DeviceManagerServer).SendCommandToDevice(ctx, in) 2188 } 2189 info := &grpc.UnaryServerInfo{ 2190 Server: srv, 2191 FullMethod: "/google.cloud.iot.v1.DeviceManager/SendCommandToDevice", 2192 } 2193 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2194 return srv.(DeviceManagerServer).SendCommandToDevice(ctx, req.(*SendCommandToDeviceRequest)) 2195 } 2196 return interceptor(ctx, in, info, handler) 2197} 2198 2199func _DeviceManager_BindDeviceToGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2200 in := new(BindDeviceToGatewayRequest) 2201 if err := dec(in); err != nil { 2202 return nil, err 2203 } 2204 if interceptor == nil { 2205 return srv.(DeviceManagerServer).BindDeviceToGateway(ctx, in) 2206 } 2207 info := &grpc.UnaryServerInfo{ 2208 Server: srv, 2209 FullMethod: "/google.cloud.iot.v1.DeviceManager/BindDeviceToGateway", 2210 } 2211 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2212 return srv.(DeviceManagerServer).BindDeviceToGateway(ctx, req.(*BindDeviceToGatewayRequest)) 2213 } 2214 return interceptor(ctx, in, info, handler) 2215} 2216 2217func _DeviceManager_UnbindDeviceFromGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2218 in := new(UnbindDeviceFromGatewayRequest) 2219 if err := dec(in); err != nil { 2220 return nil, err 2221 } 2222 if interceptor == nil { 2223 return srv.(DeviceManagerServer).UnbindDeviceFromGateway(ctx, in) 2224 } 2225 info := &grpc.UnaryServerInfo{ 2226 Server: srv, 2227 FullMethod: "/google.cloud.iot.v1.DeviceManager/UnbindDeviceFromGateway", 2228 } 2229 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2230 return srv.(DeviceManagerServer).UnbindDeviceFromGateway(ctx, req.(*UnbindDeviceFromGatewayRequest)) 2231 } 2232 return interceptor(ctx, in, info, handler) 2233} 2234 2235var _DeviceManager_serviceDesc = grpc.ServiceDesc{ 2236 ServiceName: "google.cloud.iot.v1.DeviceManager", 2237 HandlerType: (*DeviceManagerServer)(nil), 2238 Methods: []grpc.MethodDesc{ 2239 { 2240 MethodName: "CreateDeviceRegistry", 2241 Handler: _DeviceManager_CreateDeviceRegistry_Handler, 2242 }, 2243 { 2244 MethodName: "GetDeviceRegistry", 2245 Handler: _DeviceManager_GetDeviceRegistry_Handler, 2246 }, 2247 { 2248 MethodName: "UpdateDeviceRegistry", 2249 Handler: _DeviceManager_UpdateDeviceRegistry_Handler, 2250 }, 2251 { 2252 MethodName: "DeleteDeviceRegistry", 2253 Handler: _DeviceManager_DeleteDeviceRegistry_Handler, 2254 }, 2255 { 2256 MethodName: "ListDeviceRegistries", 2257 Handler: _DeviceManager_ListDeviceRegistries_Handler, 2258 }, 2259 { 2260 MethodName: "CreateDevice", 2261 Handler: _DeviceManager_CreateDevice_Handler, 2262 }, 2263 { 2264 MethodName: "GetDevice", 2265 Handler: _DeviceManager_GetDevice_Handler, 2266 }, 2267 { 2268 MethodName: "UpdateDevice", 2269 Handler: _DeviceManager_UpdateDevice_Handler, 2270 }, 2271 { 2272 MethodName: "DeleteDevice", 2273 Handler: _DeviceManager_DeleteDevice_Handler, 2274 }, 2275 { 2276 MethodName: "ListDevices", 2277 Handler: _DeviceManager_ListDevices_Handler, 2278 }, 2279 { 2280 MethodName: "ModifyCloudToDeviceConfig", 2281 Handler: _DeviceManager_ModifyCloudToDeviceConfig_Handler, 2282 }, 2283 { 2284 MethodName: "ListDeviceConfigVersions", 2285 Handler: _DeviceManager_ListDeviceConfigVersions_Handler, 2286 }, 2287 { 2288 MethodName: "ListDeviceStates", 2289 Handler: _DeviceManager_ListDeviceStates_Handler, 2290 }, 2291 { 2292 MethodName: "SetIamPolicy", 2293 Handler: _DeviceManager_SetIamPolicy_Handler, 2294 }, 2295 { 2296 MethodName: "GetIamPolicy", 2297 Handler: _DeviceManager_GetIamPolicy_Handler, 2298 }, 2299 { 2300 MethodName: "TestIamPermissions", 2301 Handler: _DeviceManager_TestIamPermissions_Handler, 2302 }, 2303 { 2304 MethodName: "SendCommandToDevice", 2305 Handler: _DeviceManager_SendCommandToDevice_Handler, 2306 }, 2307 { 2308 MethodName: "BindDeviceToGateway", 2309 Handler: _DeviceManager_BindDeviceToGateway_Handler, 2310 }, 2311 { 2312 MethodName: "UnbindDeviceFromGateway", 2313 Handler: _DeviceManager_UnbindDeviceFromGateway_Handler, 2314 }, 2315 }, 2316 Streams: []grpc.StreamDesc{}, 2317 Metadata: "google/cloud/iot/v1/device_manager.proto", 2318} 2319