opencensus-proto: Index | Files

package v1

import ""


Package Files



var File_opencensus_proto_resource_v1_resource_proto protoreflect.FileDescriptor

type Resource Uses

type Resource struct {

    // Type identifier for the resource.
    Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    // Set of labels that describe the resource.
    Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields

Resource information.

func (*Resource) Descriptor Uses

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetLabels Uses

func (x *Resource) GetLabels() map[string]string

func (*Resource) GetType Uses

func (x *Resource) GetType() string

func (*Resource) ProtoMessage Uses

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect Uses

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset Uses

func (x *Resource) Reset()

func (*Resource) String Uses

func (x *Resource) String() string

Package v1 imports 5 packages (graph) and is imported by 52 packages. Updated 2020-07-28. Refresh now. Tools for package owners.