test

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cmd_protoc_gen_loggingtags_internal_test_sample_proto protoreflect.FileDescriptor

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) Descriptor() ([]byte, []int)

Deprecated: Use Sample.ProtoReflect.Descriptor instead.

func (*Sample) GetDuration

func (x *Sample) GetDuration() *durationpb.Duration

func (*Sample) GetOptSafe added in v0.0.36

func (x *Sample) GetOptSafe() string

func (*Sample) GetOptUnsafe added in v0.0.36

func (x *Sample) GetOptUnsafe() string

func (*Sample) GetSafe

func (x *Sample) GetSafe() string

func (*Sample) GetTimestamp

func (x *Sample) GetTimestamp() *timestamppb.Timestamp

func (*Sample) GetUnsafe

func (x *Sample) GetUnsafe() string

func (*Sample) GetWithCase added in v0.0.35

func (x *Sample) GetWithCase() string

func (*Sample) LoggingTags

func (r *Sample) LoggingTags() map[string]interface{}

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

func (*Sample) Reset

func (x *Sample) Reset()

func (*Sample) String

func (x *Sample) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL