Debian Codegraph @

envoy/config/resource_monitor/fixed_heap/v2alpha/fixed_heap.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/config/resource_monitor/fixed_heap/v2alpha/fixed_heap.proto
6
7 package v2alpha
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 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // The fixed heap resource monitor reports the Envoy process memory pressure, computed as a
26 // fraction of currently reserved heap memory divided by a statically configured maximum
27 // specified in the FixedHeapConfig.
28 type FixedHeapConfig struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 MaxHeapSizeBytes uint64 `protobuf:"varint,1,opt,name=max_heap_size_bytes,json=maxHeapSizeBytes,proto3" json:"max_heap_size_bytes,omitempty"`
34 }
35
36 func (x *FixedHeapConfig) Reset() {
37 *x = FixedHeapConfig{}
38 if protoimpl.UnsafeEnabled {
39 mi := &file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes[0]
40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41 ms.StoreMessageInfo(mi)
42 }
43 }
44
45 func (x *FixedHeapConfig) String() string {
46 return protoimpl.X.MessageStringOf(x)
47 }
48
49 func (*FixedHeapConfig) ProtoMessage() {}
50
51 func (x *FixedHeapConfig) ProtoReflect() protoreflect.Message {
52 mi := &file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_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 FixedHeapConfig.ProtoReflect.Descriptor instead.
64 func (*FixedHeapConfig) Descriptor() ([]byte, []int) {
65 return file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescGZIP(), []int{0}
66 }
67
68 func (x *FixedHeapConfig) GetMaxHeapSizeBytes() uint64 {
69 if x != nil {
70 return x.MaxHeapSizeBytes
71 }
72 return 0
73 }
74
75 var File_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto protoreflect.FileDescriptor
76
77 var file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDesc = []byte{
78 0x0a, 0x41, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72,
79 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f,
80 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70,
81 0x68, 0x61, 0x2f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2e, 0x70, 0x72,
82 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
83 0x67, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74,
84 0x6f, 0x72, 0x2e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2e, 0x76, 0x32,
85 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
86 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
87 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
88 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a,
89 0x0f, 0x46, 0x69, 0x78, 0x65, 0x64, 0x48, 0x65, 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
90 0x12, 0x36, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a,
91 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x07, 0xfa,
92 0x42, 0x04, 0x32, 0x02, 0x20, 0x00, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53,
93 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x42, 0xb3, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06,
94 0x02, 0x10, 0x02, 0x0a, 0x3e, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
95 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
96 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
97 0x2e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c,
98 0x70, 0x68, 0x61, 0x42, 0x0e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x48, 0x65, 0x61, 0x70, 0x50, 0x72,
99 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
100 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d,
101 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e,
102 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
103 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, 0x66, 0x69, 0x78, 0x65,
104 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06,
105 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
106 }
107
108 var (
109 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescOnce sync.Once
110 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescData = file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDesc
111 )
112
113 func file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescGZIP() []byte {
114 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescOnce.Do(func() {
115 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescData)
116 })
117 return file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescData
118 }
119
120 var file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
121 var file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_goTypes = []interface{}{
122 (*FixedHeapConfig)(nil), // 0: envoy.config.resource_monitor.fixed_heap.v2alpha.FixedHeapConfig
123 }
124 var file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_depIdxs = []int32{
125 0, // [0:0] is the sub-list for method output_type
126 0, // [0:0] is the sub-list for method input_type
127 0, // [0:0] is the sub-list for extension type_name
128 0, // [0:0] is the sub-list for extension extendee
129 0, // [0:0] is the sub-list for field type_name
130 }
131
132 func init() { file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_init() }
133 func file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_init() {
134 if File_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto != nil {
135 return
136 }
137 if !protoimpl.UnsafeEnabled {
138 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
139 switch v := v.(*FixedHeapConfig); i {
140 case 0:
141 return &v.state
142 case 1:
143 return &v.sizeCache
144 case 2:
145 return &v.unknownFields
146 default:
147 return nil
148 }
149 }
150 }
151 type x struct{}
152 out := protoimpl.TypeBuilder{
153 File: protoimpl.DescBuilder{
154 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
155 RawDescriptor: file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDesc,
156 NumEnums: 0,
157 NumMessages: 1,
158 NumExtensions: 0,
159 NumServices: 0,
160 },
161 GoTypes: file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_goTypes,
162 DependencyIndexes: file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_depIdxs,
163 MessageInfos: file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes,
164 }.Build()
165 File_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto = out.File
166 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDesc = nil
167 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_goTypes = nil
168 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_depIdxs = nil
169 }