go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/govppmux/metrics.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: ligato/govppmux/metrics.proto 6 7 package govppmux 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type Metrics struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 ChannelsCreated uint64 `protobuf:"varint,1,opt,name=channels_created,json=channelsCreated,proto3" json:"channels_created,omitempty"` 29 ChannelsOpen uint64 `protobuf:"varint,2,opt,name=channels_open,json=channelsOpen,proto3" json:"channels_open,omitempty"` 30 RequestsSent uint64 `protobuf:"varint,3,opt,name=requests_sent,json=requestsSent,proto3" json:"requests_sent,omitempty"` 31 RequestsDone uint64 `protobuf:"varint,4,opt,name=requests_done,json=requestsDone,proto3" json:"requests_done,omitempty"` 32 RequestsFail uint64 `protobuf:"varint,5,opt,name=requests_fail,json=requestsFail,proto3" json:"requests_fail,omitempty"` 33 RequestReplies uint64 `protobuf:"varint,6,opt,name=request_replies,json=requestReplies,proto3" json:"request_replies,omitempty"` 34 } 35 36 func (x *Metrics) Reset() { 37 *x = Metrics{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_ligato_govppmux_metrics_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *Metrics) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*Metrics) ProtoMessage() {} 50 51 func (x *Metrics) ProtoReflect() protoreflect.Message { 52 mi := &file_ligato_govppmux_metrics_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use Metrics.ProtoReflect.Descriptor instead. 64 func (*Metrics) Descriptor() ([]byte, []int) { 65 return file_ligato_govppmux_metrics_proto_rawDescGZIP(), []int{0} 66 } 67 68 func (x *Metrics) GetChannelsCreated() uint64 { 69 if x != nil { 70 return x.ChannelsCreated 71 } 72 return 0 73 } 74 75 func (x *Metrics) GetChannelsOpen() uint64 { 76 if x != nil { 77 return x.ChannelsOpen 78 } 79 return 0 80 } 81 82 func (x *Metrics) GetRequestsSent() uint64 { 83 if x != nil { 84 return x.RequestsSent 85 } 86 return 0 87 } 88 89 func (x *Metrics) GetRequestsDone() uint64 { 90 if x != nil { 91 return x.RequestsDone 92 } 93 return 0 94 } 95 96 func (x *Metrics) GetRequestsFail() uint64 { 97 if x != nil { 98 return x.RequestsFail 99 } 100 return 0 101 } 102 103 func (x *Metrics) GetRequestReplies() uint64 { 104 if x != nil { 105 return x.RequestReplies 106 } 107 return 0 108 } 109 110 var File_ligato_govppmux_metrics_proto protoreflect.FileDescriptor 111 112 var file_ligato_govppmux_metrics_proto_rawDesc = []byte{ 113 0x0a, 0x1d, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x76, 0x70, 0x70, 0x6d, 0x75, 114 0x78, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 115 0x0f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x67, 0x6f, 0x76, 0x70, 0x70, 0x6d, 0x75, 0x78, 116 0x22, 0xf1, 0x01, 0x0a, 0x07, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x29, 0x0a, 0x10, 117 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 118 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 119 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 120 0x65, 0x6c, 0x73, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 121 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 122 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 123 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x53, 0x65, 0x6e, 124 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x5f, 0x64, 0x6f, 125 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 126 0x74, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 127 0x74, 0x73, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 128 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x72, 129 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x73, 0x18, 0x06, 130 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 131 0x6c, 0x69, 0x65, 0x73, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 132 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 133 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x67, 134 0x6f, 0x76, 0x70, 0x70, 0x6d, 0x75, 0x78, 0x3b, 0x67, 0x6f, 0x76, 0x70, 0x70, 0x6d, 0x75, 0x78, 135 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 136 } 137 138 var ( 139 file_ligato_govppmux_metrics_proto_rawDescOnce sync.Once 140 file_ligato_govppmux_metrics_proto_rawDescData = file_ligato_govppmux_metrics_proto_rawDesc 141 ) 142 143 func file_ligato_govppmux_metrics_proto_rawDescGZIP() []byte { 144 file_ligato_govppmux_metrics_proto_rawDescOnce.Do(func() { 145 file_ligato_govppmux_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_govppmux_metrics_proto_rawDescData) 146 }) 147 return file_ligato_govppmux_metrics_proto_rawDescData 148 } 149 150 var file_ligato_govppmux_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 151 var file_ligato_govppmux_metrics_proto_goTypes = []interface{}{ 152 (*Metrics)(nil), // 0: ligato.govppmux.Metrics 153 } 154 var file_ligato_govppmux_metrics_proto_depIdxs = []int32{ 155 0, // [0:0] is the sub-list for method output_type 156 0, // [0:0] is the sub-list for method input_type 157 0, // [0:0] is the sub-list for extension type_name 158 0, // [0:0] is the sub-list for extension extendee 159 0, // [0:0] is the sub-list for field type_name 160 } 161 162 func init() { file_ligato_govppmux_metrics_proto_init() } 163 func file_ligato_govppmux_metrics_proto_init() { 164 if File_ligato_govppmux_metrics_proto != nil { 165 return 166 } 167 if !protoimpl.UnsafeEnabled { 168 file_ligato_govppmux_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 169 switch v := v.(*Metrics); i { 170 case 0: 171 return &v.state 172 case 1: 173 return &v.sizeCache 174 case 2: 175 return &v.unknownFields 176 default: 177 return nil 178 } 179 } 180 } 181 type x struct{} 182 out := protoimpl.TypeBuilder{ 183 File: protoimpl.DescBuilder{ 184 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 185 RawDescriptor: file_ligato_govppmux_metrics_proto_rawDesc, 186 NumEnums: 0, 187 NumMessages: 1, 188 NumExtensions: 0, 189 NumServices: 0, 190 }, 191 GoTypes: file_ligato_govppmux_metrics_proto_goTypes, 192 DependencyIndexes: file_ligato_govppmux_metrics_proto_depIdxs, 193 MessageInfos: file_ligato_govppmux_metrics_proto_msgTypes, 194 }.Build() 195 File_ligato_govppmux_metrics_proto = out.File 196 file_ligato_govppmux_metrics_proto_rawDesc = nil 197 file_ligato_govppmux_metrics_proto_goTypes = nil 198 file_ligato_govppmux_metrics_proto_depIdxs = nil 199 }