| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: benchmark/grpc_testing/stats.proto |
| |
| package grpc_testing |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type ServerStats struct { |
| // wall clock time change in seconds since last reset |
| TimeElapsed float64 `protobuf:"fixed64,1,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` |
| // change in user time (in seconds) used by the server since last reset |
| TimeUser float64 `protobuf:"fixed64,2,opt,name=time_user,json=timeUser,proto3" json:"time_user,omitempty"` |
| // change in server time (in seconds) used by the server process and all |
| // threads since last reset |
| TimeSystem float64 `protobuf:"fixed64,3,opt,name=time_system,json=timeSystem,proto3" json:"time_system,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ServerStats) Reset() { *m = ServerStats{} } |
| func (m *ServerStats) String() string { return proto.CompactTextString(m) } |
| func (*ServerStats) ProtoMessage() {} |
| func (*ServerStats) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a0658d5f374c86d6, []int{0} |
| } |
| |
| func (m *ServerStats) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ServerStats.Unmarshal(m, b) |
| } |
| func (m *ServerStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ServerStats.Marshal(b, m, deterministic) |
| } |
| func (m *ServerStats) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ServerStats.Merge(m, src) |
| } |
| func (m *ServerStats) XXX_Size() int { |
| return xxx_messageInfo_ServerStats.Size(m) |
| } |
| func (m *ServerStats) XXX_DiscardUnknown() { |
| xxx_messageInfo_ServerStats.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ServerStats proto.InternalMessageInfo |
| |
| func (m *ServerStats) GetTimeElapsed() float64 { |
| if m != nil { |
| return m.TimeElapsed |
| } |
| return 0 |
| } |
| |
| func (m *ServerStats) GetTimeUser() float64 { |
| if m != nil { |
| return m.TimeUser |
| } |
| return 0 |
| } |
| |
| func (m *ServerStats) GetTimeSystem() float64 { |
| if m != nil { |
| return m.TimeSystem |
| } |
| return 0 |
| } |
| |
| // Histogram params based on grpc/support/histogram.c |
| type HistogramParams struct { |
| Resolution float64 `protobuf:"fixed64,1,opt,name=resolution,proto3" json:"resolution,omitempty"` |
| MaxPossible float64 `protobuf:"fixed64,2,opt,name=max_possible,json=maxPossible,proto3" json:"max_possible,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *HistogramParams) Reset() { *m = HistogramParams{} } |
| func (m *HistogramParams) String() string { return proto.CompactTextString(m) } |
| func (*HistogramParams) ProtoMessage() {} |
| func (*HistogramParams) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a0658d5f374c86d6, []int{1} |
| } |
| |
| func (m *HistogramParams) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_HistogramParams.Unmarshal(m, b) |
| } |
| func (m *HistogramParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_HistogramParams.Marshal(b, m, deterministic) |
| } |
| func (m *HistogramParams) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_HistogramParams.Merge(m, src) |
| } |
| func (m *HistogramParams) XXX_Size() int { |
| return xxx_messageInfo_HistogramParams.Size(m) |
| } |
| func (m *HistogramParams) XXX_DiscardUnknown() { |
| xxx_messageInfo_HistogramParams.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_HistogramParams proto.InternalMessageInfo |
| |
| func (m *HistogramParams) GetResolution() float64 { |
| if m != nil { |
| return m.Resolution |
| } |
| return 0 |
| } |
| |
| func (m *HistogramParams) GetMaxPossible() float64 { |
| if m != nil { |
| return m.MaxPossible |
| } |
| return 0 |
| } |
| |
| // Histogram data based on grpc/support/histogram.c |
| type HistogramData struct { |
| Bucket []uint32 `protobuf:"varint,1,rep,packed,name=bucket,proto3" json:"bucket,omitempty"` |
| MinSeen float64 `protobuf:"fixed64,2,opt,name=min_seen,json=minSeen,proto3" json:"min_seen,omitempty"` |
| MaxSeen float64 `protobuf:"fixed64,3,opt,name=max_seen,json=maxSeen,proto3" json:"max_seen,omitempty"` |
| Sum float64 `protobuf:"fixed64,4,opt,name=sum,proto3" json:"sum,omitempty"` |
| SumOfSquares float64 `protobuf:"fixed64,5,opt,name=sum_of_squares,json=sumOfSquares,proto3" json:"sum_of_squares,omitempty"` |
| Count float64 `protobuf:"fixed64,6,opt,name=count,proto3" json:"count,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *HistogramData) Reset() { *m = HistogramData{} } |
| func (m *HistogramData) String() string { return proto.CompactTextString(m) } |
| func (*HistogramData) ProtoMessage() {} |
| func (*HistogramData) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a0658d5f374c86d6, []int{2} |
| } |
| |
| func (m *HistogramData) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_HistogramData.Unmarshal(m, b) |
| } |
| func (m *HistogramData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_HistogramData.Marshal(b, m, deterministic) |
| } |
| func (m *HistogramData) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_HistogramData.Merge(m, src) |
| } |
| func (m *HistogramData) XXX_Size() int { |
| return xxx_messageInfo_HistogramData.Size(m) |
| } |
| func (m *HistogramData) XXX_DiscardUnknown() { |
| xxx_messageInfo_HistogramData.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_HistogramData proto.InternalMessageInfo |
| |
| func (m *HistogramData) GetBucket() []uint32 { |
| if m != nil { |
| return m.Bucket |
| } |
| return nil |
| } |
| |
| func (m *HistogramData) GetMinSeen() float64 { |
| if m != nil { |
| return m.MinSeen |
| } |
| return 0 |
| } |
| |
| func (m *HistogramData) GetMaxSeen() float64 { |
| if m != nil { |
| return m.MaxSeen |
| } |
| return 0 |
| } |
| |
| func (m *HistogramData) GetSum() float64 { |
| if m != nil { |
| return m.Sum |
| } |
| return 0 |
| } |
| |
| func (m *HistogramData) GetSumOfSquares() float64 { |
| if m != nil { |
| return m.SumOfSquares |
| } |
| return 0 |
| } |
| |
| func (m *HistogramData) GetCount() float64 { |
| if m != nil { |
| return m.Count |
| } |
| return 0 |
| } |
| |
| type ClientStats struct { |
| // Latency histogram. Data points are in nanoseconds. |
| Latencies *HistogramData `protobuf:"bytes,1,opt,name=latencies,proto3" json:"latencies,omitempty"` |
| // See ServerStats for details. |
| TimeElapsed float64 `protobuf:"fixed64,2,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` |
| TimeUser float64 `protobuf:"fixed64,3,opt,name=time_user,json=timeUser,proto3" json:"time_user,omitempty"` |
| TimeSystem float64 `protobuf:"fixed64,4,opt,name=time_system,json=timeSystem,proto3" json:"time_system,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ClientStats) Reset() { *m = ClientStats{} } |
| func (m *ClientStats) String() string { return proto.CompactTextString(m) } |
| func (*ClientStats) ProtoMessage() {} |
| func (*ClientStats) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a0658d5f374c86d6, []int{3} |
| } |
| |
| func (m *ClientStats) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ClientStats.Unmarshal(m, b) |
| } |
| func (m *ClientStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ClientStats.Marshal(b, m, deterministic) |
| } |
| func (m *ClientStats) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ClientStats.Merge(m, src) |
| } |
| func (m *ClientStats) XXX_Size() int { |
| return xxx_messageInfo_ClientStats.Size(m) |
| } |
| func (m *ClientStats) XXX_DiscardUnknown() { |
| xxx_messageInfo_ClientStats.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ClientStats proto.InternalMessageInfo |
| |
| func (m *ClientStats) GetLatencies() *HistogramData { |
| if m != nil { |
| return m.Latencies |
| } |
| return nil |
| } |
| |
| func (m *ClientStats) GetTimeElapsed() float64 { |
| if m != nil { |
| return m.TimeElapsed |
| } |
| return 0 |
| } |
| |
| func (m *ClientStats) GetTimeUser() float64 { |
| if m != nil { |
| return m.TimeUser |
| } |
| return 0 |
| } |
| |
| func (m *ClientStats) GetTimeSystem() float64 { |
| if m != nil { |
| return m.TimeSystem |
| } |
| return 0 |
| } |
| |
| func init() { |
| proto.RegisterType((*ServerStats)(nil), "grpc.testing.ServerStats") |
| proto.RegisterType((*HistogramParams)(nil), "grpc.testing.HistogramParams") |
| proto.RegisterType((*HistogramData)(nil), "grpc.testing.HistogramData") |
| proto.RegisterType((*ClientStats)(nil), "grpc.testing.ClientStats") |
| } |
| |
| func init() { |
| proto.RegisterFile("benchmark/grpc_testing/stats.proto", fileDescriptor_a0658d5f374c86d6) |
| } |
| |
| var fileDescriptor_a0658d5f374c86d6 = []byte{ |
| // 376 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x0b, 0xd3, 0x30, |
| 0x14, 0xc7, 0xe9, 0xba, 0xcd, 0xed, 0x75, 0x53, 0x09, 0x22, 0x95, 0x81, 0xce, 0xe2, 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