// Code generated by protoc-gen-go. DO NOT EDIT.
// source: yandex/cloud/iot/devices/v1/device_service.proto

package devices

import (
	context "context"
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud/api"
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	field_mask "google.golang.org/genproto/protobuf/field_mask"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type GetDeviceRequest struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetDeviceRequest) Reset()         { *m = GetDeviceRequest{} }
func (m *GetDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*GetDeviceRequest) ProtoMessage()    {}
func (*GetDeviceRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{0}
}

func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetDeviceRequest.Unmarshal(m, b)
}
func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetDeviceRequest.Marshal(b, m, deterministic)
}
func (m *GetDeviceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetDeviceRequest.Merge(m, src)
}
func (m *GetDeviceRequest) XXX_Size() int {
	return xxx_messageInfo_GetDeviceRequest.Size(m)
}
func (m *GetDeviceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetDeviceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetDeviceRequest proto.InternalMessageInfo

func (m *GetDeviceRequest) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

type ListDevicesRequest struct {
	// Types that are valid to be assigned to Id:
	//	*ListDevicesRequest_RegistryId
	//	*ListDevicesRequest_FolderId
	Id                   isListDevicesRequest_Id `protobuf_oneof:"id"`
	PageSize             int64                   `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken            string                  `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (m *ListDevicesRequest) Reset()         { *m = ListDevicesRequest{} }
func (m *ListDevicesRequest) String() string { return proto.CompactTextString(m) }
func (*ListDevicesRequest) ProtoMessage()    {}
func (*ListDevicesRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{1}
}

func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListDevicesRequest.Unmarshal(m, b)
}
func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListDevicesRequest.Marshal(b, m, deterministic)
}
func (m *ListDevicesRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListDevicesRequest.Merge(m, src)
}
func (m *ListDevicesRequest) XXX_Size() int {
	return xxx_messageInfo_ListDevicesRequest.Size(m)
}
func (m *ListDevicesRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListDevicesRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListDevicesRequest proto.InternalMessageInfo

type isListDevicesRequest_Id interface {
	isListDevicesRequest_Id()
}

type ListDevicesRequest_RegistryId struct {
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3,oneof"`
}

type ListDevicesRequest_FolderId struct {
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3,oneof"`
}

func (*ListDevicesRequest_RegistryId) isListDevicesRequest_Id() {}

func (*ListDevicesRequest_FolderId) isListDevicesRequest_Id() {}

func (m *ListDevicesRequest) GetId() isListDevicesRequest_Id {
	if m != nil {
		return m.Id
	}
	return nil
}

func (m *ListDevicesRequest) GetRegistryId() string {
	if x, ok := m.GetId().(*ListDevicesRequest_RegistryId); ok {
		return x.RegistryId
	}
	return ""
}

func (m *ListDevicesRequest) GetFolderId() string {
	if x, ok := m.GetId().(*ListDevicesRequest_FolderId); ok {
		return x.FolderId
	}
	return ""
}

func (m *ListDevicesRequest) GetPageSize() int64 {
	if m != nil {
		return m.PageSize
	}
	return 0
}

func (m *ListDevicesRequest) GetPageToken() string {
	if m != nil {
		return m.PageToken
	}
	return ""
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*ListDevicesRequest) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*ListDevicesRequest_RegistryId)(nil),
		(*ListDevicesRequest_FolderId)(nil),
	}
}

type ListDevicesResponse struct {
	Devices              []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	NextPageToken        string    `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *ListDevicesResponse) Reset()         { *m = ListDevicesResponse{} }
func (m *ListDevicesResponse) String() string { return proto.CompactTextString(m) }
func (*ListDevicesResponse) ProtoMessage()    {}
func (*ListDevicesResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{2}
}

func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListDevicesResponse.Unmarshal(m, b)
}
func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListDevicesResponse.Marshal(b, m, deterministic)
}
func (m *ListDevicesResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListDevicesResponse.Merge(m, src)
}
func (m *ListDevicesResponse) XXX_Size() int {
	return xxx_messageInfo_ListDevicesResponse.Size(m)
}
func (m *ListDevicesResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ListDevicesResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ListDevicesResponse proto.InternalMessageInfo

func (m *ListDevicesResponse) GetDevices() []*Device {
	if m != nil {
		return m.Devices
	}
	return nil
}

func (m *ListDevicesResponse) GetNextPageToken() string {
	if m != nil {
		return m.NextPageToken
	}
	return ""
}

type CreateDeviceRequest struct {
	RegistryId   string                             `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	Name         string                             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description  string                             `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Certificates []*CreateDeviceRequest_Certificate `protobuf:"bytes,4,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// map from alias to canonical topic name prefix, e.g. my/custom/alias -> $device/{id}/events
	TopicAliases         map[string]string `protobuf:"bytes,5,rep,name=topic_aliases,json=topicAliases,proto3" json:"topic_aliases,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *CreateDeviceRequest) Reset()         { *m = CreateDeviceRequest{} }
func (m *CreateDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*CreateDeviceRequest) ProtoMessage()    {}
func (*CreateDeviceRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{3}
}

func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateDeviceRequest.Unmarshal(m, b)
}
func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateDeviceRequest.Marshal(b, m, deterministic)
}
func (m *CreateDeviceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateDeviceRequest.Merge(m, src)
}
func (m *CreateDeviceRequest) XXX_Size() int {
	return xxx_messageInfo_CreateDeviceRequest.Size(m)
}
func (m *CreateDeviceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateDeviceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CreateDeviceRequest proto.InternalMessageInfo

func (m *CreateDeviceRequest) GetRegistryId() string {
	if m != nil {
		return m.RegistryId
	}
	return ""
}

func (m *CreateDeviceRequest) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *CreateDeviceRequest) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func (m *CreateDeviceRequest) GetCertificates() []*CreateDeviceRequest_Certificate {
	if m != nil {
		return m.Certificates
	}
	return nil
}

func (m *CreateDeviceRequest) GetTopicAliases() map[string]string {
	if m != nil {
		return m.TopicAliases
	}
	return nil
}

type CreateDeviceRequest_Certificate struct {
	CertificateData      string   `protobuf:"bytes,1,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CreateDeviceRequest_Certificate) Reset()         { *m = CreateDeviceRequest_Certificate{} }
func (m *CreateDeviceRequest_Certificate) String() string { return proto.CompactTextString(m) }
func (*CreateDeviceRequest_Certificate) ProtoMessage()    {}
func (*CreateDeviceRequest_Certificate) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{3, 1}
}

func (m *CreateDeviceRequest_Certificate) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateDeviceRequest_Certificate.Unmarshal(m, b)
}
func (m *CreateDeviceRequest_Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateDeviceRequest_Certificate.Marshal(b, m, deterministic)
}
func (m *CreateDeviceRequest_Certificate) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateDeviceRequest_Certificate.Merge(m, src)
}
func (m *CreateDeviceRequest_Certificate) XXX_Size() int {
	return xxx_messageInfo_CreateDeviceRequest_Certificate.Size(m)
}
func (m *CreateDeviceRequest_Certificate) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateDeviceRequest_Certificate.DiscardUnknown(m)
}

var xxx_messageInfo_CreateDeviceRequest_Certificate proto.InternalMessageInfo

func (m *CreateDeviceRequest_Certificate) GetCertificateData() string {
	if m != nil {
		return m.CertificateData
	}
	return ""
}

type CreateDeviceMetadata struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CreateDeviceMetadata) Reset()         { *m = CreateDeviceMetadata{} }
func (m *CreateDeviceMetadata) String() string { return proto.CompactTextString(m) }
func (*CreateDeviceMetadata) ProtoMessage()    {}
func (*CreateDeviceMetadata) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{4}
}

func (m *CreateDeviceMetadata) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateDeviceMetadata.Unmarshal(m, b)
}
func (m *CreateDeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateDeviceMetadata.Marshal(b, m, deterministic)
}
func (m *CreateDeviceMetadata) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateDeviceMetadata.Merge(m, src)
}
func (m *CreateDeviceMetadata) XXX_Size() int {
	return xxx_messageInfo_CreateDeviceMetadata.Size(m)
}
func (m *CreateDeviceMetadata) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateDeviceMetadata.DiscardUnknown(m)
}

var xxx_messageInfo_CreateDeviceMetadata proto.InternalMessageInfo

func (m *CreateDeviceMetadata) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

type UpdateDeviceRequest struct {
	DeviceId    string                `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	UpdateMask  *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	Name        string                `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string                `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// map from alias to canonical topic name prefix, e.g. my/custom/alias -> $device/abcdef/events
	TopicAliases         map[string]string `protobuf:"bytes,5,rep,name=topic_aliases,json=topicAliases,proto3" json:"topic_aliases,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *UpdateDeviceRequest) Reset()         { *m = UpdateDeviceRequest{} }
func (m *UpdateDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateDeviceRequest) ProtoMessage()    {}
func (*UpdateDeviceRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{5}
}

func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UpdateDeviceRequest.Unmarshal(m, b)
}
func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UpdateDeviceRequest.Marshal(b, m, deterministic)
}
func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UpdateDeviceRequest.Merge(m, src)
}
func (m *UpdateDeviceRequest) XXX_Size() int {
	return xxx_messageInfo_UpdateDeviceRequest.Size(m)
}
func (m *UpdateDeviceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_UpdateDeviceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_UpdateDeviceRequest proto.InternalMessageInfo

func (m *UpdateDeviceRequest) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

func (m *UpdateDeviceRequest) GetUpdateMask() *field_mask.FieldMask {
	if m != nil {
		return m.UpdateMask
	}
	return nil
}

func (m *UpdateDeviceRequest) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *UpdateDeviceRequest) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func (m *UpdateDeviceRequest) GetTopicAliases() map[string]string {
	if m != nil {
		return m.TopicAliases
	}
	return nil
}

type UpdateDeviceMetadata struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *UpdateDeviceMetadata) Reset()         { *m = UpdateDeviceMetadata{} }
func (m *UpdateDeviceMetadata) String() string { return proto.CompactTextString(m) }
func (*UpdateDeviceMetadata) ProtoMessage()    {}
func (*UpdateDeviceMetadata) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{6}
}

func (m *UpdateDeviceMetadata) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UpdateDeviceMetadata.Unmarshal(m, b)
}
func (m *UpdateDeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UpdateDeviceMetadata.Marshal(b, m, deterministic)
}
func (m *UpdateDeviceMetadata) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UpdateDeviceMetadata.Merge(m, src)
}
func (m *UpdateDeviceMetadata) XXX_Size() int {
	return xxx_messageInfo_UpdateDeviceMetadata.Size(m)
}
func (m *UpdateDeviceMetadata) XXX_DiscardUnknown() {
	xxx_messageInfo_UpdateDeviceMetadata.DiscardUnknown(m)
}

var xxx_messageInfo_UpdateDeviceMetadata proto.InternalMessageInfo

func (m *UpdateDeviceMetadata) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

type DeleteDeviceRequest struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteDeviceRequest) Reset()         { *m = DeleteDeviceRequest{} }
func (m *DeleteDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteDeviceRequest) ProtoMessage()    {}
func (*DeleteDeviceRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{7}
}

func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteDeviceRequest.Unmarshal(m, b)
}
func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteDeviceRequest.Marshal(b, m, deterministic)
}
func (m *DeleteDeviceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteDeviceRequest.Merge(m, src)
}
func (m *DeleteDeviceRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteDeviceRequest.Size(m)
}
func (m *DeleteDeviceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteDeviceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteDeviceRequest proto.InternalMessageInfo

func (m *DeleteDeviceRequest) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

type DeleteDeviceMetadata struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteDeviceMetadata) Reset()         { *m = DeleteDeviceMetadata{} }
func (m *DeleteDeviceMetadata) String() string { return proto.CompactTextString(m) }
func (*DeleteDeviceMetadata) ProtoMessage()    {}
func (*DeleteDeviceMetadata) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{8}
}

func (m *DeleteDeviceMetadata) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteDeviceMetadata.Unmarshal(m, b)
}
func (m *DeleteDeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteDeviceMetadata.Marshal(b, m, deterministic)
}
func (m *DeleteDeviceMetadata) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteDeviceMetadata.Merge(m, src)
}
func (m *DeleteDeviceMetadata) XXX_Size() int {
	return xxx_messageInfo_DeleteDeviceMetadata.Size(m)
}
func (m *DeleteDeviceMetadata) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteDeviceMetadata.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteDeviceMetadata proto.InternalMessageInfo

func (m *DeleteDeviceMetadata) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

type ListDeviceCertificatesRequest struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ListDeviceCertificatesRequest) Reset()         { *m = ListDeviceCertificatesRequest{} }
func (m *ListDeviceCertificatesRequest) String() string { return proto.CompactTextString(m) }
func (*ListDeviceCertificatesRequest) ProtoMessage()    {}
func (*ListDeviceCertificatesRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{9}
}

