package core
import "google.golang.org/grpc/interop/grpc_testing/core"
Index ¶
- Variables
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)
- func (x *Bucket) GetCount() uint64
- func (x *Bucket) GetStart() float64
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type Histogram
- func (*Histogram) Descriptor() ([]byte, []int)
- func (x *Histogram) GetBuckets() []*Bucket
- func (*Histogram) ProtoMessage()
- func (x *Histogram) ProtoReflect() protoreflect.Message
- func (x *Histogram) Reset()
- func (x *Histogram) String() string
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)
- func (x *Metric) GetCount() uint64
- func (x *Metric) GetHistogram() *Histogram
- func (x *Metric) GetName() string
- func (m *Metric) GetValue() isMetric_Value
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type Metric_Count
- type Metric_Histogram
- type Stats
Variables ¶
var File_grpc_core_stats_proto protoreflect.FileDescriptor
Types ¶
type Bucket ¶
type Bucket struct { Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*Bucket) Descriptor ¶
Deprecated: Use Bucket.ProtoReflect.Descriptor instead.
func (*Bucket) GetCount ¶
func (*Bucket) GetStart ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
func (*Bucket) Reset ¶
func (x *Bucket) Reset()
func (*Bucket) String ¶
type Histogram ¶
type Histogram struct { Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` // contains filtered or unexported fields }
func (*Histogram) Descriptor ¶
Deprecated: Use Histogram.ProtoReflect.Descriptor instead.
func (*Histogram) GetBuckets ¶
func (*Histogram) ProtoMessage ¶
func (*Histogram) ProtoMessage()
func (*Histogram) ProtoReflect ¶
func (x *Histogram) ProtoReflect() protoreflect.Message
func (*Histogram) Reset ¶
func (x *Histogram) Reset()
func (*Histogram) String ¶
type Metric ¶
type Metric struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Value: // // *Metric_Count // *Metric_Histogram Value isMetric_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Metric) Descriptor ¶
Deprecated: Use Metric.ProtoReflect.Descriptor instead.
func (*Metric) GetCount ¶
func (*Metric) GetHistogram ¶
func (*Metric) GetName ¶
func (*Metric) GetValue ¶
func (m *Metric) GetValue() isMetric_Value
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
func (*Metric) Reset ¶
func (x *Metric) Reset()
func (*Metric) String ¶
type Metric_Count ¶
type Metric_Count struct { Count uint64 `protobuf:"varint,10,opt,name=count,proto3,oneof"` }
type Metric_Histogram ¶
type Metric_Histogram struct { Histogram *Histogram `protobuf:"bytes,11,opt,name=histogram,proto3,oneof"` }
type Stats ¶
type Stats struct { Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*Stats) Descriptor ¶
Deprecated: Use Stats.ProtoReflect.Descriptor instead.
func (*Stats) GetMetrics ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
func (*Stats) Reset ¶
func (x *Stats) Reset()
func (*Stats) String ¶
Source Files ¶
stats.pb.go
- Version
- v1.70.0 (latest)
- Published
- Jan 23, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 17 hours ago –
Tools for package owners.