github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/resource_monitors/fixed_heap/v3/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/extensions/resource_monitors/fixed_heap/v3/fixed_heap.proto 6 7 package envoy_extensions_resource_monitors_fixed_heap_v3 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_extensions_resource_monitors_fixed_heap_v3_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_extensions_resource_monitors_fixed_heap_v3_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_extensions_resource_monitors_fixed_heap_v3_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_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto protoreflect.FileDescriptor 81 82 var file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDesc = []byte{ 83 0x0a, 0x41, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 84 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 85 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2f, 86 0x76, 0x33, 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, 0x65, 0x78, 0x74, 0x65, 0x6e, 88 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 89 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 90 0x61, 0x70, 0x2e, 0x76, 0x33, 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, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 93 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 94 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 95 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 96 0x22, 0x92, 0x01, 0x0a, 0x0f, 0x46, 0x69, 0x78, 0x65, 0x64, 0x48, 0x65, 0x61, 0x70, 0x43, 0x6f, 97 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x61, 0x70, 98 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 99 0x04, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x32, 0x02, 0x20, 0x00, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x48, 100 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x3a, 0x47, 0x9a, 0xc5, 101 0x88, 0x1e, 0x42, 0x0a, 0x40, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 102 0x67, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 103 0x6f, 0x72, 0x2e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x70, 0x2e, 0x76, 0x32, 104 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x48, 0x65, 0x61, 0x70, 0x43, 105 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x5a, 0x0a, 0x3e, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 106 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 107 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 108 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 109 0x68, 0x65, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x48, 0x65, 110 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 111 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 112 } 113 114 var ( 115 file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDescOnce sync.Once 116 file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDescData = file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDesc 117 ) 118 119 func file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDescGZIP() []byte { 120 file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDescOnce.Do(func() { 121 file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDescData) 122 }) 123 return file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDescData 124 } 125 126 var file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 127 var file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_goTypes = []interface{}{ 128 (*FixedHeapConfig)(nil), // 0: envoy.extensions.resource_monitors.fixed_heap.v3.FixedHeapConfig 129 } 130 var file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_depIdxs = []int32{ 131 0, // [0:0] is the sub-list for method output_type 132 0, // [0:0] is the sub-list for method input_type 133 0, // [0:0] is the sub-list for extension type_name 134 0, // [0:0] is the sub-list for extension extendee 135 0, // [0:0] is the sub-list for field type_name 136 } 137 138 func init() { file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_init() } 139 func file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_init() { 140 if File_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto != nil { 141 return 142 } 143 if !protoimpl.UnsafeEnabled { 144 file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 145 switch v := v.(*FixedHeapConfig); i { 146 case 0: 147 return &v.state 148 case 1: 149 return &v.sizeCache 150 case 2: 151 return &v.unknownFields 152 default: 153 return nil 154 } 155 } 156 } 157 type x struct{} 158 out := protoimpl.TypeBuilder{ 159 File: protoimpl.DescBuilder{ 160 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 161 RawDescriptor: file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDesc, 162 NumEnums: 0, 163 NumMessages: 1, 164 NumExtensions: 0, 165 NumServices: 0, 166 }, 167 GoTypes: file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_goTypes, 168 DependencyIndexes: file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_depIdxs, 169 MessageInfos: file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_msgTypes, 170 }.Build() 171 File_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto = out.File 172 file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_rawDesc = nil 173 file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_goTypes = nil 174 file_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto_depIdxs = nil 175 }