1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/iot/v1/device_manager.proto 3 4package iot // import "google.golang.org/genproto/googleapis/cloud/iot/v1" 5 6import proto "github.com/golang/protobuf/proto" 7import fmt "fmt" 8import math "math" 9import _ "github.com/golang/protobuf/ptypes/duration" 10import empty "github.com/golang/protobuf/ptypes/empty" 11import _ "github.com/golang/protobuf/ptypes/timestamp" 12import _ "google.golang.org/genproto/googleapis/api/annotations" 13import v1 "google.golang.org/genproto/googleapis/iam/v1" 14import field_mask "google.golang.org/genproto/protobuf/field_mask" 15 16import ( 17 context "golang.org/x/net/context" 18 grpc "google.golang.org/grpc" 19) 20 21// Reference imports to suppress errors if they are not otherwise used. 22var _ = proto.Marshal 23var _ = fmt.Errorf 24var _ = math.Inf 25 26// This is a compile-time assertion to ensure that this generated file 27// is compatible with the proto package it is being compiled against. 28// A compilation error at this line likely means your copy of the 29// proto package needs to be updated. 30const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 31 32// Request for `CreateDeviceRegistry`. 33type CreateDeviceRegistryRequest struct { 34 // The project and cloud region where this device registry must be created. 35 // For example, `projects/example-project/locations/us-central1`. 36 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 37 // The device registry. The field `name` must be empty. The server will 38 // generate that field from the device registry `id` provided and the 39 // `parent` field. 40 DeviceRegistry *DeviceRegistry `protobuf:"bytes,2,opt,name=device_registry,json=deviceRegistry,proto3" json:"device_registry,omitempty"` 41 XXX_NoUnkeyedLiteral struct{} `json:"-"` 42 XXX_unrecognized []byte `json:"-"` 43 XXX_sizecache int32 `json:"-"` 44} 45 46func (m *CreateDeviceRegistryRequest) Reset() { *m = CreateDeviceRegistryRequest{} } 47func (m *CreateDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } 48func (*CreateDeviceRegistryRequest) ProtoMessage() {} 49func (*CreateDeviceRegistryRequest) Descriptor() ([]byte, []int) { 50 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{0} 51} 52func (m *CreateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { 53 return xxx_messageInfo_CreateDeviceRegistryRequest.Unmarshal(m, b) 54} 55func (m *CreateDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 56 return xxx_messageInfo_CreateDeviceRegistryRequest.Marshal(b, m, deterministic) 57} 58func (dst *CreateDeviceRegistryRequest) XXX_Merge(src proto.Message) { 59 xxx_messageInfo_CreateDeviceRegistryRequest.Merge(dst, src) 60} 61func (m *CreateDeviceRegistryRequest) XXX_Size() int { 62 return xxx_messageInfo_CreateDeviceRegistryRequest.Size(m) 63} 64func (m *CreateDeviceRegistryRequest) XXX_DiscardUnknown() { 65 xxx_messageInfo_CreateDeviceRegistryRequest.DiscardUnknown(m) 66} 67 68var xxx_messageInfo_CreateDeviceRegistryRequest proto.InternalMessageInfo 69 70func (m *CreateDeviceRegistryRequest) GetParent() string { 71 if m != nil { 72 return m.Parent 73 } 74 return "" 75} 76 77func (m *CreateDeviceRegistryRequest) GetDeviceRegistry() *DeviceRegistry { 78 if m != nil { 79 return m.DeviceRegistry 80 } 81 return nil 82} 83 84// Request for `GetDeviceRegistry`. 85type GetDeviceRegistryRequest struct { 86 // The name of the device registry. For example, 87 // `projects/example-project/locations/us-central1/registries/my-registry`. 88 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 89 XXX_NoUnkeyedLiteral struct{} `json:"-"` 90 XXX_unrecognized []byte `json:"-"` 91 XXX_sizecache int32 `json:"-"` 92} 93 94func (m *GetDeviceRegistryRequest) Reset() { *m = GetDeviceRegistryRequest{} } 95func (m *GetDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } 96func (*GetDeviceRegistryRequest) ProtoMessage() {} 97func (*GetDeviceRegistryRequest) Descriptor() ([]byte, []int) { 98 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{1} 99} 100func (m *GetDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { 101 return xxx_messageInfo_GetDeviceRegistryRequest.Unmarshal(m, b) 102} 103func (m *GetDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 104 return xxx_messageInfo_GetDeviceRegistryRequest.Marshal(b, m, deterministic) 105} 106func (dst *GetDeviceRegistryRequest) XXX_Merge(src proto.Message) { 107 xxx_messageInfo_GetDeviceRegistryRequest.Merge(dst, src) 108} 109func (m *GetDeviceRegistryRequest) XXX_Size() int { 110 return xxx_messageInfo_GetDeviceRegistryRequest.Size(m) 111} 112func (m *GetDeviceRegistryRequest) XXX_DiscardUnknown() { 113 xxx_messageInfo_GetDeviceRegistryRequest.DiscardUnknown(m) 114} 115 116var xxx_messageInfo_GetDeviceRegistryRequest proto.InternalMessageInfo 117 118func (m *GetDeviceRegistryRequest) GetName() string { 119 if m != nil { 120 return m.Name 121 } 122 return "" 123} 124 125// Request for `DeleteDeviceRegistry`. 126type DeleteDeviceRegistryRequest struct { 127 // The name of the device registry. For example, 128 // `projects/example-project/locations/us-central1/registries/my-registry`. 129 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 130 XXX_NoUnkeyedLiteral struct{} `json:"-"` 131 XXX_unrecognized []byte `json:"-"` 132 XXX_sizecache int32 `json:"-"` 133} 134 135func (m *DeleteDeviceRegistryRequest) Reset() { *m = DeleteDeviceRegistryRequest{} } 136func (m *DeleteDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } 137func (*DeleteDeviceRegistryRequest) ProtoMessage() {} 138func (*DeleteDeviceRegistryRequest) Descriptor() ([]byte, []int) { 139 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{2} 140} 141func (m *DeleteDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { 142 return xxx_messageInfo_DeleteDeviceRegistryRequest.Unmarshal(m, b) 143} 144func (m *DeleteDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 145 return xxx_messageInfo_DeleteDeviceRegistryRequest.Marshal(b, m, deterministic) 146} 147func (dst *DeleteDeviceRegistryRequest) XXX_Merge(src proto.Message) { 148 xxx_messageInfo_DeleteDeviceRegistryRequest.Merge(dst, src) 149} 150func (m *DeleteDeviceRegistryRequest) XXX_Size() int { 151 return xxx_messageInfo_DeleteDeviceRegistryRequest.Size(m) 152} 153func (m *DeleteDeviceRegistryRequest) XXX_DiscardUnknown() { 154 xxx_messageInfo_DeleteDeviceRegistryRequest.DiscardUnknown(m) 155} 156 157var xxx_messageInfo_DeleteDeviceRegistryRequest proto.InternalMessageInfo 158 159func (m *DeleteDeviceRegistryRequest) GetName() string { 160 if m != nil { 161 return m.Name 162 } 163 return "" 164} 165 166// Request for `UpdateDeviceRegistry`. 167type UpdateDeviceRegistryRequest struct { 168 // The new values for the device registry. The `id` field must be empty, and 169 // the `name` field must indicate the path of the resource. For example, 170 // `projects/example-project/locations/us-central1/registries/my-registry`. 171 DeviceRegistry *DeviceRegistry `protobuf:"bytes,1,opt,name=device_registry,json=deviceRegistry,proto3" json:"device_registry,omitempty"` 172 // Only updates the `device_registry` fields indicated by this mask. 173 // The field mask must not be empty, and it must not contain fields that 174 // are immutable or only set by the server. 175 // Mutable top-level fields: `event_notification_config`, `http_config`, 176 // `mqtt_config`, and `state_notification_config`. 177 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 178 XXX_NoUnkeyedLiteral struct{} `json:"-"` 179 XXX_unrecognized []byte `json:"-"` 180 XXX_sizecache int32 `json:"-"` 181} 182 183func (m *UpdateDeviceRegistryRequest) Reset() { *m = UpdateDeviceRegistryRequest{} } 184func (m *UpdateDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } 185func (*UpdateDeviceRegistryRequest) ProtoMessage() {} 186func (*UpdateDeviceRegistryRequest) Descriptor() ([]byte, []int) { 187 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{3} 188} 189func (m *UpdateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { 190 return xxx_messageInfo_UpdateDeviceRegistryRequest.Unmarshal(m, b) 191} 192func (m *UpdateDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 193 return xxx_messageInfo_UpdateDeviceRegistryRequest.Marshal(b, m, deterministic) 194} 195func (dst *UpdateDeviceRegistryRequest) XXX_Merge(src proto.Message) { 196 xxx_messageInfo_UpdateDeviceRegistryRequest.Merge(dst, src) 197} 198func (m *UpdateDeviceRegistryRequest) XXX_Size() int { 199 return xxx_messageInfo_UpdateDeviceRegistryRequest.Size(m) 200} 201func (m *UpdateDeviceRegistryRequest) XXX_DiscardUnknown() { 202 xxx_messageInfo_UpdateDeviceRegistryRequest.DiscardUnknown(m) 203} 204 205var xxx_messageInfo_UpdateDeviceRegistryRequest proto.InternalMessageInfo 206 207func (m *UpdateDeviceRegistryRequest) GetDeviceRegistry() *DeviceRegistry { 208 if m != nil { 209 return m.DeviceRegistry 210 } 211 return nil 212} 213 214func (m *UpdateDeviceRegistryRequest) GetUpdateMask() *field_mask.FieldMask { 215 if m != nil { 216 return m.UpdateMask 217 } 218 return nil 219} 220 221// Request for `ListDeviceRegistries`. 222type ListDeviceRegistriesRequest struct { 223 // The project and cloud region path. For example, 224 // `projects/example-project/locations/us-central1`. 225 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 226 // The maximum number of registries to return in the response. If this value 227 // is zero, the service will select a default size. A call may return fewer 228 // objects than requested, but if there is a non-empty `page_token`, it 229 // indicates that more entries are available. 230 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 231 // The value returned by the last `ListDeviceRegistriesResponse`; indicates 232 // that this is a continuation of a prior `ListDeviceRegistries` call, and 233 // that the system should return the next page of data. 234 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 235 XXX_NoUnkeyedLiteral struct{} `json:"-"` 236 XXX_unrecognized []byte `json:"-"` 237 XXX_sizecache int32 `json:"-"` 238} 239 240func (m *ListDeviceRegistriesRequest) Reset() { *m = ListDeviceRegistriesRequest{} } 241func (m *ListDeviceRegistriesRequest) String() string { return proto.CompactTextString(m) } 242func (*ListDeviceRegistriesRequest) ProtoMessage() {} 243func (*ListDeviceRegistriesRequest) Descriptor() ([]byte, []int) { 244 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{4} 245} 246func (m *ListDeviceRegistriesRequest) XXX_Unmarshal(b []byte) error { 247 return xxx_messageInfo_ListDeviceRegistriesRequest.Unmarshal(m, b) 248} 249func (m *ListDeviceRegistriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 250 return xxx_messageInfo_ListDeviceRegistriesRequest.Marshal(b, m, deterministic) 251} 252func (dst *ListDeviceRegistriesRequest) XXX_Merge(src proto.Message) { 253 xxx_messageInfo_ListDeviceRegistriesRequest.Merge(dst, src) 254} 255func (m *ListDeviceRegistriesRequest) XXX_Size() int { 256 return xxx_messageInfo_ListDeviceRegistriesRequest.Size(m) 257} 258func (m *ListDeviceRegistriesRequest) XXX_DiscardUnknown() { 259 xxx_messageInfo_ListDeviceRegistriesRequest.DiscardUnknown(m) 260} 261 262var xxx_messageInfo_ListDeviceRegistriesRequest proto.InternalMessageInfo 263 264func (m *ListDeviceRegistriesRequest) GetParent() string { 265 if m != nil { 266 return m.Parent 267 } 268 return "" 269} 270 271func (m *ListDeviceRegistriesRequest) GetPageSize() int32 { 272 if m != nil { 273 return m.PageSize 274 } 275 return 0 276} 277 278func (m *ListDeviceRegistriesRequest) GetPageToken() string { 279 if m != nil { 280 return m.PageToken 281 } 282 return "" 283} 284 285// Response for `ListDeviceRegistries`. 286type ListDeviceRegistriesResponse struct { 287 // The registries that matched the query. 288 DeviceRegistries []*DeviceRegistry `protobuf:"bytes,1,rep,name=device_registries,json=deviceRegistries,proto3" json:"device_registries,omitempty"` 289 // If not empty, indicates that there may be more registries that match the 290 // request; this value should be passed in a new 291 // `ListDeviceRegistriesRequest`. 292 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 293 XXX_NoUnkeyedLiteral struct{} `json:"-"` 294 XXX_unrecognized []byte `json:"-"` 295 XXX_sizecache int32 `json:"-"` 296} 297 298func (m *ListDeviceRegistriesResponse) Reset() { *m = ListDeviceRegistriesResponse{} } 299func (m *ListDeviceRegistriesResponse) String() string { return proto.CompactTextString(m) } 300func (*ListDeviceRegistriesResponse) ProtoMessage() {} 301func (*ListDeviceRegistriesResponse) Descriptor() ([]byte, []int) { 302 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{5} 303} 304func (m *ListDeviceRegistriesResponse) XXX_Unmarshal(b []byte) error { 305 return xxx_messageInfo_ListDeviceRegistriesResponse.Unmarshal(m, b) 306} 307func (m *ListDeviceRegistriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 308 return xxx_messageInfo_ListDeviceRegistriesResponse.Marshal(b, m, deterministic) 309} 310func (dst *ListDeviceRegistriesResponse) XXX_Merge(src proto.Message) { 311 xxx_messageInfo_ListDeviceRegistriesResponse.Merge(dst, src) 312} 313func (m *ListDeviceRegistriesResponse) XXX_Size() int { 314 return xxx_messageInfo_ListDeviceRegistriesResponse.Size(m) 315} 316func (m *ListDeviceRegistriesResponse) XXX_DiscardUnknown() { 317 xxx_messageInfo_ListDeviceRegistriesResponse.DiscardUnknown(m) 318} 319 320var xxx_messageInfo_ListDeviceRegistriesResponse proto.InternalMessageInfo 321 322func (m *ListDeviceRegistriesResponse) GetDeviceRegistries() []*DeviceRegistry { 323 if m != nil { 324 return m.DeviceRegistries 325 } 326 return nil 327} 328 329func (m *ListDeviceRegistriesResponse) GetNextPageToken() string { 330 if m != nil { 331 return m.NextPageToken 332 } 333 return "" 334} 335 336// Request for `CreateDevice`. 337type CreateDeviceRequest struct { 338 // The name of the device registry where this device should be created. 339 // For example, 340 // `projects/example-project/locations/us-central1/registries/my-registry`. 341 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 342 // The device registration details. The field `name` must be empty. The server 343 // will generate that field from the device registry `id` provided and the 344 // `parent` field. 345 Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` 346 XXX_NoUnkeyedLiteral struct{} `json:"-"` 347 XXX_unrecognized []byte `json:"-"` 348 XXX_sizecache int32 `json:"-"` 349} 350 351func (m *CreateDeviceRequest) Reset() { *m = CreateDeviceRequest{} } 352func (m *CreateDeviceRequest) String() string { return proto.CompactTextString(m) } 353func (*CreateDeviceRequest) ProtoMessage() {} 354func (*CreateDeviceRequest) Descriptor() ([]byte, []int) { 355 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{6} 356} 357func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error { 358 return xxx_messageInfo_CreateDeviceRequest.Unmarshal(m, b) 359} 360func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 361 return xxx_messageInfo_CreateDeviceRequest.Marshal(b, m, deterministic) 362} 363func (dst *CreateDeviceRequest) XXX_Merge(src proto.Message) { 364 xxx_messageInfo_CreateDeviceRequest.Merge(dst, src) 365} 366func (m *CreateDeviceRequest) XXX_Size() int { 367 return xxx_messageInfo_CreateDeviceRequest.Size(m) 368} 369func (m *CreateDeviceRequest) XXX_DiscardUnknown() { 370 xxx_messageInfo_CreateDeviceRequest.DiscardUnknown(m) 371} 372 373var xxx_messageInfo_CreateDeviceRequest proto.InternalMessageInfo 374 375func (m *CreateDeviceRequest) GetParent() string { 376 if m != nil { 377 return m.Parent 378 } 379 return "" 380} 381 382func (m *CreateDeviceRequest) GetDevice() *Device { 383 if m != nil { 384 return m.Device 385 } 386 return nil 387} 388 389// Request for `GetDevice`. 390type GetDeviceRequest struct { 391 // The name of the device. For example, 392 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 393 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 394 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 395 // The fields of the `Device` resource to be returned in the response. If the 396 // field mask is unset or empty, all fields are returned. 397 FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 398 XXX_NoUnkeyedLiteral struct{} `json:"-"` 399 XXX_unrecognized []byte `json:"-"` 400 XXX_sizecache int32 `json:"-"` 401} 402 403func (m *GetDeviceRequest) Reset() { *m = GetDeviceRequest{} } 404func (m *GetDeviceRequest) String() string { return proto.CompactTextString(m) } 405func (*GetDeviceRequest) ProtoMessage() {} 406func (*GetDeviceRequest) Descriptor() ([]byte, []int) { 407 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{7} 408} 409func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error { 410 return xxx_messageInfo_GetDeviceRequest.Unmarshal(m, b) 411} 412func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 413 return xxx_messageInfo_GetDeviceRequest.Marshal(b, m, deterministic) 414} 415func (dst *GetDeviceRequest) XXX_Merge(src proto.Message) { 416 xxx_messageInfo_GetDeviceRequest.Merge(dst, src) 417} 418func (m *GetDeviceRequest) XXX_Size() int { 419 return xxx_messageInfo_GetDeviceRequest.Size(m) 420} 421func (m *GetDeviceRequest) XXX_DiscardUnknown() { 422 xxx_messageInfo_GetDeviceRequest.DiscardUnknown(m) 423} 424 425var xxx_messageInfo_GetDeviceRequest proto.InternalMessageInfo 426 427func (m *GetDeviceRequest) GetName() string { 428 if m != nil { 429 return m.Name 430 } 431 return "" 432} 433 434func (m *GetDeviceRequest) GetFieldMask() *field_mask.FieldMask { 435 if m != nil { 436 return m.FieldMask 437 } 438 return nil 439} 440 441// Request for `UpdateDevice`. 442type UpdateDeviceRequest struct { 443 // The new values for the device registry. The `id` and `num_id` fields must 444 // be empty, and the field `name` must specify the name path. For example, 445 // `projects/p0/locations/us-central1/registries/registry0/devices/device0`or 446 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 447 Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` 448 // Only updates the `device` fields indicated by this mask. 449 // The field mask must not be empty, and it must not contain fields that 450 // are immutable or only set by the server. 451 // Mutable top-level fields: `credentials`, `blocked`, and `metadata` 452 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 453 XXX_NoUnkeyedLiteral struct{} `json:"-"` 454 XXX_unrecognized []byte `json:"-"` 455 XXX_sizecache int32 `json:"-"` 456} 457 458func (m *UpdateDeviceRequest) Reset() { *m = UpdateDeviceRequest{} } 459func (m *UpdateDeviceRequest) String() string { return proto.CompactTextString(m) } 460func (*UpdateDeviceRequest) ProtoMessage() {} 461func (*UpdateDeviceRequest) Descriptor() ([]byte, []int) { 462 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{8} 463} 464func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error { 465 return xxx_messageInfo_UpdateDeviceRequest.Unmarshal(m, b) 466} 467func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 468 return xxx_messageInfo_UpdateDeviceRequest.Marshal(b, m, deterministic) 469} 470func (dst *UpdateDeviceRequest) XXX_Merge(src proto.Message) { 471 xxx_messageInfo_UpdateDeviceRequest.Merge(dst, src) 472} 473func (m *UpdateDeviceRequest) XXX_Size() int { 474 return xxx_messageInfo_UpdateDeviceRequest.Size(m) 475} 476func (m *UpdateDeviceRequest) XXX_DiscardUnknown() { 477 xxx_messageInfo_UpdateDeviceRequest.DiscardUnknown(m) 478} 479 480var xxx_messageInfo_UpdateDeviceRequest proto.InternalMessageInfo 481 482func (m *UpdateDeviceRequest) GetDevice() *Device { 483 if m != nil { 484 return m.Device 485 } 486 return nil 487} 488 489func (m *UpdateDeviceRequest) GetUpdateMask() *field_mask.FieldMask { 490 if m != nil { 491 return m.UpdateMask 492 } 493 return nil 494} 495 496// Request for `DeleteDevice`. 497type DeleteDeviceRequest struct { 498 // The name of the device. For example, 499 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 500 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 501 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 502 XXX_NoUnkeyedLiteral struct{} `json:"-"` 503 XXX_unrecognized []byte `json:"-"` 504 XXX_sizecache int32 `json:"-"` 505} 506 507func (m *DeleteDeviceRequest) Reset() { *m = DeleteDeviceRequest{} } 508func (m *DeleteDeviceRequest) String() string { return proto.CompactTextString(m) } 509func (*DeleteDeviceRequest) ProtoMessage() {} 510func (*DeleteDeviceRequest) Descriptor() ([]byte, []int) { 511 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{9} 512} 513func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error { 514 return xxx_messageInfo_DeleteDeviceRequest.Unmarshal(m, b) 515} 516func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 517 return xxx_messageInfo_DeleteDeviceRequest.Marshal(b, m, deterministic) 518} 519func (dst *DeleteDeviceRequest) XXX_Merge(src proto.Message) { 520 xxx_messageInfo_DeleteDeviceRequest.Merge(dst, src) 521} 522func (m *DeleteDeviceRequest) XXX_Size() int { 523 return xxx_messageInfo_DeleteDeviceRequest.Size(m) 524} 525func (m *DeleteDeviceRequest) XXX_DiscardUnknown() { 526 xxx_messageInfo_DeleteDeviceRequest.DiscardUnknown(m) 527} 528 529var xxx_messageInfo_DeleteDeviceRequest proto.InternalMessageInfo 530 531func (m *DeleteDeviceRequest) GetName() string { 532 if m != nil { 533 return m.Name 534 } 535 return "" 536} 537 538// Request for `ListDevices`. 539type ListDevicesRequest struct { 540 // The device registry path. Required. For example, 541 // `projects/my-project/locations/us-central1/registries/my-registry`. 542 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 543 // A list of device numerical ids. If empty, it will ignore this field. This 544 // field cannot hold more than 10,000 entries. 545 DeviceNumIds []uint64 `protobuf:"varint,2,rep,packed,name=device_num_ids,json=deviceNumIds,proto3" json:"device_num_ids,omitempty"` 546 // A list of device string identifiers. If empty, it will ignore this field. 547 // For example, `['device0', 'device12']`. This field cannot hold more than 548 // 10,000 entries. 549 DeviceIds []string `protobuf:"bytes,3,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"` 550 // The fields of the `Device` resource to be returned in the response. The 551 // fields `id`, and `num_id` are always returned by default, along with any 552 // other fields specified. 553 FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 554 // The maximum number of devices to return in the response. If this value 555 // is zero, the service will select a default size. A call may return fewer 556 // objects than requested, but if there is a non-empty `page_token`, it 557 // indicates that more entries are available. 558 PageSize int32 `protobuf:"varint,100,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 559 // The value returned by the last `ListDevicesResponse`; indicates 560 // that this is a continuation of a prior `ListDevices` call, and 561 // that the system should return the next page of data. 562 PageToken string `protobuf:"bytes,101,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 563 XXX_NoUnkeyedLiteral struct{} `json:"-"` 564 XXX_unrecognized []byte `json:"-"` 565 XXX_sizecache int32 `json:"-"` 566} 567 568func (m *ListDevicesRequest) Reset() { *m = ListDevicesRequest{} } 569func (m *ListDevicesRequest) String() string { return proto.CompactTextString(m) } 570func (*ListDevicesRequest) ProtoMessage() {} 571func (*ListDevicesRequest) Descriptor() ([]byte, []int) { 572 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{10} 573} 574func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error { 575 return xxx_messageInfo_ListDevicesRequest.Unmarshal(m, b) 576} 577func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 578 return xxx_messageInfo_ListDevicesRequest.Marshal(b, m, deterministic) 579} 580func (dst *ListDevicesRequest) XXX_Merge(src proto.Message) { 581 xxx_messageInfo_ListDevicesRequest.Merge(dst, src) 582} 583func (m *ListDevicesRequest) XXX_Size() int { 584 return xxx_messageInfo_ListDevicesRequest.Size(m) 585} 586func (m *ListDevicesRequest) XXX_DiscardUnknown() { 587 xxx_messageInfo_ListDevicesRequest.DiscardUnknown(m) 588} 589 590var xxx_messageInfo_ListDevicesRequest proto.InternalMessageInfo 591 592func (m *ListDevicesRequest) GetParent() string { 593 if m != nil { 594 return m.Parent 595 } 596 return "" 597} 598 599func (m *ListDevicesRequest) GetDeviceNumIds() []uint64 { 600 if m != nil { 601 return m.DeviceNumIds 602 } 603 return nil 604} 605 606func (m *ListDevicesRequest) GetDeviceIds() []string { 607 if m != nil { 608 return m.DeviceIds 609 } 610 return nil 611} 612 613func (m *ListDevicesRequest) GetFieldMask() *field_mask.FieldMask { 614 if m != nil { 615 return m.FieldMask 616 } 617 return nil 618} 619 620func (m *ListDevicesRequest) GetPageSize() int32 { 621 if m != nil { 622 return m.PageSize 623 } 624 return 0 625} 626 627func (m *ListDevicesRequest) GetPageToken() string { 628 if m != nil { 629 return m.PageToken 630 } 631 return "" 632} 633 634// Response for `ListDevices`. 635type ListDevicesResponse struct { 636 // The devices that match the request. 637 Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` 638 // If not empty, indicates that there may be more devices that match the 639 // request; this value should be passed in a new `ListDevicesRequest`. 640 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 641 XXX_NoUnkeyedLiteral struct{} `json:"-"` 642 XXX_unrecognized []byte `json:"-"` 643 XXX_sizecache int32 `json:"-"` 644} 645 646func (m *ListDevicesResponse) Reset() { *m = ListDevicesResponse{} } 647func (m *ListDevicesResponse) String() string { return proto.CompactTextString(m) } 648func (*ListDevicesResponse) ProtoMessage() {} 649func (*ListDevicesResponse) Descriptor() ([]byte, []int) { 650 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{11} 651} 652func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error { 653 return xxx_messageInfo_ListDevicesResponse.Unmarshal(m, b) 654} 655func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 656 return xxx_messageInfo_ListDevicesResponse.Marshal(b, m, deterministic) 657} 658func (dst *ListDevicesResponse) XXX_Merge(src proto.Message) { 659 xxx_messageInfo_ListDevicesResponse.Merge(dst, src) 660} 661func (m *ListDevicesResponse) XXX_Size() int { 662 return xxx_messageInfo_ListDevicesResponse.Size(m) 663} 664func (m *ListDevicesResponse) XXX_DiscardUnknown() { 665 xxx_messageInfo_ListDevicesResponse.DiscardUnknown(m) 666} 667 668var xxx_messageInfo_ListDevicesResponse proto.InternalMessageInfo 669 670func (m *ListDevicesResponse) GetDevices() []*Device { 671 if m != nil { 672 return m.Devices 673 } 674 return nil 675} 676 677func (m *ListDevicesResponse) GetNextPageToken() string { 678 if m != nil { 679 return m.NextPageToken 680 } 681 return "" 682} 683 684// Request for `ModifyCloudToDeviceConfig`. 685type ModifyCloudToDeviceConfigRequest struct { 686 // The name of the device. For example, 687 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 688 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 689 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 690 // The version number to update. If this value is zero, it will not check the 691 // version number of the server and will always update the current version; 692 // otherwise, this update will fail if the version number found on the server 693 // does not match this version number. This is used to support multiple 694 // simultaneous updates without losing data. 695 VersionToUpdate int64 `protobuf:"varint,2,opt,name=version_to_update,json=versionToUpdate,proto3" json:"version_to_update,omitempty"` 696 // The configuration data for the device. 697 BinaryData []byte `protobuf:"bytes,3,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"` 698 XXX_NoUnkeyedLiteral struct{} `json:"-"` 699 XXX_unrecognized []byte `json:"-"` 700 XXX_sizecache int32 `json:"-"` 701} 702 703func (m *ModifyCloudToDeviceConfigRequest) Reset() { *m = ModifyCloudToDeviceConfigRequest{} } 704func (m *ModifyCloudToDeviceConfigRequest) String() string { return proto.CompactTextString(m) } 705func (*ModifyCloudToDeviceConfigRequest) ProtoMessage() {} 706func (*ModifyCloudToDeviceConfigRequest) Descriptor() ([]byte, []int) { 707 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{12} 708} 709func (m *ModifyCloudToDeviceConfigRequest) XXX_Unmarshal(b []byte) error { 710 return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Unmarshal(m, b) 711} 712func (m *ModifyCloudToDeviceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 713 return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Marshal(b, m, deterministic) 714} 715func (dst *ModifyCloudToDeviceConfigRequest) XXX_Merge(src proto.Message) { 716 xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Merge(dst, src) 717} 718func (m *ModifyCloudToDeviceConfigRequest) XXX_Size() int { 719 return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Size(m) 720} 721func (m *ModifyCloudToDeviceConfigRequest) XXX_DiscardUnknown() { 722 xxx_messageInfo_ModifyCloudToDeviceConfigRequest.DiscardUnknown(m) 723} 724 725var xxx_messageInfo_ModifyCloudToDeviceConfigRequest proto.InternalMessageInfo 726 727func (m *ModifyCloudToDeviceConfigRequest) GetName() string { 728 if m != nil { 729 return m.Name 730 } 731 return "" 732} 733 734func (m *ModifyCloudToDeviceConfigRequest) GetVersionToUpdate() int64 { 735 if m != nil { 736 return m.VersionToUpdate 737 } 738 return 0 739} 740 741func (m *ModifyCloudToDeviceConfigRequest) GetBinaryData() []byte { 742 if m != nil { 743 return m.BinaryData 744 } 745 return nil 746} 747 748// Request for `ListDeviceConfigVersions`. 749type ListDeviceConfigVersionsRequest struct { 750 // The name of the device. For example, 751 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 752 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 753 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 754 // The number of versions to list. Versions are listed in decreasing order of 755 // the version number. The maximum number of versions retained is 10. If this 756 // value is zero, it will return all the versions available. 757 NumVersions int32 `protobuf:"varint,2,opt,name=num_versions,json=numVersions,proto3" json:"num_versions,omitempty"` 758 XXX_NoUnkeyedLiteral struct{} `json:"-"` 759 XXX_unrecognized []byte `json:"-"` 760 XXX_sizecache int32 `json:"-"` 761} 762 763func (m *ListDeviceConfigVersionsRequest) Reset() { *m = ListDeviceConfigVersionsRequest{} } 764func (m *ListDeviceConfigVersionsRequest) String() string { return proto.CompactTextString(m) } 765func (*ListDeviceConfigVersionsRequest) ProtoMessage() {} 766func (*ListDeviceConfigVersionsRequest) Descriptor() ([]byte, []int) { 767 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{13} 768} 769func (m *ListDeviceConfigVersionsRequest) XXX_Unmarshal(b []byte) error { 770 return xxx_messageInfo_ListDeviceConfigVersionsRequest.Unmarshal(m, b) 771} 772func (m *ListDeviceConfigVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 773 return xxx_messageInfo_ListDeviceConfigVersionsRequest.Marshal(b, m, deterministic) 774} 775func (dst *ListDeviceConfigVersionsRequest) XXX_Merge(src proto.Message) { 776 xxx_messageInfo_ListDeviceConfigVersionsRequest.Merge(dst, src) 777} 778func (m *ListDeviceConfigVersionsRequest) XXX_Size() int { 779 return xxx_messageInfo_ListDeviceConfigVersionsRequest.Size(m) 780} 781func (m *ListDeviceConfigVersionsRequest) XXX_DiscardUnknown() { 782 xxx_messageInfo_ListDeviceConfigVersionsRequest.DiscardUnknown(m) 783} 784 785var xxx_messageInfo_ListDeviceConfigVersionsRequest proto.InternalMessageInfo 786 787func (m *ListDeviceConfigVersionsRequest) GetName() string { 788 if m != nil { 789 return m.Name 790 } 791 return "" 792} 793 794func (m *ListDeviceConfigVersionsRequest) GetNumVersions() int32 { 795 if m != nil { 796 return m.NumVersions 797 } 798 return 0 799} 800 801// Response for `ListDeviceConfigVersions`. 802type ListDeviceConfigVersionsResponse struct { 803 // The device configuration for the last few versions. Versions are listed 804 // in decreasing order, starting from the most recent one. 805 DeviceConfigs []*DeviceConfig `protobuf:"bytes,1,rep,name=device_configs,json=deviceConfigs,proto3" json:"device_configs,omitempty"` 806 XXX_NoUnkeyedLiteral struct{} `json:"-"` 807 XXX_unrecognized []byte `json:"-"` 808 XXX_sizecache int32 `json:"-"` 809} 810 811func (m *ListDeviceConfigVersionsResponse) Reset() { *m = ListDeviceConfigVersionsResponse{} } 812func (m *ListDeviceConfigVersionsResponse) String() string { return proto.CompactTextString(m) } 813func (*ListDeviceConfigVersionsResponse) ProtoMessage() {} 814func (*ListDeviceConfigVersionsResponse) Descriptor() ([]byte, []int) { 815 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{14} 816} 817func (m *ListDeviceConfigVersionsResponse) XXX_Unmarshal(b []byte) error { 818 return xxx_messageInfo_ListDeviceConfigVersionsResponse.Unmarshal(m, b) 819} 820func (m *ListDeviceConfigVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 821 return xxx_messageInfo_ListDeviceConfigVersionsResponse.Marshal(b, m, deterministic) 822} 823func (dst *ListDeviceConfigVersionsResponse) XXX_Merge(src proto.Message) { 824 xxx_messageInfo_ListDeviceConfigVersionsResponse.Merge(dst, src) 825} 826func (m *ListDeviceConfigVersionsResponse) XXX_Size() int { 827 return xxx_messageInfo_ListDeviceConfigVersionsResponse.Size(m) 828} 829func (m *ListDeviceConfigVersionsResponse) XXX_DiscardUnknown() { 830 xxx_messageInfo_ListDeviceConfigVersionsResponse.DiscardUnknown(m) 831} 832 833var xxx_messageInfo_ListDeviceConfigVersionsResponse proto.InternalMessageInfo 834 835func (m *ListDeviceConfigVersionsResponse) GetDeviceConfigs() []*DeviceConfig { 836 if m != nil { 837 return m.DeviceConfigs 838 } 839 return nil 840} 841 842// Request for `ListDeviceStates`. 843type ListDeviceStatesRequest struct { 844 // The name of the device. For example, 845 // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 846 // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 847 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 848 // The number of states to list. States are listed in descending order of 849 // update time. The maximum number of states retained is 10. If this 850 // value is zero, it will return all the states available. 851 NumStates int32 `protobuf:"varint,2,opt,name=num_states,json=numStates,proto3" json:"num_states,omitempty"` 852 XXX_NoUnkeyedLiteral struct{} `json:"-"` 853 XXX_unrecognized []byte `json:"-"` 854 XXX_sizecache int32 `json:"-"` 855} 856 857func (m *ListDeviceStatesRequest) Reset() { *m = ListDeviceStatesRequest{} } 858func (m *ListDeviceStatesRequest) String() string { return proto.CompactTextString(m) } 859func (*ListDeviceStatesRequest) ProtoMessage() {} 860func (*ListDeviceStatesRequest) Descriptor() ([]byte, []int) { 861 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{15} 862} 863func (m *ListDeviceStatesRequest) XXX_Unmarshal(b []byte) error { 864 return xxx_messageInfo_ListDeviceStatesRequest.Unmarshal(m, b) 865} 866func (m *ListDeviceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 867 return xxx_messageInfo_ListDeviceStatesRequest.Marshal(b, m, deterministic) 868} 869func (dst *ListDeviceStatesRequest) XXX_Merge(src proto.Message) { 870 xxx_messageInfo_ListDeviceStatesRequest.Merge(dst, src) 871} 872func (m *ListDeviceStatesRequest) XXX_Size() int { 873 return xxx_messageInfo_ListDeviceStatesRequest.Size(m) 874} 875func (m *ListDeviceStatesRequest) XXX_DiscardUnknown() { 876 xxx_messageInfo_ListDeviceStatesRequest.DiscardUnknown(m) 877} 878 879var xxx_messageInfo_ListDeviceStatesRequest proto.InternalMessageInfo 880 881func (m *ListDeviceStatesRequest) GetName() string { 882 if m != nil { 883 return m.Name 884 } 885 return "" 886} 887 888func (m *ListDeviceStatesRequest) GetNumStates() int32 { 889 if m != nil { 890 return m.NumStates 891 } 892 return 0 893} 894 895// Response for `ListDeviceStates`. 896type ListDeviceStatesResponse struct { 897 // The last few device states. States are listed in descending order of server 898 // update time, starting from the most recent one. 899 DeviceStates []*DeviceState `protobuf:"bytes,1,rep,name=device_states,json=deviceStates,proto3" json:"device_states,omitempty"` 900 XXX_NoUnkeyedLiteral struct{} `json:"-"` 901 XXX_unrecognized []byte `json:"-"` 902 XXX_sizecache int32 `json:"-"` 903} 904 905func (m *ListDeviceStatesResponse) Reset() { *m = ListDeviceStatesResponse{} } 906func (m *ListDeviceStatesResponse) String() string { return proto.CompactTextString(m) } 907func (*ListDeviceStatesResponse) ProtoMessage() {} 908func (*ListDeviceStatesResponse) Descriptor() ([]byte, []int) { 909 return fileDescriptor_device_manager_c83d83bf4e59b202, []int{16} 910} 911func (m *ListDeviceStatesResponse) XXX_Unmarshal(b []byte) error { 912 return xxx_messageInfo_ListDeviceStatesResponse.Unmarshal(m, b) 913} 914func (m *ListDeviceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 915 return xxx_messageInfo_ListDeviceStatesResponse.Marshal(b, m, deterministic) 916} 917func (dst *ListDeviceStatesResponse) XXX_Merge(src proto.Message) { 918 xxx_messageInfo_ListDeviceStatesResponse.Merge(dst, src) 919} 920func (m *ListDeviceStatesResponse) XXX_Size() int { 921 return xxx_messageInfo_ListDeviceStatesResponse.Size(m) 922} 923func (m *ListDeviceStatesResponse) XXX_DiscardUnknown() { 924 xxx_messageInfo_ListDeviceStatesResponse.DiscardUnknown(m) 925} 926 927var xxx_messageInfo_ListDeviceStatesResponse proto.InternalMessageInfo 928 929func (m *ListDeviceStatesResponse) GetDeviceStates() []*DeviceState { 930 if m != nil { 931 return m.DeviceStates 932 } 933 return nil 934} 935 936func init() { 937 proto.RegisterType((*CreateDeviceRegistryRequest)(nil), "google.cloud.iot.v1.CreateDeviceRegistryRequest") 938 proto.RegisterType((*GetDeviceRegistryRequest)(nil), "google.cloud.iot.v1.GetDeviceRegistryRequest") 939 proto.RegisterType((*DeleteDeviceRegistryRequest)(nil), "google.cloud.iot.v1.DeleteDeviceRegistryRequest") 940 proto.RegisterType((*UpdateDeviceRegistryRequest)(nil), "google.cloud.iot.v1.UpdateDeviceRegistryRequest") 941 proto.RegisterType((*ListDeviceRegistriesRequest)(nil), "google.cloud.iot.v1.ListDeviceRegistriesRequest") 942 proto.RegisterType((*ListDeviceRegistriesResponse)(nil), "google.cloud.iot.v1.ListDeviceRegistriesResponse") 943 proto.RegisterType((*CreateDeviceRequest)(nil), "google.cloud.iot.v1.CreateDeviceRequest") 944 proto.RegisterType((*GetDeviceRequest)(nil), "google.cloud.iot.v1.GetDeviceRequest") 945 proto.RegisterType((*UpdateDeviceRequest)(nil), "google.cloud.iot.v1.UpdateDeviceRequest") 946 proto.RegisterType((*DeleteDeviceRequest)(nil), "google.cloud.iot.v1.DeleteDeviceRequest") 947 proto.RegisterType((*ListDevicesRequest)(nil), "google.cloud.iot.v1.ListDevicesRequest") 948 proto.RegisterType((*ListDevicesResponse)(nil), "google.cloud.iot.v1.ListDevicesResponse") 949 proto.RegisterType((*ModifyCloudToDeviceConfigRequest)(nil), "google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest") 950 proto.RegisterType((*ListDeviceConfigVersionsRequest)(nil), "google.cloud.iot.v1.ListDeviceConfigVersionsRequest") 951 proto.RegisterType((*ListDeviceConfigVersionsResponse)(nil), "google.cloud.iot.v1.ListDeviceConfigVersionsResponse") 952 proto.RegisterType((*ListDeviceStatesRequest)(nil), "google.cloud.iot.v1.ListDeviceStatesRequest") 953 proto.RegisterType((*ListDeviceStatesResponse)(nil), "google.cloud.iot.v1.ListDeviceStatesResponse") 954} 955 956// Reference imports to suppress errors if they are not otherwise used. 957var _ context.Context 958var _ grpc.ClientConn 959 960// This is a compile-time assertion to ensure that this generated file 961// is compatible with the grpc package it is being compiled against. 962const _ = grpc.SupportPackageIsVersion4 963 964// DeviceManagerClient is the client API for DeviceManager service. 965// 966// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 967type DeviceManagerClient interface { 968 // Creates a device registry that contains devices. 969 CreateDeviceRegistry(ctx context.Context, in *CreateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) 970 // Gets a device registry configuration. 971 GetDeviceRegistry(ctx context.Context, in *GetDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) 972 // Updates a device registry configuration. 973 UpdateDeviceRegistry(ctx context.Context, in *UpdateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) 974 // Deletes a device registry configuration. 975 DeleteDeviceRegistry(ctx context.Context, in *DeleteDeviceRegistryRequest, opts ...grpc.CallOption) (*empty.Empty, error) 976 // Lists device registries. 977 ListDeviceRegistries(ctx context.Context, in *ListDeviceRegistriesRequest, opts ...grpc.CallOption) (*ListDeviceRegistriesResponse, error) 978 // Creates a device in a device registry. 979 CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*Device, error) 980 // Gets details about a device. 981 GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) 982 // Updates a device. 983 UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*Device, error) 984 // Deletes a device. 985 DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error) 986 // List devices in a device registry. 987 ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) 988 // Modifies the configuration for the device, which is eventually sent from 989 // the Cloud IoT Core servers. Returns the modified configuration version and 990 // its metadata. 991 ModifyCloudToDeviceConfig(ctx context.Context, in *ModifyCloudToDeviceConfigRequest, opts ...grpc.CallOption) (*DeviceConfig, error) 992 // Lists the last few versions of the device configuration in descending 993 // order (i.e.: newest first). 994 ListDeviceConfigVersions(ctx context.Context, in *ListDeviceConfigVersionsRequest, opts ...grpc.CallOption) (*ListDeviceConfigVersionsResponse, error) 995 // Lists the last few versions of the device state in descending order (i.e.: 996 // newest first). 997 ListDeviceStates(ctx context.Context, in *ListDeviceStatesRequest, opts ...grpc.CallOption) (*ListDeviceStatesResponse, error) 998 // Sets the access control policy on the specified resource. Replaces any 999 // existing policy. 1000 SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 1001 // Gets the access control policy for a resource. 1002 // Returns an empty policy if the resource exists and does not have a policy 1003 // set. 1004 GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 1005 // Returns permissions that a caller has on the specified resource. 1006 // If the resource does not exist, this will return an empty set of 1007 // permissions, not a NOT_FOUND error. 1008 TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) 1009} 1010 1011type deviceManagerClient struct { 1012 cc *grpc.ClientConn 1013} 1014 1015func NewDeviceManagerClient(cc *grpc.ClientConn) DeviceManagerClient { 1016 return &deviceManagerClient{cc} 1017} 1018 1019func (c *deviceManagerClient) CreateDeviceRegistry(ctx context.Context, in *CreateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { 1020 out := new(DeviceRegistry) 1021 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/CreateDeviceRegistry", in, out, opts...) 1022 if err != nil { 1023 return nil, err 1024 } 1025 return out, nil 1026} 1027 1028func (c *deviceManagerClient) GetDeviceRegistry(ctx context.Context, in *GetDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { 1029 out := new(DeviceRegistry) 1030 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetDeviceRegistry", in, out, opts...) 1031 if err != nil { 1032 return nil, err 1033 } 1034 return out, nil 1035} 1036 1037func (c *deviceManagerClient) UpdateDeviceRegistry(ctx context.Context, in *UpdateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { 1038 out := new(DeviceRegistry) 1039 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/UpdateDeviceRegistry", in, out, opts...) 1040 if err != nil { 1041 return nil, err 1042 } 1043 return out, nil 1044} 1045 1046func (c *deviceManagerClient) DeleteDeviceRegistry(ctx context.Context, in *DeleteDeviceRegistryRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 1047 out := new(empty.Empty) 1048 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/DeleteDeviceRegistry", in, out, opts...) 1049 if err != nil { 1050 return nil, err 1051 } 1052 return out, nil 1053} 1054 1055func (c *deviceManagerClient) ListDeviceRegistries(ctx context.Context, in *ListDeviceRegistriesRequest, opts ...grpc.CallOption) (*ListDeviceRegistriesResponse, error) { 1056 out := new(ListDeviceRegistriesResponse) 1057 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceRegistries", in, out, opts...) 1058 if err != nil { 1059 return nil, err 1060 } 1061 return out, nil 1062} 1063 1064func (c *deviceManagerClient) CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*Device, error) { 1065 out := new(Device) 1066 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/CreateDevice", in, out, opts...) 1067 if err != nil { 1068 return nil, err 1069 } 1070 return out, nil 1071} 1072 1073func (c *deviceManagerClient) GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) { 1074 out := new(Device) 1075 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetDevice", in, out, opts...) 1076 if err != nil { 1077 return nil, err 1078 } 1079 return out, nil 1080} 1081 1082func (c *deviceManagerClient) UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*Device, error) { 1083 out := new(Device) 1084 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/UpdateDevice", in, out, opts...) 1085 if err != nil { 1086 return nil, err 1087 } 1088 return out, nil 1089} 1090 1091func (c *deviceManagerClient) DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 1092 out := new(empty.Empty) 1093 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/DeleteDevice", in, out, opts...) 1094 if err != nil { 1095 return nil, err 1096 } 1097 return out, nil 1098} 1099 1100func (c *deviceManagerClient) ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) { 1101 out := new(ListDevicesResponse) 1102 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDevices", in, out, opts...) 1103 if err != nil { 1104 return nil, err 1105 } 1106 return out, nil 1107} 1108 1109func (c *deviceManagerClient) ModifyCloudToDeviceConfig(ctx context.Context, in *ModifyCloudToDeviceConfigRequest, opts ...grpc.CallOption) (*DeviceConfig, error) { 1110 out := new(DeviceConfig) 1111 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ModifyCloudToDeviceConfig", in, out, opts...) 1112 if err != nil { 1113 return nil, err 1114 } 1115 return out, nil 1116} 1117 1118func (c *deviceManagerClient) ListDeviceConfigVersions(ctx context.Context, in *ListDeviceConfigVersionsRequest, opts ...grpc.CallOption) (*ListDeviceConfigVersionsResponse, error) { 1119 out := new(ListDeviceConfigVersionsResponse) 1120 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceConfigVersions", in, out, opts...) 1121 if err != nil { 1122 return nil, err 1123 } 1124 return out, nil 1125} 1126 1127func (c *deviceManagerClient) ListDeviceStates(ctx context.Context, in *ListDeviceStatesRequest, opts ...grpc.CallOption) (*ListDeviceStatesResponse, error) { 1128 out := new(ListDeviceStatesResponse) 1129 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceStates", in, out, opts...) 1130 if err != nil { 1131 return nil, err 1132 } 1133 return out, nil 1134} 1135 1136func (c *deviceManagerClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 1137 out := new(v1.Policy) 1138 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/SetIamPolicy", in, out, opts...) 1139 if err != nil { 1140 return nil, err 1141 } 1142 return out, nil 1143} 1144 1145func (c *deviceManagerClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 1146 out := new(v1.Policy) 1147 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetIamPolicy", in, out, opts...) 1148 if err != nil { 1149 return nil, err 1150 } 1151 return out, nil 1152} 1153 1154func (c *deviceManagerClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { 1155 out := new(v1.TestIamPermissionsResponse) 1156 err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/TestIamPermissions", in, out, opts...) 1157 if err != nil { 1158 return nil, err 1159 } 1160 return out, nil 1161} 1162 1163// DeviceManagerServer is the server API for DeviceManager service. 1164type DeviceManagerServer interface { 1165 // Creates a device registry that contains devices. 1166 CreateDeviceRegistry(context.Context, *CreateDeviceRegistryRequest) (*DeviceRegistry, error) 1167 // Gets a device registry configuration. 1168 GetDeviceRegistry(context.Context, *GetDeviceRegistryRequest) (*DeviceRegistry, error) 1169 // Updates a device registry configuration. 1170 UpdateDeviceRegistry(context.Context, *UpdateDeviceRegistryRequest) (*DeviceRegistry, error) 1171 // Deletes a device registry configuration. 1172 DeleteDeviceRegistry(context.Context, *DeleteDeviceRegistryRequest) (*empty.Empty, error) 1173 // Lists device registries. 1174 ListDeviceRegistries(context.Context, *ListDeviceRegistriesRequest) (*ListDeviceRegistriesResponse, error) 1175 // Creates a device in a device registry. 1176 CreateDevice(context.Context, *CreateDeviceRequest) (*Device, error) 1177 // Gets details about a device. 1178 GetDevice(context.Context, *GetDeviceRequest) (*Device, error) 1179 // Updates a device. 1180 UpdateDevice(context.Context, *UpdateDeviceRequest) (*Device, error) 1181 // Deletes a device. 1182 DeleteDevice(context.Context, *DeleteDeviceRequest) (*empty.Empty, error) 1183 // List devices in a device registry. 1184 ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error) 1185 // Modifies the configuration for the device, which is eventually sent from 1186 // the Cloud IoT Core servers. Returns the modified configuration version and 1187 // its metadata. 1188 ModifyCloudToDeviceConfig(context.Context, *ModifyCloudToDeviceConfigRequest) (*DeviceConfig, error) 1189 // Lists the last few versions of the device configuration in descending 1190 // order (i.e.: newest first). 1191 ListDeviceConfigVersions(context.Context, *ListDeviceConfigVersionsRequest) (*ListDeviceConfigVersionsResponse, error) 1192 // Lists the last few versions of the device state in descending order (i.e.: 1193 // newest first). 1194 ListDeviceStates(context.Context, *ListDeviceStatesRequest) (*ListDeviceStatesResponse, error) 1195 // Sets the access control policy on the specified resource. Replaces any 1196 // existing policy. 1197 SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) 1198 // Gets the access control policy for a resource. 1199 // Returns an empty policy if the resource exists and does not have a policy 1200 // set. 1201 GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) 1202 // Returns permissions that a caller has on the specified resource. 1203 // If the resource does not exist, this will return an empty set of 1204 // permissions, not a NOT_FOUND error. 1205 TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) 1206} 1207 1208func RegisterDeviceManagerServer(s *grpc.Server, srv DeviceManagerServer) { 1209 s.RegisterService(&_DeviceManager_serviceDesc, srv) 1210} 1211 1212func _DeviceManager_CreateDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1213 in := new(CreateDeviceRegistryRequest) 1214 if err := dec(in); err != nil { 1215 return nil, err 1216 } 1217 if interceptor == nil { 1218 return srv.(DeviceManagerServer).CreateDeviceRegistry(ctx, in) 1219 } 1220 info := &grpc.UnaryServerInfo{ 1221 Server: srv, 1222 FullMethod: "/google.cloud.iot.v1.DeviceManager/CreateDeviceRegistry", 1223 } 1224 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1225 return srv.(DeviceManagerServer).CreateDeviceRegistry(ctx, req.(*CreateDeviceRegistryRequest)) 1226 } 1227 return interceptor(ctx, in, info, handler) 1228} 1229 1230func _DeviceManager_GetDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1231 in := new(GetDeviceRegistryRequest) 1232 if err := dec(in); err != nil { 1233 return nil, err 1234 } 1235 if interceptor == nil { 1236 return srv.(DeviceManagerServer).GetDeviceRegistry(ctx, in) 1237 } 1238 info := &grpc.UnaryServerInfo{ 1239 Server: srv, 1240 FullMethod: "/google.cloud.iot.v1.DeviceManager/GetDeviceRegistry", 1241 } 1242 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1243 return srv.(DeviceManagerServer).GetDeviceRegistry(ctx, req.(*GetDeviceRegistryRequest)) 1244 } 1245 return interceptor(ctx, in, info, handler) 1246} 1247 1248func _DeviceManager_UpdateDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1249 in := new(UpdateDeviceRegistryRequest) 1250 if err := dec(in); err != nil { 1251 return nil, err 1252 } 1253 if interceptor == nil { 1254 return srv.(DeviceManagerServer).UpdateDeviceRegistry(ctx, in) 1255 } 1256 info := &grpc.UnaryServerInfo{ 1257 Server: srv, 1258 FullMethod: "/google.cloud.iot.v1.DeviceManager/UpdateDeviceRegistry", 1259 } 1260 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1261 return srv.(DeviceManagerServer).UpdateDeviceRegistry(ctx, req.(*UpdateDeviceRegistryRequest)) 1262 } 1263 return interceptor(ctx, in, info, handler) 1264} 1265 1266func _DeviceManager_DeleteDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1267 in := new(DeleteDeviceRegistryRequest) 1268 if err := dec(in); err != nil { 1269 return nil, err 1270 } 1271 if interceptor == nil { 1272 return srv.(DeviceManagerServer).DeleteDeviceRegistry(ctx, in) 1273 } 1274 info := &grpc.UnaryServerInfo{ 1275 Server: srv, 1276 FullMethod: "/google.cloud.iot.v1.DeviceManager/DeleteDeviceRegistry", 1277 } 1278 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1279 return srv.(DeviceManagerServer).DeleteDeviceRegistry(ctx, req.(*DeleteDeviceRegistryRequest)) 1280 } 1281 return interceptor(ctx, in, info, handler) 1282} 1283 1284func _DeviceManager_ListDeviceRegistries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1285 in := new(ListDeviceRegistriesRequest) 1286 if err := dec(in); err != nil { 1287 return nil, err 1288 } 1289 if interceptor == nil { 1290 return srv.(DeviceManagerServer).ListDeviceRegistries(ctx, in) 1291 } 1292 info := &grpc.UnaryServerInfo{ 1293 Server: srv, 1294 FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceRegistries", 1295 } 1296 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1297 return srv.(DeviceManagerServer).ListDeviceRegistries(ctx, req.(*ListDeviceRegistriesRequest)) 1298 } 1299 return interceptor(ctx, in, info, handler) 1300} 1301 1302func _DeviceManager_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1303 in := new(CreateDeviceRequest) 1304 if err := dec(in); err != nil { 1305 return nil, err 1306 } 1307 if interceptor == nil { 1308 return srv.(DeviceManagerServer).CreateDevice(ctx, in) 1309 } 1310 info := &grpc.UnaryServerInfo{ 1311 Server: srv, 1312 FullMethod: "/google.cloud.iot.v1.DeviceManager/CreateDevice", 1313 } 1314 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1315 return srv.(DeviceManagerServer).CreateDevice(ctx, req.(*CreateDeviceRequest)) 1316 } 1317 return interceptor(ctx, in, info, handler) 1318} 1319 1320func _DeviceManager_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1321 in := new(GetDeviceRequest) 1322 if err := dec(in); err != nil { 1323 return nil, err 1324 } 1325 if interceptor == nil { 1326 return srv.(DeviceManagerServer).GetDevice(ctx, in) 1327 } 1328 info := &grpc.UnaryServerInfo{ 1329 Server: srv, 1330 FullMethod: "/google.cloud.iot.v1.DeviceManager/GetDevice", 1331 } 1332 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1333 return srv.(DeviceManagerServer).GetDevice(ctx, req.(*GetDeviceRequest)) 1334 } 1335 return interceptor(ctx, in, info, handler) 1336} 1337 1338func _DeviceManager_UpdateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1339 in := new(UpdateDeviceRequest) 1340 if err := dec(in); err != nil { 1341 return nil, err 1342 } 1343 if interceptor == nil { 1344 return srv.(DeviceManagerServer).UpdateDevice(ctx, in) 1345 } 1346 info := &grpc.UnaryServerInfo{ 1347 Server: srv, 1348 FullMethod: "/google.cloud.iot.v1.DeviceManager/UpdateDevice", 1349 } 1350 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1351 return srv.(DeviceManagerServer).UpdateDevice(ctx, req.(*UpdateDeviceRequest)) 1352 } 1353 return interceptor(ctx, in, info, handler) 1354} 1355 1356func _DeviceManager_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1357 in := new(DeleteDeviceRequest) 1358 if err := dec(in); err != nil { 1359 return nil, err 1360 } 1361 if interceptor == nil { 1362 return srv.(DeviceManagerServer).DeleteDevice(ctx, in) 1363 } 1364 info := &grpc.UnaryServerInfo{ 1365 Server: srv, 1366 FullMethod: "/google.cloud.iot.v1.DeviceManager/DeleteDevice", 1367 } 1368 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1369 return srv.(DeviceManagerServer).DeleteDevice(ctx, req.(*DeleteDeviceRequest)) 1370 } 1371 return interceptor(ctx, in, info, handler) 1372} 1373 1374func _DeviceManager_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1375 in := new(ListDevicesRequest) 1376 if err := dec(in); err != nil { 1377 return nil, err 1378 } 1379 if interceptor == nil { 1380 return srv.(DeviceManagerServer).ListDevices(ctx, in) 1381 } 1382 info := &grpc.UnaryServerInfo{ 1383 Server: srv, 1384 FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDevices", 1385 } 1386 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1387 return srv.(DeviceManagerServer).ListDevices(ctx, req.(*ListDevicesRequest)) 1388 } 1389 return interceptor(ctx, in, info, handler) 1390} 1391 1392func _DeviceManager_ModifyCloudToDeviceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1393 in := new(ModifyCloudToDeviceConfigRequest) 1394 if err := dec(in); err != nil { 1395 return nil, err 1396 } 1397 if interceptor == nil { 1398 return srv.(DeviceManagerServer).ModifyCloudToDeviceConfig(ctx, in) 1399 } 1400 info := &grpc.UnaryServerInfo{ 1401 Server: srv, 1402 FullMethod: "/google.cloud.iot.v1.DeviceManager/ModifyCloudToDeviceConfig", 1403 } 1404 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1405 return srv.(DeviceManagerServer).ModifyCloudToDeviceConfig(ctx, req.(*ModifyCloudToDeviceConfigRequest)) 1406 } 1407 return interceptor(ctx, in, info, handler) 1408} 1409 1410func _DeviceManager_ListDeviceConfigVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1411 in := new(ListDeviceConfigVersionsRequest) 1412 if err := dec(in); err != nil { 1413 return nil, err 1414 } 1415 if interceptor == nil { 1416 return srv.(DeviceManagerServer).ListDeviceConfigVersions(ctx, in) 1417 } 1418 info := &grpc.UnaryServerInfo{ 1419 Server: srv, 1420 FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceConfigVersions", 1421 } 1422 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1423 return srv.(DeviceManagerServer).ListDeviceConfigVersions(ctx, req.(*ListDeviceConfigVersionsRequest)) 1424 } 1425 return interceptor(ctx, in, info, handler) 1426} 1427 1428func _DeviceManager_ListDeviceStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1429 in := new(ListDeviceStatesRequest) 1430 if err := dec(in); err != nil { 1431 return nil, err 1432 } 1433 if interceptor == nil { 1434 return srv.(DeviceManagerServer).ListDeviceStates(ctx, in) 1435 } 1436 info := &grpc.UnaryServerInfo{ 1437 Server: srv, 1438 FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceStates", 1439 } 1440 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1441 return srv.(DeviceManagerServer).ListDeviceStates(ctx, req.(*ListDeviceStatesRequest)) 1442 } 1443 return interceptor(ctx, in, info, handler) 1444} 1445 1446func _DeviceManager_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1447 in := new(v1.SetIamPolicyRequest) 1448 if err := dec(in); err != nil { 1449 return nil, err 1450 } 1451 if interceptor == nil { 1452 return srv.(DeviceManagerServer).SetIamPolicy(ctx, in) 1453 } 1454 info := &grpc.UnaryServerInfo{ 1455 Server: srv, 1456 FullMethod: "/google.cloud.iot.v1.DeviceManager/SetIamPolicy", 1457 } 1458 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1459 return srv.(DeviceManagerServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) 1460 } 1461 return interceptor(ctx, in, info, handler) 1462} 1463 1464func _DeviceManager_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1465 in := new(v1.GetIamPolicyRequest) 1466 if err := dec(in); err != nil { 1467 return nil, err 1468 } 1469 if interceptor == nil { 1470 return srv.(DeviceManagerServer).GetIamPolicy(ctx, in) 1471 } 1472 info := &grpc.UnaryServerInfo{ 1473 Server: srv, 1474 FullMethod: "/google.cloud.iot.v1.DeviceManager/GetIamPolicy", 1475 } 1476 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1477 return srv.(DeviceManagerServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) 1478 } 1479 return interceptor(ctx, in, info, handler) 1480} 1481 1482func _DeviceManager_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1483 in := new(v1.TestIamPermissionsRequest) 1484 if err := dec(in); err != nil { 1485 return nil, err 1486 } 1487 if interceptor == nil { 1488 return srv.(DeviceManagerServer).TestIamPermissions(ctx, in) 1489 } 1490 info := &grpc.UnaryServerInfo{ 1491 Server: srv, 1492 FullMethod: "/google.cloud.iot.v1.DeviceManager/TestIamPermissions", 1493 } 1494 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1495 return srv.(DeviceManagerServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) 1496 } 1497 return interceptor(ctx, in, info, handler) 1498} 1499 1500var _DeviceManager_serviceDesc = grpc.ServiceDesc{ 1501 ServiceName: "google.cloud.iot.v1.DeviceManager", 1502 HandlerType: (*DeviceManagerServer)(nil), 1503 Methods: []grpc.MethodDesc{ 1504 { 1505 MethodName: "CreateDeviceRegistry", 1506 Handler: _DeviceManager_CreateDeviceRegistry_Handler, 1507 }, 1508 { 1509 MethodName: "GetDeviceRegistry", 1510 Handler: _DeviceManager_GetDeviceRegistry_Handler, 1511 }, 1512 { 1513 MethodName: "UpdateDeviceRegistry", 1514 Handler: _DeviceManager_UpdateDeviceRegistry_Handler, 1515 }, 1516 { 1517 MethodName: "DeleteDeviceRegistry", 1518 Handler: _DeviceManager_DeleteDeviceRegistry_Handler, 1519 }, 1520 { 1521 MethodName: "ListDeviceRegistries", 1522 Handler: _DeviceManager_ListDeviceRegistries_Handler, 1523 }, 1524 { 1525 MethodName: "CreateDevice", 1526 Handler: _DeviceManager_CreateDevice_Handler, 1527 }, 1528 { 1529 MethodName: "GetDevice", 1530 Handler: _DeviceManager_GetDevice_Handler, 1531 }, 1532 { 1533 MethodName: "UpdateDevice", 1534 Handler: _DeviceManager_UpdateDevice_Handler, 1535 }, 1536 { 1537 MethodName: "DeleteDevice", 1538 Handler: _DeviceManager_DeleteDevice_Handler, 1539 }, 1540 { 1541 MethodName: "ListDevices", 1542 Handler: _DeviceManager_ListDevices_Handler, 1543 }, 1544 { 1545 MethodName: "ModifyCloudToDeviceConfig", 1546 Handler: _DeviceManager_ModifyCloudToDeviceConfig_Handler, 1547 }, 1548 { 1549 MethodName: "ListDeviceConfigVersions", 1550 Handler: _DeviceManager_ListDeviceConfigVersions_Handler, 1551 }, 1552 { 1553 MethodName: "ListDeviceStates", 1554 Handler: _DeviceManager_ListDeviceStates_Handler, 1555 }, 1556 { 1557 MethodName: "SetIamPolicy", 1558 Handler: _DeviceManager_SetIamPolicy_Handler, 1559 }, 1560 { 1561 MethodName: "GetIamPolicy", 1562 Handler: _DeviceManager_GetIamPolicy_Handler, 1563 }, 1564 { 1565 MethodName: "TestIamPermissions", 1566 Handler: _DeviceManager_TestIamPermissions_Handler, 1567 }, 1568 }, 1569 Streams: []grpc.StreamDesc{}, 1570 Metadata: "google/cloud/iot/v1/device_manager.proto", 1571} 1572 1573func init() { 1574 proto.RegisterFile("google/cloud/iot/v1/device_manager.proto", fileDescriptor_device_manager_c83d83bf4e59b202) 1575} 1576 1577var fileDescriptor_device_manager_c83d83bf4e59b202 = []byte{ 1578 // 1432 bytes of a gzipped FileDescriptorProto 1579 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6f, 0x1b, 0x45, 1580 0x14, 0xd7, 0xd8, 0xa5, 0x90, 0x17, 0x97, 0xb6, 0x93, 0xd0, 0x1a, 0xbb, 0xa5, 0xee, 0x96, 0x0f, 1581 0xd7, 0xa2, 0xde, 0x26, 0xfd, 0x50, 0x49, 0x05, 0x55, 0x9b, 0x96, 0xa4, 0xa8, 0xa9, 0x82, 0x13, 1582 0x3e, 0x64, 0x0e, 0x66, 0x62, 0x4f, 0xac, 0x6d, 0xbd, 0x3b, 0xee, 0xce, 0x38, 0x6a, 0x8a, 0x2a, 1583 0x24, 0x2a, 0xe0, 0xc4, 0x85, 0x70, 0xa8, 0x90, 0x50, 0x2f, 0x08, 0x71, 0xe2, 0x82, 0x84, 0xe0, 1584 0xc6, 0x89, 0x7f, 0x80, 0x03, 0x88, 0x33, 0x42, 0xfc, 0x09, 0x1c, 0x38, 0xa0, 0x9d, 0x99, 0x75, 1585 0xbc, 0x9b, 0xdd, 0xf5, 0xda, 0xa9, 0xb8, 0x79, 0xe7, 0x7d, 0xfd, 0xde, 0xef, 0xbd, 0xb7, 0xf3, 1586 0xbc, 0x50, 0x6e, 0x33, 0xd6, 0xee, 0x50, 0xb3, 0xd9, 0x61, 0xbd, 0x96, 0x69, 0x31, 0x61, 0x6e, 1587 0xcc, 0x98, 0x2d, 0xba, 0x61, 0x35, 0x69, 0xc3, 0x26, 0x0e, 0x69, 0x53, 0xb7, 0xda, 0x75, 0x99, 1588 0x60, 0x78, 0x4a, 0x69, 0x56, 0xa5, 0x66, 0xd5, 0x62, 0xa2, 0xba, 0x31, 0x53, 0x38, 0xa2, 0xcd, 1589 0x49, 0xd7, 0x32, 0x89, 0xe3, 0x30, 0x41, 0x84, 0xc5, 0x1c, 0xae, 0x4c, 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 0xe1, 0x8b, 1601 0x30, 0xd9, 0x93, 0xc1, 0x64, 0x31, 0x34, 0x35, 0x05, 0xdf, 0x93, 0x5f, 0x8d, 0xea, 0xeb, 0x5e, 1602 0xbd, 0x96, 0x08, 0xbf, 0x5d, 0x03, 0xa5, 0xee, 0xfd, 0x36, 0xee, 0x40, 0xf1, 0x86, 0xc5, 0x83, 1603 0x74, 0x58, 0x94, 0x0f, 0x2b, 0x49, 0x11, 0x26, 0xba, 0xa4, 0x4d, 0x1b, 0xdc, 0xba, 0x47, 0x65, 1604 0xc4, 0x27, 0x6a, 0x4f, 0x79, 0x07, 0x2b, 0xd6, 0x3d, 0x8a, 0x8f, 0x02, 0x48, 0xa1, 0x60, 0xb7, 1605 0xa9, 0x93, 0xcf, 0x4a, 0x43, 0xa9, 0xbe, 0xea, 0x1d, 0x18, 0x0f, 0x11, 0x1c, 0x89, 0x8e, 0xc9, 1606 0xbb, 0xcc, 0xe1, 0x14, 0x2f, 0xc3, 0xc1, 0x20, 0x3d, 0x16, 0xe5, 0x79, 0x54, 0xca, 0xa6, 0x25, 1607 0xe8, 0x40, 0x2b, 0xe4, 0x19, 0xbf, 0x08, 0xfb, 0x1d, 0x7a, 0x57, 0x34, 0x06, 0x60, 0x65, 0x24, 1608 0xac, 0x7d, 0xde, 0xf1, 0x72, 0x1f, 0xda, 0x1a, 0x4c, 0x05, 0x1b, 0x34, 0x99, 0x85, 0x33, 0xb0, 1609 0x57, 0x85, 0xd2, 0xa4, 0x17, 0x93, 0xd0, 0x69, 0x55, 0x83, 0xc0, 0x81, 0x81, 0xfe, 0x8b, 0x6d, 1610 0x22, 0xfc, 0x0a, 0xc0, 0xf6, 0x88, 0xa5, 0xa8, 0xea, 0xc4, 0xba, 0xff, 0xd3, 0xf8, 0x14, 0xc1, 1611 0x54, 0xb0, 0xff, 0x54, 0x98, 0x71, 0xf0, 0x86, 0xdb, 0x2b, 0x3b, 0x52, 0x7b, 0x9d, 0x84, 0xa9, 1612 0xe0, 0xf0, 0xc4, 0x0f, 0xcd, 0xdf, 0x08, 0xf0, 0x76, 0x5b, 0x0c, 0xed, 0xc0, 0xe7, 0x41, 0xcf, 1613 0x41, 0xc3, 0xe9, 0xd9, 0x0d, 0xab, 0xc5, 0xf3, 0x99, 0x52, 0xb6, 0xbc, 0xa7, 0x96, 0x53, 0xa7, 1614 0x37, 0x7b, 0xf6, 0xf5, 0x16, 0xf7, 0x5a, 0x51, 0x6b, 0x79, 0x1a, 0xd9, 0x52, 0xd6, 0x6b, 0x45, 1615 0x75, 0xe2, 0x89, 0x83, 0x1c, 0xef, 0x19, 0x81, 0xe3, 0xe0, 0x04, 0xb4, 0x12, 0x27, 0x80, 0x86, 1616 0x27, 0x40, 0xc0, 0x54, 0x20, 0x53, 0xdd, 0xf7, 0xe7, 0xe0, 0x49, 0x05, 0xcd, 0xef, 0xf6, 0xc4, 1617 0xfa, 0xf8, 0xba, 0xa9, 0x9b, 0xfb, 0x01, 0x82, 0xd2, 0x12, 0x6b, 0x59, 0xeb, 0x9b, 0xf3, 0x9e, 1618 0xbb, 0x55, 0xa6, 0x1c, 0xcd, 0x33, 0x67, 0xdd, 0x6a, 0x27, 0x75, 0x62, 0x05, 0x0e, 0x6e, 0x50, 1619 0x97, 0x5b, 0xcc, 0x69, 0x08, 0xd6, 0x50, 0xd5, 0x95, 0x21, 0xb2, 0xb5, 0xfd, 0x5a, 0xb0, 0xca, 1620 0x54, 0xbf, 0xe1, 0x63, 0x30, 0xb9, 0x66, 0x39, 0xc4, 0xdd, 0x6c, 0xb4, 0x88, 0x20, 0xb2, 0x5b, 1621 0x72, 0x35, 0x50, 0x47, 0x57, 0x89, 0x20, 0xc6, 0xbb, 0x70, 0x6c, 0x3b, 0x77, 0x15, 0xfb, 0x6d, 1622 0xe5, 0x83, 0x27, 0x61, 0x38, 0x0e, 0x39, 0xaf, 0xce, 0x3a, 0x1c, 0xd7, 0xef, 0x9c, 0x49, 0xa7, 1623 0x67, 0xfb, 0xd6, 0x46, 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, 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, 1668 0x97, 0x0f, 0xf8, 0xc8, 0x46, 0x17, 0x00, 0x00, 1669} 1670