Documentation ¶
Index ¶
- Variables
- type NestedSample
- func (*NestedSample) Descriptor() ([]byte, []int)deprecated
- func (x *NestedSample) GetData() *Sample
- func (r *NestedSample) LoggingTags() map[string]interface{}
- func (*NestedSample) ProtoMessage()
- func (x *NestedSample) ProtoReflect() protoreflect.Message
- func (x *NestedSample) Reset()
- func (x *NestedSample) String() string
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)deprecated
- func (x *Sample) GetDuration() *durationpb.Duration
- func (x *Sample) GetOptSafe() string
- func (x *Sample) GetOptUnsafe() string
- func (x *Sample) GetSafe() string
- func (x *Sample) GetTimestamp() *timestamppb.Timestamp
- func (x *Sample) GetUnsafe() string
- func (x *Sample) GetWithCase() string
- func (r *Sample) LoggingTags() map[string]interface{}
- func (*Sample) ProtoMessage()
- func (x *Sample) ProtoReflect() protoreflect.Message
- func (x *Sample) Reset()
- func (x *Sample) String() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type NestedSample ¶
type NestedSample struct { Data *Sample `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*NestedSample) Descriptor
deprecated
func (*NestedSample) Descriptor() ([]byte, []int)
Deprecated: Use NestedSample.ProtoReflect.Descriptor instead.
func (*NestedSample) GetData ¶
func (x *NestedSample) GetData() *Sample
func (*NestedSample) LoggingTags ¶
func (r *NestedSample) LoggingTags() map[string]interface{}
LoggingTags returns loggable fields as key-value pairs.
func (*NestedSample) ProtoMessage ¶
func (*NestedSample) ProtoMessage()
func (*NestedSample) ProtoReflect ¶ added in v0.0.35
func (x *NestedSample) ProtoReflect() protoreflect.Message
func (*NestedSample) Reset ¶
func (x *NestedSample) Reset()
func (*NestedSample) String ¶
func (x *NestedSample) String() string
type Sample ¶
type Sample struct { Safe string `protobuf:"bytes,1,opt,name=safe,proto3" json:"safe,omitempty"` Unsafe string `protobuf:"bytes,2,opt,name=unsafe,proto3" json:"unsafe,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"` WithCase string `protobuf:"bytes,5,opt,name=with_case,json=withCase,proto3" json:"with_case,omitempty"` OptSafe *string `protobuf:"bytes,6,opt,name=opt_safe,json=optSafe,proto3,oneof" json:"opt_safe,omitempty"` OptUnsafe *string `protobuf:"bytes,7,opt,name=opt_unsafe,json=optUnsafe,proto3,oneof" json:"opt_unsafe,omitempty"` // contains filtered or unexported fields }
func (*Sample) Descriptor
deprecated
func (*Sample) GetDuration ¶
func (x *Sample) GetDuration() *durationpb.Duration
func (*Sample) GetOptSafe ¶ added in v0.0.36
func (*Sample) GetOptUnsafe ¶ added in v0.0.36
func (*Sample) GetTimestamp ¶
func (x *Sample) GetTimestamp() *timestamppb.Timestamp
func (*Sample) GetWithCase ¶ added in v0.0.35
func (*Sample) LoggingTags ¶
LoggingTags returns loggable fields as key-value pairs.
func (*Sample) ProtoMessage ¶
func (*Sample) ProtoMessage()
func (*Sample) ProtoReflect ¶ added in v0.0.35
func (x *Sample) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.