// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: resource/v1/resource.proto

package v1

import (
	fmt "fmt"
	proto "github.com/gogo/protobuf/proto"
	v1 "github.com/jaegertracing/jaeger/proto-gen/otel/common/v1"
	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.GoGoProtoPackageIsVersion3 // please upgrade the proto package

// Resource information.
type Resource struct {
	// Set of attributes that describe the resource.
	// Attribute keys MUST be unique (it is not allowed to have more than one
	// attribute with the same key).
	Attributes []*v1.KeyValue `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// dropped_attributes_count is the number of dropped attributes. If the value is 0, then
	// no attributes were dropped.
	DroppedAttributesCount uint32   `protobuf:"varint,2,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

func (m *Resource) Reset()         { *m = Resource{} }
func (m *Resource) String() string { return proto.CompactTextString(m) }
func (*Resource) ProtoMessage()    {}
func (*Resource) Descriptor() ([]byte, []int) {
	return fileDescriptor_cebae6241f1ea243, []int{0}
}
func (m *Resource) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Resource.Unmarshal(m, b)
}
func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Resource.Marshal(b, m, deterministic)
}
func (m *Resource) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Resource.Merge(m, src)
}
func (m *Resource) XXX_Size() int {
	return xxx_messageInfo_Resource.Size(m)
}
func (m *Resource) XXX_DiscardUnknown() {
	xxx_messageInfo_Resource.DiscardUnknown(m)
}

var xxx_messageInfo_Resource proto.InternalMessageInfo

func (m *Resource) GetAttributes() []*v1.KeyValue {
	if m != nil {
		return m.Attributes
	}
	return nil
}

func (m *Resource) GetDroppedAttributesCount() uint32 {
	if m != nil {
		return m.DroppedAttributesCount
	}
	return 0
}

func init() {
	proto.RegisterType((*Resource)(nil), "jaeger.resource.v1.Resource")
}

func init() { proto.RegisterFile("resource/v1/resource.proto", fileDescriptor_cebae6241f1ea243) }

var fileDescriptor_cebae6241f1ea243 = []byte{
	// 230 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x31, 0x4f, 0xc3, 0x30,
	0x10, 0x85, 0x15, 0x90, 0x10, 0x32, 0xea, 0x92, 0xa1, 0x8a, 0x32, 0x55, 0x9d, 0xba, 0x60, 0x2b,
	0xb0, 0xa0, 0x6e, 0x94, 0x91, 0xa5, 0xca, 0xc0, 0xc0, 0x52, 0x25, 0xe9, 0xc9, 0x18, 0x25, 0x3e,
	0x73, 0x3d, 0x47, 0xea, 0xc6, 0x4f, 0x47, 0xae, 0xdd, 0x90, 0xed, 0x7c, 0xdf, 0xf3, 0xd3, 0x67,
	0x8b, 0x92, 0xe0, 0x84, 0x9e, 0x3a, 0x50, 0x63, 0xa5, 0xae, 0xb3, 0x74, 0x84, 0x8c, 0x79, 0xfe,
	0xdd, 0x80, 0x06, 0x92, 0xd3, 0x7a, 0xac, 0xca, 0x65, 0x87, 0xc3, 0x80, 0x36, 0xa4, 0xe3, 0x14,
	0xb3, 0xeb, 0xdf, 0x4c, 0xdc, 0xd7, 0x29, 0x97, 0x6f, 0x85, 0x68, 0x98, 0xc9, 0xb4, 0x9e, 0xe1,
	0x54, 0x64, 0xab, 0xdb, 0xcd, 0xc3, 0x53, 0x29, 0x53, 0x5b, 0xba, 0x36, 0x56, 0xf2, 0x1d, 0xce,
	0x1f, 0x4d, 0xef, 0xa1, 0x9e, 0xa5, 0xf3, 0x17, 0x51, 0x1c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