Debian Codegraph @

envoy/extensions/watchdog/profile_action/v3/profile_action.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/extensions/watchdog/profile_action/v3/profile_action.proto
6
7 package profile_actionv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 durationpb "google.golang.org/protobuf/types/known/durationpb"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 // Configuration for the profile watchdog action.
27 type ProfileActionConfig struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // How long the profile should last. If not set defaults to 5 seconds.
33 ProfileDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=profile_duration,json=profileDuration,proto3" json:"profile_duration,omitempty"`
34 // File path to the directory to output profiles.
35 ProfilePath string `protobuf:"bytes,2,opt,name=profile_path,json=profilePath,proto3" json:"profile_path,omitempty"`
36 // Limits the max number of profiles that can be generated by this action
37 // over its lifetime to avoid filling the disk.
38 // If not set (i.e. it's 0), a default of 10 will be used.
39 MaxProfiles uint64 `protobuf:"varint,3,opt,name=max_profiles,json=maxProfiles,proto3" json:"max_profiles,omitempty"`
40 }
41
42 func (x *ProfileActionConfig) Reset() {
43 *x = ProfileActionConfig{}
44 if protoimpl.UnsafeEnabled {
45 mi := &file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_msgTypes[0]
46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
47 ms.StoreMessageInfo(mi)
48 }
49 }
50
51 func (x *ProfileActionConfig) String() string {
52 return protoimpl.X.MessageStringOf(x)
53 }
54
55 func (*ProfileActionConfig) ProtoMessage() {}
56
57 func (x *ProfileActionConfig) ProtoReflect() protoreflect.Message {
58 mi := &file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_msgTypes[0]
59 if protoimpl.UnsafeEnabled && x != nil {
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 if ms.LoadMessageInfo() == nil {
62 ms.StoreMessageInfo(mi)
63 }
64 return ms
65 }
66 return mi.MessageOf(x)
67 }
68
69 // Deprecated: Use ProfileActionConfig.ProtoReflect.Descriptor instead.
70 func (*ProfileActionConfig) Descriptor() ([]byte, []int) {
71 return file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDescGZIP(), []int{0}
72 }
73
74 func (x *ProfileActionConfig) GetProfileDuration() *durationpb.Duration {
75 if x != nil {
76 return x.ProfileDuration
77 }
78 return nil
79 }
80
81 func (x *ProfileActionConfig) GetProfilePath() string {
82 if x != nil {
83 return x.ProfilePath
84 }
85 return ""
86 }
87
88 func (x *ProfileActionConfig) GetMaxProfiles() uint64 {
89 if x != nil {
90 return x.MaxProfiles
91 }
92 return 0
93 }
94
95 var File_envoy_extensions_watchdog_profile_action_v3_profile_action_proto protoreflect.FileDescriptor
96
97 var file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDesc = []byte{
98 0x0a, 0x40, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
99 0x6e, 0x73, 0x2f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x66,
100 0x69, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72,
101 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
102 0x74, 0x6f, 0x12, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
103 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72,
104 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x1a,
105 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
106 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
107 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
108 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
109 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
110 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x66,
111 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
112 0x44, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74,
113 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
114 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61,
115 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x75, 0x72,
116 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
117 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
118 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74,
119 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
120 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x66,
121 0x69, 0x6c, 0x65, 0x73, 0x42, 0xbe, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a,
122 0x39, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
123 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
124 0x77, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
125 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x12, 0x50, 0x72, 0x6f, 0x66,
126 0x69, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
127 0x5a, 0x63, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76,
128 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72,
129 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65,
130 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x64,
131 0x6f, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f,
132 0x6e, 0x2f, 0x76, 0x33, 0x3b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x74,
133 0x69, 0x6f, 0x6e, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
134 }
135
136 var (
137 file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDescOnce sync.Once
138 file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDescData = file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDesc
139 )
140
141 func file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDescGZIP() []byte {
142 file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDescOnce.Do(func() {
143 file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDescData)
144 })
145 return file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDescData
146 }
147
148 var file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
149 var file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_goTypes = []interface{}{
150 (*ProfileActionConfig)(nil), // 0: envoy.extensions.watchdog.profile_action.v3.ProfileActionConfig
151 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
152 }
153 var file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_depIdxs = []int32{
154 1, // 0: envoy.extensions.watchdog.profile_action.v3.ProfileActionConfig.profile_duration:type_name -> google.protobuf.Duration
155 1, // [1:1] is the sub-list for method output_type
156 1, // [1:1] is the sub-list for method input_type
157 1, // [1:1] is the sub-list for extension type_name
158 1, // [1:1] is the sub-list for extension extendee
159 0, // [0:1] is the sub-list for field type_name
160 }
161
162 func init() { file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_init() }
163 func file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_init() {
164 if File_envoy_extensions_watchdog_profile_action_v3_profile_action_proto != nil {
165 return
166 }
167 if !protoimpl.UnsafeEnabled {
168 file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
169 switch v := v.(*ProfileActionConfig); 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_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDesc,
186 NumEnums: 0,
187 NumMessages: 1,
188 NumExtensions: 0,
189 NumServices: 0,
190 },
191 GoTypes: file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_goTypes,
192 DependencyIndexes: file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_depIdxs,
193 MessageInfos: file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_msgTypes,
194 }.Build()
195 File_envoy_extensions_watchdog_profile_action_v3_profile_action_proto = out.File
196 file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_rawDesc = nil
197 file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_goTypes = nil
198 file_envoy_extensions_watchdog_profile_action_v3_profile_action_proto_depIdxs = nil
199 }