1
2
3
4
5
6
7 package envoy_admin_v4alpha
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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_mutex_stats_proto protoreflect.FileDescriptor
103
104 var file_envoy_admin_v4alpha_mutex_stats_proto_rawDesc = []byte{
105 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x34,
106 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x75, 0x74, 0x65, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74,
107 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
108 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1d, 0x75, 0x64,
109 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
110 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70,
111 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65,
112 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9,
113 0x01, 0x0a, 0x0a, 0x4d, 0x75, 0x74, 0x65, 0x78, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x27, 0x0a,
114 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73,
115 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x65,
116 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
117 0x74, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20,
118 0x01, 0x28, 0x04, 0x52, 0x11, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x69, 0x74,
119 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69,
120 0x6d, 0x65, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x03,
121 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x57, 0x61,
122 0x69, 0x74, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x3a, 0x20, 0x9a, 0xc5, 0x88, 0x1e, 0x1b, 0x0a,
123 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e,
124 0x4d, 0x75, 0x74, 0x65, 0x78, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x3e, 0x0a, 0x21, 0x69, 0x6f,
125 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
126 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42,
127 0x0f, 0x4d, 0x75, 0x74, 0x65, 0x78, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
128 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
129 0x6f, 0x33,
130 }
131
132 var (
133 file_envoy_admin_v4alpha_mutex_stats_proto_rawDescOnce sync.Once
134 file_envoy_admin_v4alpha_mutex_stats_proto_rawDescData = file_envoy_admin_v4alpha_mutex_stats_proto_rawDesc
135 )
136
137 func file_envoy_admin_v4alpha_mutex_stats_proto_rawDescGZIP() []byte {
138 file_envoy_admin_v4alpha_mutex_stats_proto_rawDescOnce.Do(func() {
139 file_envoy_admin_v4alpha_mutex_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v4alpha_mutex_stats_proto_rawDescData)
140 })
141 return file_envoy_admin_v4alpha_mutex_stats_proto_rawDescData
142 }
143
144 var file_envoy_admin_v4alpha_mutex_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
145 var file_envoy_admin_v4alpha_mutex_stats_proto_goTypes = []interface{}{
146 (*MutexStats)(nil),
147 }
148 var file_envoy_admin_v4alpha_mutex_stats_proto_depIdxs = []int32{
149 0,
150 0,
151 0,
152 0,
153 0,
154 }
155
156 func init() { file_envoy_admin_v4alpha_mutex_stats_proto_init() }
157 func file_envoy_admin_v4alpha_mutex_stats_proto_init() {
158 if File_envoy_admin_v4alpha_mutex_stats_proto != nil {
159 return
160 }
161 if !protoimpl.UnsafeEnabled {
162 file_envoy_admin_v4alpha_mutex_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
163 switch v := v.(*MutexStats); i {
164 case 0:
165 return &v.state
166 case 1:
167 return &v.sizeCache
168 case 2:
169 return &v.unknownFields
170 default:
171 return nil
172 }
173 }
174 }
175 type x struct{}
176 out := protoimpl.TypeBuilder{
177 File: protoimpl.DescBuilder{
178 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
179 RawDescriptor: file_envoy_admin_v4alpha_mutex_stats_proto_rawDesc,
180 NumEnums: 0,
181 NumMessages: 1,
182 NumExtensions: 0,
183 NumServices: 0,
184 },
185 GoTypes: file_envoy_admin_v4alpha_mutex_stats_proto_goTypes,
186 DependencyIndexes: file_envoy_admin_v4alpha_mutex_stats_proto_depIdxs,
187 MessageInfos: file_envoy_admin_v4alpha_mutex_stats_proto_msgTypes,
188 }.Build()
189 File_envoy_admin_v4alpha_mutex_stats_proto = out.File
190 file_envoy_admin_v4alpha_mutex_stats_proto_rawDesc = nil
191 file_envoy_admin_v4alpha_mutex_stats_proto_goTypes = nil
192 file_envoy_admin_v4alpha_mutex_stats_proto_depIdxs = nil
193 }
194
View as plain text