// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.25.0-devel
// 	protoc        v3.6.1
// source: yandex/cloud/marketplace/v1/metering/usage_record.proto

package metering

import (
	proto "github.com/golang/protobuf/proto"
	timestamp "github.com/golang/protobuf/ptypes/timestamp"
	_ "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"
)

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)
)

// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4

type RejectedUsageRecord_Reason int32

const (
	RejectedUsageRecord_REASON_UNSPECIFIED RejectedUsageRecord_Reason = 0
	RejectedUsageRecord_DUPLICATE          RejectedUsageRecord_Reason = 1
	RejectedUsageRecord_EXPIRED            RejectedUsageRecord_Reason = 2
	RejectedUsageRecord_INVALID_TIMESTAMP  RejectedUsageRecord_Reason = 3
	RejectedUsageRecord_INVALID_SKU_ID     RejectedUsageRecord_Reason = 4
	RejectedUsageRecord_INVALID_PRODUCT_ID RejectedUsageRecord_Reason = 5
	RejectedUsageRecord_INVALID_QUANTITY   RejectedUsageRecord_Reason = 6
	RejectedUsageRecord_INVALID_ID         RejectedUsageRecord_Reason = 7
)

// Enum value maps for RejectedUsageRecord_Reason.
var (
	RejectedUsageRecord_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "DUPLICATE",
		2: "EXPIRED",
		3: "INVALID_TIMESTAMP",
		4: "INVALID_SKU_ID",
		5: "INVALID_PRODUCT_ID",
		6: "INVALID_QUANTITY",
		7: "INVALID_ID",
	}
	RejectedUsageRecord_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"DUPLICATE":          1,
		"EXPIRED":            2,
		"INVALID_TIMESTAMP":  3,
		"INVALID_SKU_ID":     4,
		"INVALID_PRODUCT_ID": 5,
		"INVALID_QUANTITY":   6,
		"INVALID_ID":         7,
	}
)

func (x RejectedUsageRecord_Reason) Enum() *RejectedUsageRecord_Reason {
	p := new(RejectedUsageRecord_Reason)
	*p = x
	return p
}

func (x RejectedUsageRecord_Reason) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (RejectedUsageRecord_Reason) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_marketplace_v1_metering_usage_record_proto_enumTypes[0].Descriptor()
}

func (RejectedUsageRecord_Reason) Type() protoreflect.EnumType {
	return &file_yandex_cloud_marketplace_v1_metering_usage_record_proto_enumTypes[0]
}

func (x RejectedUsageRecord_Reason) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use RejectedUsageRecord_Reason.Descriptor instead.
func (RejectedUsageRecord_Reason) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescGZIP(), []int{2, 0}
}

type UsageRecord struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Unique identitifier of the usage record (UUID format)
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Consumed Marketplace SaaS Sku ID, linked to `UsageRecord.product_id`
	SkuId string `protobuf:"bytes,2,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
	// Quantity of sku consumed, measured in `sku.usage_unit` units (e.g. bytes)
	Quantity int64 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// Timestamp in UTC for which the usage is being reported
	Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (x *UsageRecord) Reset() {
	*x = UsageRecord{}
	if protoimpl.UnsafeEnabled {
		mi := &file_yandex_cloud_marketplace_v1_metering_usage_record_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*UsageRecord) ProtoMessage() {}

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

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

func (x *UsageRecord) GetUuid() string {
	if x != nil {
		return x.Uuid
	}
	return ""
}

func (x *UsageRecord) GetSkuId() string {
	if x != nil {
		return x.SkuId
	}
	return ""
}

func (x *UsageRecord) GetQuantity() int64 {
	if x != nil {
		return x.Quantity
	}
	return 0
}

func (x *UsageRecord) GetTimestamp() *timestamp.Timestamp {
	if x != nil {
		return x.Timestamp
	}
	return nil
}

type AcceptedUsageRecord struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Unique identitifier of the usage record (UUID format)
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
}

func (x *AcceptedUsageRecord) Reset() {
	*x = AcceptedUsageRecord{}
	if protoimpl.UnsafeEnabled {
		mi := &file_yandex_cloud_marketplace_v1_metering_usage_record_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*AcceptedUsageRecord) ProtoMessage() {}

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

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

func (x *AcceptedUsageRecord) GetUuid() string {
	if x != nil {
		return x.Uuid
	}
	return ""
}

type RejectedUsageRecord struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Unique identitifier of the usage record (UUID format)
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// The reason of rejection
	Reason RejectedUsageRecord_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=yandex.cloud.marketplace.v1.metering.RejectedUsageRecord_Reason" json:"reason,omitempty"`
}

func (x *RejectedUsageRecord) Reset() {
	*x = RejectedUsageRecord{}
	if protoimpl.UnsafeEnabled {
		mi := &file_yandex_cloud_marketplace_v1_metering_usage_record_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*RejectedUsageRecord) ProtoMessage() {}

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

// Deprecated: Use RejectedUsageRecord.ProtoReflect.Descriptor instead.
func (*RejectedUsageRecord) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescGZIP(), []int{2}
}

func (x *RejectedUsageRecord) GetUuid() string {
	if x != nil {
		return x.Uuid
	}
	return ""
}