func (m *ListDeviceCertificatesRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListDeviceCertificatesRequest.Unmarshal(m, b)
}
func (m *ListDeviceCertificatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListDeviceCertificatesRequest.Marshal(b, m, deterministic)
}
func (m *ListDeviceCertificatesRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListDeviceCertificatesRequest.Merge(m, src)
}
func (m *ListDeviceCertificatesRequest) XXX_Size() int {
	return xxx_messageInfo_ListDeviceCertificatesRequest.Size(m)
}
func (m *ListDeviceCertificatesRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListDeviceCertificatesRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListDeviceCertificatesRequest proto.InternalMessageInfo

func (m *ListDeviceCertificatesRequest) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

type ListDeviceCertificatesResponse struct {
	Certificates         []*DeviceCertificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *ListDeviceCertificatesResponse) Reset()         { *m = ListDeviceCertificatesResponse{} }
func (m *ListDeviceCertificatesResponse) String() string { return proto.CompactTextString(m) }
func (*ListDeviceCertificatesResponse) ProtoMessage()    {}
func (*ListDeviceCertificatesResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{10}
}

func (m *ListDeviceCertificatesResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListDeviceCertificatesResponse.Unmarshal(m, b)
}
func (m *ListDeviceCertificatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListDeviceCertificatesResponse.Marshal(b, m, deterministic)
}
func (m *ListDeviceCertificatesResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListDeviceCertificatesResponse.Merge(m, src)
}
func (m *ListDeviceCertificatesResponse) XXX_Size() int {
	return xxx_messageInfo_ListDeviceCertificatesResponse.Size(m)
}
func (m *ListDeviceCertificatesResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ListDeviceCertificatesResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ListDeviceCertificatesResponse proto.InternalMessageInfo

func (m *ListDeviceCertificatesResponse) GetCertificates() []*DeviceCertificate {
	if m != nil {
		return m.Certificates
	}
	return nil
}

type AddDeviceCertificateRequest struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	CertificateData      string   `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *AddDeviceCertificateRequest) Reset()         { *m = AddDeviceCertificateRequest{} }
func (m *AddDeviceCertificateRequest) String() string { return proto.CompactTextString(m) }
func (*AddDeviceCertificateRequest) ProtoMessage()    {}
func (*AddDeviceCertificateRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{11}
}

func (m *AddDeviceCertificateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AddDeviceCertificateRequest.Unmarshal(m, b)
}
func (m *AddDeviceCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AddDeviceCertificateRequest.Marshal(b, m, deterministic)
}
func (m *AddDeviceCertificateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AddDeviceCertificateRequest.Merge(m, src)
}
func (m *AddDeviceCertificateRequest) XXX_Size() int {
	return xxx_messageInfo_AddDeviceCertificateRequest.Size(m)
}
func (m *AddDeviceCertificateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_AddDeviceCertificateRequest.DiscardUnknown(m)
}

var xxx_messageInfo_AddDeviceCertificateRequest proto.InternalMessageInfo

func (m *AddDeviceCertificateRequest) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

func (m *AddDeviceCertificateRequest) GetCertificateData() string {
	if m != nil {
		return m.CertificateData
	}
	return ""
}

type AddDeviceCertificateMetadata struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Fingerprint          string   `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *AddDeviceCertificateMetadata) Reset()         { *m = AddDeviceCertificateMetadata{} }
func (m *AddDeviceCertificateMetadata) String() string { return proto.CompactTextString(m) }
func (*AddDeviceCertificateMetadata) ProtoMessage()    {}
func (*AddDeviceCertificateMetadata) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{12}
}

func (m *AddDeviceCertificateMetadata) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AddDeviceCertificateMetadata.Unmarshal(m, b)
}
func (m *AddDeviceCertificateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AddDeviceCertificateMetadata.Marshal(b, m, deterministic)
}
func (m *AddDeviceCertificateMetadata) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AddDeviceCertificateMetadata.Merge(m, src)
}
func (m *AddDeviceCertificateMetadata) XXX_Size() int {
	return xxx_messageInfo_AddDeviceCertificateMetadata.Size(m)
}
func (m *AddDeviceCertificateMetadata) XXX_DiscardUnknown() {
	xxx_messageInfo_AddDeviceCertificateMetadata.DiscardUnknown(m)
}

var xxx_messageInfo_AddDeviceCertificateMetadata proto.InternalMessageInfo

func (m *AddDeviceCertificateMetadata) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

func (m *AddDeviceCertificateMetadata) GetFingerprint() string {
	if m != nil {
		return m.Fingerprint
	}
	return ""
}

type DeleteDeviceCertificateRequest struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Fingerprint          string   `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteDeviceCertificateRequest) Reset()         { *m = DeleteDeviceCertificateRequest{} }
func (m *DeleteDeviceCertificateRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteDeviceCertificateRequest) ProtoMessage()    {}
func (*DeleteDeviceCertificateRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{13}
}

func (m *DeleteDeviceCertificateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteDeviceCertificateRequest.Unmarshal(m, b)
}
func (m *DeleteDeviceCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteDeviceCertificateRequest.Marshal(b, m, deterministic)
}
func (m *DeleteDeviceCertificateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteDeviceCertificateRequest.Merge(m, src)
}
func (m *DeleteDeviceCertificateRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteDeviceCertificateRequest.Size(m)
}
func (m *DeleteDeviceCertificateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteDeviceCertificateRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteDeviceCertificateRequest proto.InternalMessageInfo

func (m *DeleteDeviceCertificateRequest) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

func (m *DeleteDeviceCertificateRequest) GetFingerprint() string {
	if m != nil {
		return m.Fingerprint
	}
	return ""
}

type DeleteDeviceCertificateMetadata struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Fingerprint          string   `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteDeviceCertificateMetadata) Reset()         { *m = DeleteDeviceCertificateMetadata{} }
func (m *DeleteDeviceCertificateMetadata) String() string { return proto.CompactTextString(m) }
func (*DeleteDeviceCertificateMetadata) ProtoMessage()    {}
func (*DeleteDeviceCertificateMetadata) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{14}
}

func (m *DeleteDeviceCertificateMetadata) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteDeviceCertificateMetadata.Unmarshal(m, b)
}
func (m *DeleteDeviceCertificateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteDeviceCertificateMetadata.Marshal(b, m, deterministic)
}
func (m *DeleteDeviceCertificateMetadata) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteDeviceCertificateMetadata.Merge(m, src)
}
func (m *DeleteDeviceCertificateMetadata) XXX_Size() int {
	return xxx_messageInfo_DeleteDeviceCertificateMetadata.Size(m)
}
func (m *DeleteDeviceCertificateMetadata) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteDeviceCertificateMetadata.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteDeviceCertificateMetadata proto.InternalMessageInfo

func (m *DeleteDeviceCertificateMetadata) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

func (m *DeleteDeviceCertificateMetadata) GetFingerprint() string {
	if m != nil {
		return m.Fingerprint
	}
	return ""
}

