1
2
3
4
5
6
7 package envoy_admin_v3
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 proto "github.com/golang/protobuf/proto"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25
26
27 const _ = proto.ProtoPackageIsVersion4
28
29
30
31
32
33
34
35
36 type MutexStats struct {
37 state protoimpl.MessageState
38 sizeCache protoimpl.SizeCache
39 unknownFields protoimpl.UnknownFields
40
41
42 NumContentions uint64 `protobuf:"varint,1,opt,name=num_contentions,json=numContentions,proto3" json:"num_contentions,omitempty"`
43
44 CurrentWaitCycles uint64 `protobuf:"varint,2,opt,name=current_wait_cycles,json=currentWaitCycles,proto3" json:"current_wait_cycles,omitempty"`
45
46 LifetimeWaitCycles uint64 `protobuf:"varint,3,opt,name=lifetime_wait_cycles,json=lifetimeWaitCycles,proto3" json:"lifetime_wait_cycles,omitempty"`
47 }
48
49 func (x *MutexStats) Reset() {
50 *x = MutexStats{}
51 if protoimpl.UnsafeEnabled {
52 mi := &file_envoy_admin_v3_mutex_stats_proto_msgTypes[0]
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 ms.StoreMessageInfo(mi)
55 }
56 }
57
58 func (x *MutexStats) String() string {
59 return protoimpl.X.MessageStringOf(x)
60 }
61
62 func (*MutexStats) ProtoMessage() {}
63
64 func (x *MutexStats) ProtoReflect() protoreflect.Message {
65 mi := &file_envoy_admin_v3_mutex_stats_proto_msgTypes[0]
66 if protoimpl.UnsafeEnabled && x != nil {
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 if ms.LoadMessageInfo() == nil {
69 ms.StoreMessageInfo(mi)
70 }
71 return ms
72 }
73 return mi.MessageOf(x)
74 }
75
76
77 func (*MutexStats) Descriptor() ([]byte, []int) {
78 return file_envoy_admin_v3_mutex_stats_proto_rawDescGZIP(), []int{0}
79 }
80
81 func (x *MutexStats) GetNumContentions() uint64 {
82 if x != nil {
83 return x.NumContentions
84 }
85 return 0
86 }
87
88 func (x *MutexStats) GetCurrentWaitCycles() uint64 {
89 if x != nil {
90 return x.CurrentWaitCycles
91 }
92 return 0
93 }
94
95 func (x *MutexStats) GetLifetimeWaitCycles() uint64 {
96 if x != nil {
97 return x.LifetimeWaitCycles
98 }
99 return 0
100 }
101
102 var File_envoy_admin_v3_mutex_stats_proto protoreflect.FileDescriptor
103
104 var file_envoy_admin_v3_mutex_stats_proto_rawDesc = []byte{
105 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
106 0x2f, 0x6d, 0x75, 0x74, 0x65, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f,
107 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
108 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
109 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
110 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
111 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70,
112 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x01, 0x0a, 0x0a, 0x4d, 0x75, 0x74, 0x65, 0x78, 0x53, 0x74,
113 0x61, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
114 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x75,
115 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13,
116 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x63, 0x79, 0x63,
117 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x63, 0x75, 0x72, 0x72, 0x65,
118 0x6e, 0x74, 0x57, 0x61, 0x69, 0x74, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14,
119 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x63, 0x79,
120 0x63, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x6c, 0x69, 0x66, 0x65,
121 0x74, 0x69, 0x6d, 0x65, 0x57, 0x61, 0x69, 0x74, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x3a, 0x25,
122 0x9a, 0xc5, 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
123 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x75, 0x74, 0x65, 0x78,
124 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x39, 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
125 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
126 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x4d, 0x75, 0x74, 0x65, 0x78, 0x53, 0x74, 0x61, 0x74,
127 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
128 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
129 }
130
131 var (
132 file_envoy_admin_v3_mutex_stats_proto_rawDescOnce sync.Once
133 file_envoy_admin_v3_mutex_stats_proto_rawDescData = file_envoy_admin_v3_mutex_stats_proto_rawDesc
134 )
135
136 func file_envoy_admin_v3_mutex_stats_proto_rawDescGZIP() []byte {
137 file_envoy_admin_v3_mutex_stats_proto_rawDescOnce.Do(func() {
138 file_envoy_admin_v3_mutex_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_mutex_stats_proto_rawDescData)
139 })
140 return file_envoy_admin_v3_mutex_stats_proto_rawDescData
141 }
142
143 var file_envoy_admin_v3_mutex_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
144 var file_envoy_admin_v3_mutex_stats_proto_goTypes = []interface{}{
145 (*MutexStats)(nil),
146 }
147 var file_envoy_admin_v3_mutex_stats_proto_depIdxs = []int32{
148 0,
149 0,
150 0,
151 0,
152 0,
153 }
154
155 func init() { file_envoy_admin_v3_mutex_stats_proto_init() }
156 func file_envoy_admin_v3_mutex_stats_proto_init() {
157 if File_envoy_admin_v3_mutex_stats_proto != nil {
158 return
159 }
160 if !protoimpl.UnsafeEnabled {
161 file_envoy_admin_v3_mutex_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
162 switch v := v.(*MutexStats); i {
163 case 0:
164 return &v.state
165 case 1:
166 return &v.sizeCache
167 case 2:
168 return &v.unknownFields
169 default:
170 return nil
171 }
172 }
173 }
174 type x struct{}
175 out := protoimpl.TypeBuilder{
176 File: protoimpl.DescBuilder{
177 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
178 RawDescriptor: file_envoy_admin_v3_mutex_stats_proto_rawDesc,
179 NumEnums: 0,
180 NumMessages: 1,
181 NumExtensions: 0,
182 NumServices: 0,
183 },
184 GoTypes: file_envoy_admin_v3_mutex_stats_proto_goTypes,
185 DependencyIndexes: file_envoy_admin_v3_mutex_stats_proto_depIdxs,
186 MessageInfos: file_envoy_admin_v3_mutex_stats_proto_msgTypes,
187 }.Build()
188 File_envoy_admin_v3_mutex_stats_proto = out.File
189 file_envoy_admin_v3_mutex_stats_proto_rawDesc = nil
190 file_envoy_admin_v3_mutex_stats_proto_goTypes = nil
191 file_envoy_admin_v3_mutex_stats_proto_depIdxs = nil
192 }
193
View as plain text