otel: go.opentelemetry.io/otel/exporters/otlp/internal/opentelemetry-proto-gen/resource/v1 Index | Files

package v1

import "go.opentelemetry.io/otel/exporters/otlp/internal/opentelemetry-proto-gen/resource/v1"

Index

Package Files

resource.pb.go

Variables

var (
    ErrInvalidLengthResource        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowResource          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupResource = fmt.Errorf("proto: unexpected end of group")
)

type Resource Uses

type Resource struct {
    // Set of labels that describe the resource.
    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:"-"`
}

Resource information.

func (*Resource) Descriptor Uses

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

func (*Resource) GetAttributes Uses

func (m *Resource) GetAttributes() []*v1.KeyValue

func (*Resource) GetDroppedAttributesCount Uses

func (m *Resource) GetDroppedAttributesCount() uint32

func (*Resource) Marshal Uses

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

func (*Resource) MarshalTo Uses

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

func (*Resource) MarshalToSizedBuffer Uses

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

func (*Resource) ProtoMessage Uses

func (*Resource) ProtoMessage()

func (*Resource) Reset Uses

func (m *Resource) Reset()

func (*Resource) Size Uses

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

func (*Resource) String Uses

func (m *Resource) String() string

func (*Resource) Unmarshal Uses

func (m *Resource) Unmarshal(dAtA []byte) error

func (*Resource) XXX_DiscardUnknown Uses

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal Uses

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge Uses

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size Uses

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal Uses

func (m *Resource) XXX_Unmarshal(b []byte) error

Package v1 imports 6 packages (graph) and is imported by 3 packages. Updated 2020-08-26. Refresh now. Tools for package owners.