protos/stats/stats.pb.go (411 lines of code) (raw):
//
//Copyright 2022 Google LLC
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//https://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc v4.23.4
// source: protos/stats/stats.proto
package stats
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type DiskStatsCollection struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DiskStats []*DiskStats `protobuf:"bytes,1,rep,name=disk_stats,json=diskStats,proto3" json:"disk_stats,omitempty"`
}
func (x *DiskStatsCollection) Reset() {
*x = DiskStatsCollection{}
if protoimpl.UnsafeEnabled {
mi := &file_protos_stats_stats_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DiskStatsCollection) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiskStatsCollection) ProtoMessage() {}
func (x *DiskStatsCollection) ProtoReflect() protoreflect.Message {
mi := &file_protos_stats_stats_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiskStatsCollection.ProtoReflect.Descriptor instead.
func (*DiskStatsCollection) Descriptor() ([]byte, []int) {
return file_protos_stats_stats_proto_rawDescGZIP(), []int{0}
}
func (x *DiskStatsCollection) GetDiskStats() []*DiskStats {
if x != nil {
return x.DiskStats
}
return nil
}
type DiskStats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
QueueLength int64 `protobuf:"varint,2,opt,name=queue_length,json=queueLength,proto3" json:"queue_length,omitempty"`
AverageReadResponseTimeMillis int64 `protobuf:"varint,3,opt,name=average_read_response_time_millis,json=averageReadResponseTimeMillis,proto3" json:"average_read_response_time_millis,omitempty"`
AverageWriteResponseTimeMillis int64 `protobuf:"varint,4,opt,name=average_write_response_time_millis,json=averageWriteResponseTimeMillis,proto3" json:"average_write_response_time_millis,omitempty"`
ReadOpsCount int64 `protobuf:"varint,5,opt,name=read_ops_count,json=readOpsCount,proto3" json:"read_ops_count,omitempty"`
ReadSvcTimeMillis int64 `protobuf:"varint,6,opt,name=read_svc_time_millis,json=readSvcTimeMillis,proto3" json:"read_svc_time_millis,omitempty"`
WriteOpsCount int64 `protobuf:"varint,7,opt,name=write_ops_count,json=writeOpsCount,proto3" json:"write_ops_count,omitempty"`
WriteSvcTimeMillis int64 `protobuf:"varint,8,opt,name=write_svc_time_millis,json=writeSvcTimeMillis,proto3" json:"write_svc_time_millis,omitempty"`
}
func (x *DiskStats) Reset() {
*x = DiskStats{}
if protoimpl.UnsafeEnabled {
mi := &file_protos_stats_stats_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DiskStats) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DiskStats) ProtoMessage() {}
func (x *DiskStats) ProtoReflect() protoreflect.Message {
mi := &file_protos_stats_stats_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DiskStats.ProtoReflect.Descriptor instead.
func (*DiskStats) Descriptor() ([]byte, []int) {
return file_protos_stats_stats_proto_rawDescGZIP(), []int{1}
}
func (x *DiskStats) GetDeviceName() string {
if x != nil {
return x.DeviceName
}
return ""
}
func (x *DiskStats) GetQueueLength() int64 {
if x != nil {
return x.QueueLength
}
return 0
}
func (x *DiskStats) GetAverageReadResponseTimeMillis() int64 {
if x != nil {
return x.AverageReadResponseTimeMillis
}
return 0
}
func (x *DiskStats) GetAverageWriteResponseTimeMillis() int64 {
if x != nil {
return x.AverageWriteResponseTimeMillis
}
return 0
}
func (x *DiskStats) GetReadOpsCount() int64 {
if x != nil {
return x.ReadOpsCount
}
return 0
}
func (x *DiskStats) GetReadSvcTimeMillis() int64 {
if x != nil {
return x.ReadSvcTimeMillis
}
return 0
}
func (x *DiskStats) GetWriteOpsCount() int64 {
if x != nil {
return x.WriteOpsCount
}
return 0
}
func (x *DiskStats) GetWriteSvcTimeMillis() int64 {
if x != nil {
return x.WriteSvcTimeMillis
}
return 0
}
type MemoryStats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
Free int64 `protobuf:"varint,2,opt,name=free,proto3" json:"free,omitempty"`
Used int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
}
func (x *MemoryStats) Reset() {
*x = MemoryStats{}
if protoimpl.UnsafeEnabled {
mi := &file_protos_stats_stats_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MemoryStats) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MemoryStats) ProtoMessage() {}
func (x *MemoryStats) ProtoReflect() protoreflect.Message {
mi := &file_protos_stats_stats_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MemoryStats.ProtoReflect.Descriptor instead.
func (*MemoryStats) Descriptor() ([]byte, []int) {
return file_protos_stats_stats_proto_rawDescGZIP(), []int{2}
}
func (x *MemoryStats) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *MemoryStats) GetFree() int64 {
if x != nil {
return x.Free
}
return 0
}
func (x *MemoryStats) GetUsed() int64 {
if x != nil {
return x.Used
}
return 0
}
type CpuStats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CpuUtilizationPercent float64 `protobuf:"fixed64,1,opt,name=cpu_utilization_percent,json=cpuUtilizationPercent,proto3" json:"cpu_utilization_percent,omitempty"`
CpuCount int64 `protobuf:"varint,2,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
CpuCores int64 `protobuf:"varint,3,opt,name=cpu_cores,json=cpuCores,proto3" json:"cpu_cores,omitempty"`
MaxMhz int64 `protobuf:"varint,4,opt,name=max_mhz,json=maxMhz,proto3" json:"max_mhz,omitempty"`
ProcessorType string `protobuf:"bytes,5,opt,name=processor_type,json=processorType,proto3" json:"processor_type,omitempty"`
}
func (x *CpuStats) Reset() {
*x = CpuStats{}
if protoimpl.UnsafeEnabled {
mi := &file_protos_stats_stats_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CpuStats) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CpuStats) ProtoMessage() {}
func (x *CpuStats) ProtoReflect() protoreflect.Message {
mi := &file_protos_stats_stats_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CpuStats.ProtoReflect.Descriptor instead.
func (*CpuStats) Descriptor() ([]byte, []int) {
return file_protos_stats_stats_proto_rawDescGZIP(), []int{3}
}
func (x *CpuStats) GetCpuUtilizationPercent() float64 {
if x != nil {
return x.CpuUtilizationPercent
}
return 0
}
func (x *CpuStats) GetCpuCount() int64 {
if x != nil {
return x.CpuCount
}
return 0
}
func (x *CpuStats) GetCpuCores() int64 {
if x != nil {
return x.CpuCores
}
return 0
}
func (x *CpuStats) GetMaxMhz() int64 {
if x != nil {
return x.MaxMhz
}
return 0
}
func (x *CpuStats) GetProcessorType() string {
if x != nil {
return x.ProcessorType
}
return ""
}
var File_protos_stats_stats_proto protoreflect.FileDescriptor
var file_protos_stats_stats_proto_rawDesc = []byte{
0x0a, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x73,
0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x73, 0x61, 0x70, 0x61,
0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74,
0x73, 0x22, 0x56, 0x0a, 0x13, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x43, 0x6f,
0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x6b,
0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73,
0x61, 0x70, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73,
0x74, 0x61, 0x74, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x09,
0x64, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0x97, 0x03, 0x0a, 0x09, 0x44, 0x69,
0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63,
0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x75,
0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
0x71, 0x75, 0x65, 0x75, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x21, 0x61,
0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73,
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52,
0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d,
0x69, 0x6c, 0x6c, 0x69, 0x73, 0x12, 0x4a, 0x0a, 0x22, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65,
0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f,
0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
0x03, 0x52, 0x1e, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x6c, 0x6c, 0x69,
0x73, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x70, 0x73, 0x5f, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, 0x61, 0x64, 0x4f,
0x70, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x72, 0x65, 0x61, 0x64, 0x5f,
0x73, 0x76, 0x63, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x18,
0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x72, 0x65, 0x61, 0x64, 0x53, 0x76, 0x63, 0x54, 0x69,
0x6d, 0x65, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x72, 0x69, 0x74,
0x65, 0x5f, 0x6f, 0x70, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
0x03, 0x52, 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x4f, 0x70, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x12, 0x31, 0x0a, 0x15, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x5f, 0x74, 0x69,
0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
0x12, 0x77, 0x72, 0x69, 0x74, 0x65, 0x53, 0x76, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x6c,
0x6c, 0x69, 0x73, 0x22, 0x4b, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61,
0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x65, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x66, 0x72, 0x65, 0x65, 0x12, 0x12, 0x0a, 0x04,
0x75, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64,
0x22, 0xbc, 0x01, 0x0a, 0x08, 0x43, 0x70, 0x75, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x36, 0x0a,
0x17, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x15,
0x63, 0x70, 0x75, 0x55, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65,
0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75,
0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18,
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x72, 0x65, 0x73, 0x12,
0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x68, 0x7a, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
0x52, 0x06, 0x6d, 0x61, 0x78, 0x4d, 0x68, 0x7a, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x63,
0x65, 0x73, 0x73, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0d, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42,
0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
0x6d, 0x2f, 0x73, 0x61, 0x70, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_protos_stats_stats_proto_rawDescOnce sync.Once
file_protos_stats_stats_proto_rawDescData = file_protos_stats_stats_proto_rawDesc
)
func file_protos_stats_stats_proto_rawDescGZIP() []byte {
file_protos_stats_stats_proto_rawDescOnce.Do(func() {
file_protos_stats_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_stats_stats_proto_rawDescData)
})
return file_protos_stats_stats_proto_rawDescData
}
var file_protos_stats_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_protos_stats_stats_proto_goTypes = []interface{}{
(*DiskStatsCollection)(nil), // 0: sapagent.protos.stats.DiskStatsCollection
(*DiskStats)(nil), // 1: sapagent.protos.stats.DiskStats
(*MemoryStats)(nil), // 2: sapagent.protos.stats.MemoryStats
(*CpuStats)(nil), // 3: sapagent.protos.stats.CpuStats
}
var file_protos_stats_stats_proto_depIdxs = []int32{
1, // 0: sapagent.protos.stats.DiskStatsCollection.disk_stats:type_name -> sapagent.protos.stats.DiskStats
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_protos_stats_stats_proto_init() }
func file_protos_stats_stats_proto_init() {
if File_protos_stats_stats_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_protos_stats_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DiskStatsCollection); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protos_stats_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DiskStats); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protos_stats_stats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MemoryStats); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protos_stats_stats_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CpuStats); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_protos_stats_stats_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_protos_stats_stats_proto_goTypes,
DependencyIndexes: file_protos_stats_stats_proto_depIdxs,
MessageInfos: file_protos_stats_stats_proto_msgTypes,
}.Build()
File_protos_stats_stats_proto = out.File
file_protos_stats_stats_proto_rawDesc = nil
file_protos_stats_stats_proto_goTypes = nil
file_protos_stats_stats_proto_depIdxs = nil
}