func (x *RejectedUsageRecord) GetReason() RejectedUsageRecord_Reason {
	if x != nil {
		return x.Reason
	}
	return RejectedUsageRecord_REASON_UNSPECIFIED
}

var File_yandex_cloud_marketplace_v1_metering_usage_record_proto protoreflect.FileDescriptor

var file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDesc = []byte{
	0x0a, 0x37, 0x79, 0x61, 0x6e, 0x64, 0x65, 0x78, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d,
	0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65,
	0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63,
	0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x79, 0x61, 0x6e, 0x64, 0x65,
	0x78, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c,
	0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x1a,
	0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
	0x79, 0x61, 0x6e, 0x64, 0x65, 0x78, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x61, 0x6c,
	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x01,
	0x0a, 0x0b, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x20, 0x0a,
	0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0c, 0xe8, 0xc7, 0x31,
	0x01, 0x8a, 0xc8, 0x31, 0x04, 0x3c, 0x3d, 0x33, 0x36, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12,
	0x23, 0x0a, 0x06, 0x73, 0x6b, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
	0x0c, 0xe8, 0xc7, 0x31, 0x01, 0x8a, 0xc8, 0x31, 0x04, 0x3c, 0x3d, 0x35, 0x30, 0x52, 0x05, 0x73,
	0x6b, 0x75, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
	0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x06, 0xfa, 0xc7, 0x31, 0x02, 0x3e, 0x30, 0x52, 0x08,
	0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3e, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
	0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe8, 0xc7, 0x31, 0x01, 0x52, 0x09, 0x74,
	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x29, 0x0a, 0x13, 0x41, 0x63, 0x63, 0x65,
	0x70, 0x74, 0x65, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12,
	0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75,
	0x75, 0x69, 0x64, 0x22, 0xab, 0x02, 0x0a, 0x13, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64,
	0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75,
	0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12,
	0x58, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
	0x40, 0x2e, 0x79, 0x61, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6d,
	0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65,
	0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x55,
	0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f,
	0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xa5, 0x01, 0x0a, 0x06, 0x52, 0x65,
	0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55,
	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09,
	0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x45,
	0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x56, 0x41,
	0x4c, 0x49, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x03, 0x12,
	0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x4b, 0x55, 0x5f, 0x49,
	0x44, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x50,
	0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x49, 0x44, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x49,
	0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x51, 0x55, 0x41, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10,
	0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x49, 0x44, 0x10,
	0x07, 0x42, 0x7d, 0x0a, 0x28, 0x79, 0x61, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
	0x64, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5a, 0x51, 0x67,
	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x79, 0x61, 0x6e, 0x64, 0x65, 0x78,
	0x2d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6f, 0x2d, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x2f, 0x79, 0x61, 0x6e, 0x64, 0x65, 0x78, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
	0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d,
	0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x3b, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67,
	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescOnce sync.Once
	file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescData = file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDesc
)

func file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescGZIP() []byte {
	file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescData = protoimpl.X.CompressGZIP(file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescData)
	})
	return file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDescData
}

var file_yandex_cloud_marketplace_v1_metering_usage_record_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_marketplace_v1_metering_usage_record_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_marketplace_v1_metering_usage_record_proto_goTypes = []interface{}{
	(RejectedUsageRecord_Reason)(0), // 0: yandex.cloud.marketplace.v1.metering.RejectedUsageRecord.Reason
	(*UsageRecord)(nil),             // 1: yandex.cloud.marketplace.v1.metering.UsageRecord
	(*AcceptedUsageRecord)(nil),     // 2: yandex.cloud.marketplace.v1.metering.AcceptedUsageRecord
	(*RejectedUsageRecord)(nil),     // 3: yandex.cloud.marketplace.v1.metering.RejectedUsageRecord
	(*timestamp.Timestamp)(nil),     // 4: google.protobuf.Timestamp
}
var file_yandex_cloud_marketplace_v1_metering_usage_record_proto_depIdxs = []int32{
	4, // 0: yandex.cloud.marketplace.v1.metering.UsageRecord.timestamp:type_name -> google.protobuf.Timestamp
	0, // 1: yandex.cloud.marketplace.v1.metering.RejectedUsageRecord.reason:type_name -> yandex.cloud.marketplace.v1.metering.RejectedUsageRecord.Reason
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_yandex_cloud_marketplace_v1_metering_usage_record_proto_init() }
func file_yandex_cloud_marketplace_v1_metering_usage_record_proto_init() {
	if File_yandex_cloud_marketplace_v1_metering_usage_record_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_yandex_cloud_marketplace_v1_metering_usage_record_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*UsageRecord); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_yandex_cloud_marketplace_v1_metering_usage_record_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*AcceptedUsageRecord); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_yandex_cloud_marketplace_v1_metering_usage_record_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RejectedUsageRecord); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_marketplace_v1_metering_usage_record_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_marketplace_v1_metering_usage_record_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_marketplace_v1_metering_usage_record_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_marketplace_v1_metering_usage_record_proto_msgTypes,
	}.Build()
	File_yandex_cloud_marketplace_v1_metering_usage_record_proto = out.File
	file_yandex_cloud_marketplace_v1_metering_usage_record_proto_rawDesc = nil
	file_yandex_cloud_marketplace_v1_metering_usage_record_proto_goTypes = nil
	file_yandex_cloud_marketplace_v1_metering_usage_record_proto_depIdxs = nil
}
