Back to

package v1

Latest Go to latest
Published: Jun 16, 2020 | License: Apache-2.0 | Module:


Package v1 is a generated protocol buffer package.

It is generated from these files:


It has these top-level messages:




var (
	ErrInvalidLengthResource = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowResource   = fmt.Errorf("proto: integer overflow")

type Resource

type Resource struct {
	Attributes []*opentelemetry_proto_common_v1.AttributeKeyValue `protobuf:"bytes,1,rep,name=attributes" json:"attributes,omitempty"`

	DroppedAttributesCount uint32 "" /* 130 byte string literal not displayed */

Resource information.

func (*Resource) Descriptor

func (*Resource) Descriptor() ([]byte, []int)

func (*Resource) GetAttributes

func (m *Resource) GetAttributes() []*opentelemetry_proto_common_v1.AttributeKeyValue

func (*Resource) GetDroppedAttributesCount

func (m *Resource) GetDroppedAttributesCount() uint32

func (*Resource) Marshal

func (m *Resource) Marshal() (dAtA []byte, err error)

func (*Resource) MarshalTo

func (m *Resource) MarshalTo(dAtA []byte) (int, error)

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) Size

func (m *Resource) Size() (n int)

func (*Resource) String

func (m *Resource) String() string

func (*Resource) Unmarshal

func (m *Resource) Unmarshal(dAtA []byte) error
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier