grpc: google.golang.org/grpc/interop/grpc_testing/core Index | Files

package grpc_core

import "google.golang.org/grpc/interop/grpc_testing/core"

Index

Package Files

stats.pb.go

Variables

var File_grpc_core_stats_proto protoreflect.FileDescriptor

type Bucket Uses

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 Uses

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

Deprecated: Use Bucket.ProtoReflect.Descriptor instead.

func (*Bucket) GetCount Uses

func (x *Bucket) GetCount() uint64

func (*Bucket) GetStart Uses

func (x *Bucket) GetStart() float64

func (*Bucket) ProtoMessage Uses

func (*Bucket) ProtoMessage()

func (*Bucket) ProtoReflect Uses

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

func (*Bucket) Reset Uses

func (x *Bucket) Reset()

func (*Bucket) String Uses

func (x *Bucket) String() string

type Histogram Uses

type Histogram struct {
    Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
    // contains filtered or unexported fields
}

func (*Histogram) Descriptor Uses

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

Deprecated: Use Histogram.ProtoReflect.Descriptor instead.

func (*Histogram) GetBuckets Uses

func (x *Histogram) GetBuckets() []*Bucket

func (*Histogram) ProtoMessage Uses

func (*Histogram) ProtoMessage()

func (*Histogram) ProtoReflect Uses

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

func (*Histogram) Reset Uses

func (x *Histogram) Reset()

func (*Histogram) String Uses

func (x *Histogram) String() string

type Metric Uses

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 Uses

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

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetCount Uses

func (x *Metric) GetCount() uint64

func (*Metric) GetHistogram Uses

func (x *Metric) GetHistogram() *Histogram

func (*Metric) GetName Uses

func (x *Metric) GetName() string

func (*Metric) GetValue Uses

func (m *Metric) GetValue() isMetric_Value

func (*Metric) ProtoMessage Uses

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect Uses

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

func (*Metric) Reset Uses

func (x *Metric) Reset()

func (*Metric) String Uses

func (x *Metric) String() string

type Metric_Count Uses

type Metric_Count struct {
    Count uint64 `protobuf:"varint,10,opt,name=count,proto3,oneof"`
}

type Metric_Histogram Uses

type Metric_Histogram struct {
    Histogram *Histogram `protobuf:"bytes,11,opt,name=histogram,proto3,oneof"`
}

type Stats Uses

type Stats struct {
    Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
    // contains filtered or unexported fields
}

func (*Stats) Descriptor Uses

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

Deprecated: Use Stats.ProtoReflect.Descriptor instead.

func (*Stats) GetMetrics Uses

func (x *Stats) GetMetrics() []*Metric

func (*Stats) ProtoMessage Uses

func (*Stats) ProtoMessage()

func (*Stats) ProtoReflect Uses

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

func (*Stats) Reset Uses

func (x *Stats) Reset()

func (*Stats) String Uses

func (x *Stats) String() string

Package grpc_core imports 5 packages (graph) and is imported by 1 packages. Updated 2021-01-08. Refresh now. Tools for package owners.