// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/iot/devices/v1/registry_data_service.proto

package devices

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type PublishRegistryDataRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of registry publishing message
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	// Topic where message should be published
	Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
	// Content of the message
	Data          []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PublishRegistryDataRequest) Reset() {
	*x = PublishRegistryDataRequest{}
	mi := &file_yandex_cloud_iot_devices_v1_registry_data_service_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PublishRegistryDataRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PublishRegistryDataRequest) ProtoMessage() {}

func (x *PublishRegistryDataRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_iot_devices_v1_registry_data_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PublishRegistryDataRequest.ProtoReflect.Descriptor instead.
func (*PublishRegistryDataRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDescGZIP(), []int{0}
}

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

func (x *PublishRegistryDataRequest) GetTopic() string {
	if x != nil {
		return x.Topic
	}
	return ""
}

func (x *PublishRegistryDataRequest) GetData() []byte {
	if x != nil {
		return x.Data
	}
	return nil
}

type PublishRegistryDataResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PublishRegistryDataResponse) Reset() {
	*x = PublishRegistryDataResponse{}
	mi := &file_yandex_cloud_iot_devices_v1_registry_data_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PublishRegistryDataResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PublishRegistryDataResponse) ProtoMessage() {}

func (x *PublishRegistryDataResponse) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_iot_devices_v1_registry_data_service_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PublishRegistryDataResponse.ProtoReflect.Descriptor instead.
func (*PublishRegistryDataResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDescGZIP(), []int{1}
}

var File_yandex_cloud_iot_devices_v1_registry_data_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDesc = "" +
	"\n" +
	"7yandex/cloud/iot/devices/v1/registry_data_service.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\"\x93\x01\n" +
	"\x1aPublishRegistryDataRequest\x12-\n" +
	"\vregistry_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"registryId\x12$\n" +
	"\x05topic\x18\x02 \x01(\tB\x0e\xe8\xc71\x01\x8a\xc81\x06<=1024R\x05topic\x12 \n" +
	"\x04data\x18\x03 \x01(\fB\f\x8a\xc81\b<=262144R\x04data\"\x1d\n" +
	"\x1bPublishRegistryDataResponse2\xd1\x01\n" +
	"\x13RegistryDataService\x12\xb9\x01\n" +
	"\aPublish\x127.yandex.cloud.iot.devices.v1.PublishRegistryDataRequest\x1a8.yandex.cloud.iot.devices.v1.PublishRegistryDataResponse\";\x82\xd3\xe4\x93\x025:\x01*\"0/iot-devices/v1/registries/{registry_id}/publishBj\n" +
	"\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3"

var (
	file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDescData []byte
)

func file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDesc), len(file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDesc)))
	})
	return file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDescData
}

var file_yandex_cloud_iot_devices_v1_registry_data_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_iot_devices_v1_registry_data_service_proto_goTypes = []any{
	(*PublishRegistryDataRequest)(nil),  // 0: yandex.cloud.iot.devices.v1.PublishRegistryDataRequest
	(*PublishRegistryDataResponse)(nil), // 1: yandex.cloud.iot.devices.v1.PublishRegistryDataResponse
}
var file_yandex_cloud_iot_devices_v1_registry_data_service_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.iot.devices.v1.RegistryDataService.Publish:input_type -> yandex.cloud.iot.devices.v1.PublishRegistryDataRequest
	1, // 1: yandex.cloud.iot.devices.v1.RegistryDataService.Publish:output_type -> yandex.cloud.iot.devices.v1.PublishRegistryDataResponse
	1, // [1:2] is the sub-list for method output_type
	0, // [0:1] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_yandex_cloud_iot_devices_v1_registry_data_service_proto_init() }
func file_yandex_cloud_iot_devices_v1_registry_data_service_proto_init() {
	if File_yandex_cloud_iot_devices_v1_registry_data_service_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDesc), len(file_yandex_cloud_iot_devices_v1_registry_data_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_iot_devices_v1_registry_data_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_iot_devices_v1_registry_data_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_iot_devices_v1_registry_data_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_iot_devices_v1_registry_data_service_proto = out.File
	file_yandex_cloud_iot_devices_v1_registry_data_service_proto_goTypes = nil
	file_yandex_cloud_iot_devices_v1_registry_data_service_proto_depIdxs = nil
}