type ListDeviceOperationsRequest struct {
	DeviceId             string   `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	PageSize             int64    `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Filter               string   `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ListDeviceOperationsRequest) Reset()         { *m = ListDeviceOperationsRequest{} }
func (m *ListDeviceOperationsRequest) String() string { return proto.CompactTextString(m) }
func (*ListDeviceOperationsRequest) ProtoMessage()    {}
func (*ListDeviceOperationsRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{15}
}

func (m *ListDeviceOperationsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListDeviceOperationsRequest.Unmarshal(m, b)
}
func (m *ListDeviceOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListDeviceOperationsRequest.Marshal(b, m, deterministic)
}
func (m *ListDeviceOperationsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListDeviceOperationsRequest.Merge(m, src)
}
func (m *ListDeviceOperationsRequest) XXX_Size() int {
	return xxx_messageInfo_ListDeviceOperationsRequest.Size(m)
}
func (m *ListDeviceOperationsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListDeviceOperationsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListDeviceOperationsRequest proto.InternalMessageInfo

func (m *ListDeviceOperationsRequest) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

func (m *ListDeviceOperationsRequest) GetPageSize() int64 {
	if m != nil {
		return m.PageSize
	}
	return 0
}

func (m *ListDeviceOperationsRequest) GetPageToken() string {
	if m != nil {
		return m.PageToken
	}
	return ""
}

func (m *ListDeviceOperationsRequest) GetFilter() string {
	if m != nil {
		return m.Filter
	}
	return ""
}

type ListDeviceOperationsResponse struct {
	Operations           []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	NextPageToken        string                 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *ListDeviceOperationsResponse) Reset()         { *m = ListDeviceOperationsResponse{} }
func (m *ListDeviceOperationsResponse) String() string { return proto.CompactTextString(m) }
func (*ListDeviceOperationsResponse) ProtoMessage()    {}
func (*ListDeviceOperationsResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_4f9432a8c0088851, []int{16}
}

func (m *ListDeviceOperationsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListDeviceOperationsResponse.Unmarshal(m, b)
}
func (m *ListDeviceOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListDeviceOperationsResponse.Marshal(b, m, deterministic)
}
func (m *ListDeviceOperationsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListDeviceOperationsResponse.Merge(m, src)
}
func (m *ListDeviceOperationsResponse) XXX_Size() int {
	return xxx_messageInfo_ListDeviceOperationsResponse.Size(m)
}
func (m *ListDeviceOperationsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ListDeviceOperationsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ListDeviceOperationsResponse proto.InternalMessageInfo

func (m *ListDeviceOperationsResponse) GetOperations() []*operation.Operation {
	if m != nil {
		return m.Operations
	}
	return nil
}

func (m *ListDeviceOperationsResponse) GetNextPageToken() string {
	if m != nil {
		return m.NextPageToken
	}
	return ""
}

func init() {
	proto.RegisterType((*GetDeviceRequest)(nil), "yandex.cloud.iot.devices.v1.GetDeviceRequest")
	proto.RegisterType((*ListDevicesRequest)(nil), "yandex.cloud.iot.devices.v1.ListDevicesRequest")
	proto.RegisterType((*ListDevicesResponse)(nil), "yandex.cloud.iot.devices.v1.ListDevicesResponse")
	proto.RegisterType((*CreateDeviceRequest)(nil), "yandex.cloud.iot.devices.v1.CreateDeviceRequest")
	proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.iot.devices.v1.CreateDeviceRequest.TopicAliasesEntry")
	proto.RegisterType((*CreateDeviceRequest_Certificate)(nil), "yandex.cloud.iot.devices.v1.CreateDeviceRequest.Certificate")
	proto.RegisterType((*CreateDeviceMetadata)(nil), "yandex.cloud.iot.devices.v1.CreateDeviceMetadata")
	proto.RegisterType((*UpdateDeviceRequest)(nil), "yandex.cloud.iot.devices.v1.UpdateDeviceRequest")
	proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.iot.devices.v1.UpdateDeviceRequest.TopicAliasesEntry")
	proto.RegisterType((*UpdateDeviceMetadata)(nil), "yandex.cloud.iot.devices.v1.UpdateDeviceMetadata")
	proto.RegisterType((*DeleteDeviceRequest)(nil), "yandex.cloud.iot.devices.v1.DeleteDeviceRequest")
	proto.RegisterType((*DeleteDeviceMetadata)(nil), "yandex.cloud.iot.devices.v1.DeleteDeviceMetadata")
	proto.RegisterType((*ListDeviceCertificatesRequest)(nil), "yandex.cloud.iot.devices.v1.ListDeviceCertificatesRequest")
	proto.RegisterType((*ListDeviceCertificatesResponse)(nil), "yandex.cloud.iot.devices.v1.ListDeviceCertificatesResponse")
	proto.RegisterType((*AddDeviceCertificateRequest)(nil), "yandex.cloud.iot.devices.v1.AddDeviceCertificateRequest")
	proto.RegisterType((*AddDeviceCertificateMetadata)(nil), "yandex.cloud.iot.devices.v1.AddDeviceCertificateMetadata")
	proto.RegisterType((*DeleteDeviceCertificateRequest)(nil), "yandex.cloud.iot.devices.v1.DeleteDeviceCertificateRequest")
	proto.RegisterType((*DeleteDeviceCertificateMetadata)(nil), "yandex.cloud.iot.devices.v1.DeleteDeviceCertificateMetadata")
	proto.RegisterType((*ListDeviceOperationsRequest)(nil), "yandex.cloud.iot.devices.v1.ListDeviceOperationsRequest")
	proto.RegisterType((*ListDeviceOperationsResponse)(nil), "yandex.cloud.iot.devices.v1.ListDeviceOperationsResponse")
}

func init() {
	proto.RegisterFile("yandex/cloud/iot/devices/v1/device_service.proto", fileDescriptor_4f9432a8c0088851)
}

var fileDescriptor_4f9432a8c0088851 = []byte{
	// 1248 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4f, 0x6f, 0x1b, 0x45,
	0x14, 0x67, 0x63, 0xc7, 0x24, 0xcf, 0x49, 0x9a, 0x4c, 0x8a, 0x30, 0x4e, 0x9a, 0xa6, 0x5b, 0x51,
	0x5c, 0x57, 0xde, 0x3f, 0xae, 0x52, 0xa5, 0xf9, 0x03, 0x4d, 0x9a, 0x12, 0x82, 0xa8, 0xa8, 0xb6,
	0xe5, 0x52, 0xa8, 0xcc, 0xc6, 0x3b, 0x36, 0xab, 0x38, 0xbb, 0x66, 0x77, 0x1c, 0x35, 0x49, 0x7b,
	0xa9, 0x10, 0x12, 0xb9, 0xf2, 0x05, 0x90, 0xf8, 0x00, 0x48, 0xb9, 0x70, 0x40, 0x48, 0x70, 0x40,
	0x09, 0xd7, 0xf0, 0x01, 0xb8, 0x70, 0x40, 0xe2, 0xc6, 0x09, 0x71, 0x42, 0x33, 0xb3, 0xb6, 0xc7,
	0xf1, 0xda, 0x5e, 0x1b, 0xf5, 0xe4, 0xdd, 0x9d, 0xf7, 0xe7, 0xf7, 0xde, 0xfb, 0xcd, 0x7b, 0x4f,
	0x06, 0x6d, 0xdf, 0x74, 0x2c, 0xfc, 0x54, 0x2d, 0x56, 0xdc, 0x9a, 0xa5, 0xda, 0x2e, 0x51, 0x2d,
	0xbc, 0x67, 0x17, 0xb1, 0xaf, 0xee, 0xe9, 0xc1, 0x63, 0xc1, 0xc7, 0x1e, 0xfd, 0x55, 0xaa,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0xbd, 0xf9, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x60, 0xf8, 0x9f, 0x2f, 0xce, 0x11, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// DeviceServiceClient is the client API for DeviceService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type DeviceServiceClient interface {
	Get(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error)
	List(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
	Create(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	Update(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	Delete(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	ListCertificates(ctx context.Context, in *ListDeviceCertificatesRequest, opts ...grpc.CallOption) (*ListDeviceCertificatesResponse, error)
	AddCertificate(ctx context.Context, in *AddDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	DeleteCertificate(ctx context.Context, in *DeleteDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	ListOperations(ctx context.Context, in *ListDeviceOperationsRequest, opts ...grpc.CallOption) (*ListDeviceOperationsResponse, error)
}

type deviceServiceClient struct {
	cc *grpc.ClientConn
}

func NewDeviceServiceClient(cc *grpc.ClientConn) DeviceServiceClient {
	return &deviceServiceClient{cc}
}

func (c *deviceServiceClient) Get(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) {
	out := new(Device)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/Get", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *deviceServiceClient) List(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) {
	out := new(ListDevicesResponse)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/List", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *deviceServiceClient) Create(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) {
	out := new(operation.Operation)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/Create", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *deviceServiceClient) Update(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) {
	out := new(operation.Operation)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/Update", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *deviceServiceClient) Delete(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) {
	out := new(operation.Operation)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/Delete", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *deviceServiceClient) ListCertificates(ctx context.Context, in *ListDeviceCertificatesRequest, opts ...grpc.CallOption) (*ListDeviceCertificatesResponse, error) {
	out := new(ListDeviceCertificatesResponse)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/ListCertificates", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *deviceServiceClient) AddCertificate(ctx context.Context, in *AddDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) {
	out := new(operation.Operation)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/AddCertificate", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *deviceServiceClient) DeleteCertificate(ctx context.Context, in *DeleteDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) {
	out := new(operation.Operation)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/DeleteCertificate", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *deviceServiceClient) ListOperations(ctx context.Context, in *ListDeviceOperationsRequest, opts ...grpc.CallOption) (*ListDeviceOperationsResponse, error) {
	out := new(ListDeviceOperationsResponse)
	err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/ListOperations", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// DeviceServiceServer is the server API for DeviceService service.
type DeviceServiceServer interface {
	Get(context.Context, *GetDeviceRequest) (*Device, error)
	List(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
	Create(context.Context, *CreateDeviceRequest) (*operation.Operation, error)
	Update(context.Context, *UpdateDeviceRequest) (*operation.Operation, error)
	Delete(context.Context, *DeleteDeviceRequest) (*operation.Operation, error)
	ListCertificates(context.Context, *ListDeviceCertificatesRequest) (*ListDeviceCertificatesResponse, error)
	AddCertificate(context.Context, *AddDeviceCertificateRequest) (*operation.Operation, error)
	DeleteCertificate(context.Context, *DeleteDeviceCertificateRequest) (*operation.Operation, error)
	ListOperations(context.Context, *ListDeviceOperationsRequest) (*ListDeviceOperationsResponse, error)
}

// UnimplementedDeviceServiceServer can be embedded to have forward compatible implementations.
type UnimplementedDeviceServiceServer struct {
}

func (*UnimplementedDeviceServiceServer) Get(ctx context.Context, req *GetDeviceRequest) (*Device, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}
func (*UnimplementedDeviceServiceServer) List(ctx context.Context, req *ListDevicesRequest) (*ListDevicesResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
}
func (*UnimplementedDeviceServiceServer) Create(ctx context.Context, req *CreateDeviceRequest) (*operation.Operation, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (*UnimplementedDeviceServiceServer) Update(ctx context.Context, req *UpdateDeviceRequest) (*operation.Operation, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (*UnimplementedDeviceServiceServer) Delete(ctx context.Context, req *DeleteDeviceRequest) (*operation.Operation, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
func (*UnimplementedDeviceServiceServer) ListCertificates(ctx context.Context, req *ListDeviceCertificatesRequest) (*ListDeviceCertificatesResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListCertificates not implemented")
}
func (*UnimplementedDeviceServiceServer) AddCertificate(ctx context.Context, req *AddDeviceCertificateRequest) (*operation.Operation, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AddCertificate not implemented")
}
func (*UnimplementedDeviceServiceServer) DeleteCertificate(ctx context.Context, req *DeleteDeviceCertificateRequest) (*operation.Operation, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteCertificate not implemented")
}
func (*UnimplementedDeviceServiceServer) ListOperations(ctx context.Context, req *ListDeviceOperationsRequest) (*ListDeviceOperationsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented")
}

func RegisterDeviceServiceServer(s *grpc.Server, srv DeviceServiceServer) {
	s.RegisterService(&_DeviceService_serviceDesc, srv)
}

func _DeviceService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetDeviceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).Get(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/Get",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).Get(ctx, req.(*GetDeviceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _DeviceService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListDevicesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).List(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/List",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).List(ctx, req.(*ListDevicesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _DeviceService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateDeviceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).Create(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/Create",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).Create(ctx, req.(*CreateDeviceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _DeviceService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateDeviceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).Update(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/Update",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).Update(ctx, req.(*UpdateDeviceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _DeviceService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteDeviceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).Delete(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/Delete",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).Delete(ctx, req.(*DeleteDeviceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _DeviceService_ListCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListDeviceCertificatesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).ListCertificates(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/ListCertificates",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).ListCertificates(ctx, req.(*ListDeviceCertificatesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _DeviceService_AddCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AddDeviceCertificateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).AddCertificate(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/AddCertificate",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).AddCertificate(ctx, req.(*AddDeviceCertificateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _DeviceService_DeleteCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteDeviceCertificateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).DeleteCertificate(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/DeleteCertificate",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).DeleteCertificate(ctx, req.(*DeleteDeviceCertificateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _DeviceService_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListDeviceOperationsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(DeviceServiceServer).ListOperations(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/ListOperations",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(DeviceServiceServer).ListOperations(ctx, req.(*ListDeviceOperationsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _DeviceService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.iot.devices.v1.DeviceService",
	HandlerType: (*DeviceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _DeviceService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _DeviceService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _DeviceService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _DeviceService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _DeviceService_Delete_Handler,
		},
		{
			MethodName: "ListCertificates",
			Handler:    _DeviceService_ListCertificates_Handler,
		},
		{
			MethodName: "AddCertificate",
			Handler:    _DeviceService_AddCertificate_Handler,
		},
		{
			MethodName: "DeleteCertificate",
			Handler:    _DeviceService_DeleteCertificate_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _DeviceService_ListOperations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/iot/devices/v1/device_service.proto",
}
