Back to godoc.org

Package v1

v0.3.0
Latest Go to latest
Published: Jul 21, 2020 | License: Apache-2.0 | Module: github.com/census-instrumentation/opencensus-proto

Index

Package Files

Variables

var File_opencensus_proto_resource_v1_resource_proto protoreflect.FileDescriptor

type Resource

type Resource struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

}

Resource information.

func (*Resource) Descriptor

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetLabels

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

func (*Resource) GetType

func (x *Resource) GetType() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier