github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/config/resource_monitor/fixed_heap/v2alpha/fixed_heap.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/config/resource_monitor/fixed_heap/v2alpha/fixed_heap.proto 6 7 package envoy_config_resource_monitor_fixed_heap_v2alpha 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 // This is a compile-time assertion that a sufficiently up-to-date version 27 // of the legacy proto package is being used. 28 const _ = proto.ProtoPackageIsVersion4 29 30 // The fixed heap resource monitor reports the Envoy process memory pressure, computed as a 31 // fraction of currently reserved heap memory divided by a statically configured maximum 32 // specified in the FixedHeapConfig. 33 type FixedHeapConfig struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 MaxHeapSizeBytes uint64 `protobuf:"varint,1,opt,name=max_heap_size_bytes,json=maxHeapSizeBytes,proto3" json:"max_heap_size_bytes,omitempty"` 39 } 40 41 func (x *FixedHeapConfig) Reset() { 42 *x = FixedHeapConfig{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *FixedHeapConfig) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*FixedHeapConfig) ProtoMessage() {} 55 56 func (x *FixedHeapConfig) ProtoReflect() protoreflect.Message { 57 mi := &file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use FixedHeapConfig.ProtoReflect.Descriptor instead. 69 func (*FixedHeapConfig) Descriptor() ([]byte, []int) { 70 return file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *FixedHeapConfig) GetMaxHeapSizeBytes() uint64 { 74 if x != nil { 75 return x.MaxHeapSizeBytes 76 } 77 return 0 78 } 79 80 var File_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto protoreflect.FileDescriptor 81 82 var file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDesc = []byte{ 83 0x0a, 0x41, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 84 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, 85 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 86 0x68, 0x61, 0x2f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2e, 0x70, 0x72, 87 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 88 0x67, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 89 0x6f, 0x72, 0x2e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2e, 0x76, 0x32, 90 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 91 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 92 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 93 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 94 0x0f, 0x46, 0x69, 0x78, 0x65, 0x64, 0x48, 0x65, 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 95 0x12, 0x36, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 96 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x07, 0xfa, 97 0x42, 0x04, 0x32, 0x02, 0x20, 0x00, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61, 0x70, 0x53, 98 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x42, 0x5a, 0x0a, 0x3e, 0x69, 0x6f, 0x2e, 0x65, 99 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 100 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 101 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 102 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0e, 0x46, 0x69, 0x78, 0x65, 103 0x64, 0x48, 0x65, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 104 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 105 } 106 107 var ( 108 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescOnce sync.Once 109 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescData = file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDesc 110 ) 111 112 func file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescGZIP() []byte { 113 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescOnce.Do(func() { 114 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) 115 }) 116 return file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDescData 117 } 118 119 var file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 120 var file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_goTypes = []interface{}{ 121 (*FixedHeapConfig)(nil), // 0: envoy.config.resource_monitor.fixed_heap.v2alpha.FixedHeapConfig 122 } 123 var file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_depIdxs = []int32{ 124 0, // [0:0] is the sub-list for method output_type 125 0, // [0:0] is the sub-list for method input_type 126 0, // [0:0] is the sub-list for extension type_name 127 0, // [0:0] is the sub-list for extension extendee 128 0, // [0:0] is the sub-list for field type_name 129 } 130 131 func init() { file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_init() } 132 func file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_init() { 133 if File_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto != nil { 134 return 135 } 136 if !protoimpl.UnsafeEnabled { 137 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 138 switch v := v.(*FixedHeapConfig); i { 139 case 0: 140 return &v.state 141 case 1: 142 return &v.sizeCache 143 case 2: 144 return &v.unknownFields 145 default: 146 return nil 147 } 148 } 149 } 150 type x struct{} 151 out := protoimpl.TypeBuilder{ 152 File: protoimpl.DescBuilder{ 153 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 154 RawDescriptor: file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDesc, 155 NumEnums: 0, 156 NumMessages: 1, 157 NumExtensions: 0, 158 NumServices: 0, 159 }, 160 GoTypes: file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_goTypes, 161 DependencyIndexes: file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_depIdxs, 162 MessageInfos: file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_msgTypes, 163 }.Build() 164 File_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto = out.File 165 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_rawDesc = nil 166 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_goTypes = nil 167 file_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto_depIdxs = nil 168 }