...

Source file src/github.com/emissary-ingress/emissary/v3/pkg/api/envoy/admin/v2alpha/memory.pb.go

Documentation: github.com/emissary-ingress/emissary/v3/pkg/api/envoy/admin/v2alpha

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.21.12
     5  // source: envoy/admin/v2alpha/memory.proto
     6  
     7  package v2alpha
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  // Proto representation of the internal memory consumption of an Envoy instance. These represent
    25  // values extracted from an internal TCMalloc instance. For more information, see the section of the
    26  // docs entitled ["Generic Tcmalloc Status"](https://gperftools.github.io/gperftools/tcmalloc.html).
    27  // [#next-free-field: 7]
    28  type Memory struct {
    29  	state         protoimpl.MessageState
    30  	sizeCache     protoimpl.SizeCache
    31  	unknownFields protoimpl.UnknownFields
    32  
    33  	// The number of bytes allocated by the heap for Envoy. This is an alias for
    34  	// `generic.current_allocated_bytes`.
    35  	Allocated uint64 `protobuf:"varint,1,opt,name=allocated,proto3" json:"allocated,omitempty"`
    36  	// The number of bytes reserved by the heap but not necessarily allocated. This is an alias for
    37  	// `generic.heap_size`.
    38  	HeapSize uint64 `protobuf:"varint,2,opt,name=heap_size,json=heapSize,proto3" json:"heap_size,omitempty"`
    39  	// The number of bytes in free, unmapped pages in the page heap. These bytes always count towards
    40  	// virtual memory usage, and depending on the OS, typically do not count towards physical memory
    41  	// usage. This is an alias for `tcmalloc.pageheap_unmapped_bytes`.
    42  	PageheapUnmapped uint64 `protobuf:"varint,3,opt,name=pageheap_unmapped,json=pageheapUnmapped,proto3" json:"pageheap_unmapped,omitempty"`
    43  	// The number of bytes in free, mapped pages in the page heap. These bytes always count towards
    44  	// virtual memory usage, and unless the underlying memory is swapped out by the OS, they also
    45  	// count towards physical memory usage. This is an alias for `tcmalloc.pageheap_free_bytes`.
    46  	PageheapFree uint64 `protobuf:"varint,4,opt,name=pageheap_free,json=pageheapFree,proto3" json:"pageheap_free,omitempty"`
    47  	// The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias
    48  	// for `tcmalloc.current_total_thread_cache_bytes`.
    49  	TotalThreadCache uint64 `protobuf:"varint,5,opt,name=total_thread_cache,json=totalThreadCache,proto3" json:"total_thread_cache,omitempty"`
    50  	// The number of bytes of the physical memory usage by the allocator. This is an alias for
    51  	// `generic.total_physical_bytes`.
    52  	TotalPhysicalBytes uint64 `protobuf:"varint,6,opt,name=total_physical_bytes,json=totalPhysicalBytes,proto3" json:"total_physical_bytes,omitempty"`
    53  }
    54  
    55  func (x *Memory) Reset() {
    56  	*x = Memory{}
    57  	if protoimpl.UnsafeEnabled {
    58  		mi := &file_envoy_admin_v2alpha_memory_proto_msgTypes[0]
    59  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    60  		ms.StoreMessageInfo(mi)
    61  	}
    62  }
    63  
    64  func (x *Memory) String() string {
    65  	return protoimpl.X.MessageStringOf(x)
    66  }
    67  
    68  func (*Memory) ProtoMessage() {}
    69  
    70  func (x *Memory) ProtoReflect() protoreflect.Message {
    71  	mi := &file_envoy_admin_v2alpha_memory_proto_msgTypes[0]
    72  	if protoimpl.UnsafeEnabled && x != nil {
    73  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    74  		if ms.LoadMessageInfo() == nil {
    75  			ms.StoreMessageInfo(mi)
    76  		}
    77  		return ms
    78  	}
    79  	return mi.MessageOf(x)
    80  }
    81  
    82  // Deprecated: Use Memory.ProtoReflect.Descriptor instead.
    83  func (*Memory) Descriptor() ([]byte, []int) {
    84  	return file_envoy_admin_v2alpha_memory_proto_rawDescGZIP(), []int{0}
    85  }
    86  
    87  func (x *Memory) GetAllocated() uint64 {
    88  	if x != nil {
    89  		return x.Allocated
    90  	}
    91  	return 0
    92  }
    93  
    94  func (x *Memory) GetHeapSize() uint64 {
    95  	if x != nil {
    96  		return x.HeapSize
    97  	}
    98  	return 0
    99  }
   100  
   101  func (x *Memory) GetPageheapUnmapped() uint64 {
   102  	if x != nil {
   103  		return x.PageheapUnmapped
   104  	}
   105  	return 0
   106  }
   107  
   108  func (x *Memory) GetPageheapFree() uint64 {
   109  	if x != nil {
   110  		return x.PageheapFree
   111  	}
   112  	return 0
   113  }
   114  
   115  func (x *Memory) GetTotalThreadCache() uint64 {
   116  	if x != nil {
   117  		return x.TotalThreadCache
   118  	}
   119  	return 0
   120  }
   121  
   122  func (x *Memory) GetTotalPhysicalBytes() uint64 {
   123  	if x != nil {
   124  		return x.TotalPhysicalBytes
   125  	}
   126  	return 0
   127  }
   128  
   129  var File_envoy_admin_v2alpha_memory_proto protoreflect.FileDescriptor
   130  
   131  var file_envoy_admin_v2alpha_memory_proto_rawDesc = []byte{
   132  	0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32,
   133  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f,
   134  	0x74, 0x6f, 0x12, 0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
   135  	0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
   136  	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
   137  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x01, 0x0a, 0x06, 0x4d, 0x65, 0x6d, 0x6f, 0x72,
   138  	0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01,
   139  	0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12,
   140  	0x1b, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
   141  	0x28, 0x04, 0x52, 0x08, 0x68, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x0a, 0x11,
   142  	0x70, 0x61, 0x67, 0x65, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x75, 0x6e, 0x6d, 0x61, 0x70, 0x70, 0x65,
   143  	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x70, 0x61, 0x67, 0x65, 0x68, 0x65, 0x61,
   144  	0x70, 0x55, 0x6e, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x67,
   145  	0x65, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
   146  	0x52, 0x0c, 0x70, 0x61, 0x67, 0x65, 0x68, 0x65, 0x61, 0x70, 0x46, 0x72, 0x65, 0x65, 0x12, 0x2c,
   147  	0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x63,
   148  	0x61, 0x63, 0x68, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61,
   149  	0x6c, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x30, 0x0a, 0x14,
   150  	0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x62,
   151  	0x79, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x74, 0x6f, 0x74, 0x61,
   152  	0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x42, 0x76,
   153  	0x0a, 0x21, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
   154  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c,
   155  	0x70, 0x68, 0x61, 0x42, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
   156  	0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65,
   157  	0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e,
   158  	0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   159  	0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xba, 0x80,
   160  	0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   161  }
   162  
   163  var (
   164  	file_envoy_admin_v2alpha_memory_proto_rawDescOnce sync.Once
   165  	file_envoy_admin_v2alpha_memory_proto_rawDescData = file_envoy_admin_v2alpha_memory_proto_rawDesc
   166  )
   167  
   168  func file_envoy_admin_v2alpha_memory_proto_rawDescGZIP() []byte {
   169  	file_envoy_admin_v2alpha_memory_proto_rawDescOnce.Do(func() {
   170  		file_envoy_admin_v2alpha_memory_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v2alpha_memory_proto_rawDescData)
   171  	})
   172  	return file_envoy_admin_v2alpha_memory_proto_rawDescData
   173  }
   174  
   175  var file_envoy_admin_v2alpha_memory_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   176  var file_envoy_admin_v2alpha_memory_proto_goTypes = []interface{}{
   177  	(*Memory)(nil), // 0: envoy.admin.v2alpha.Memory
   178  }
   179  var file_envoy_admin_v2alpha_memory_proto_depIdxs = []int32{
   180  	0, // [0:0] is the sub-list for method output_type
   181  	0, // [0:0] is the sub-list for method input_type
   182  	0, // [0:0] is the sub-list for extension type_name
   183  	0, // [0:0] is the sub-list for extension extendee
   184  	0, // [0:0] is the sub-list for field type_name
   185  }
   186  
   187  func init() { file_envoy_admin_v2alpha_memory_proto_init() }
   188  func file_envoy_admin_v2alpha_memory_proto_init() {
   189  	if File_envoy_admin_v2alpha_memory_proto != nil {
   190  		return
   191  	}
   192  	if !protoimpl.UnsafeEnabled {
   193  		file_envoy_admin_v2alpha_memory_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   194  			switch v := v.(*Memory); i {
   195  			case 0:
   196  				return &v.state
   197  			case 1:
   198  				return &v.sizeCache
   199  			case 2:
   200  				return &v.unknownFields
   201  			default:
   202  				return nil
   203  			}
   204  		}
   205  	}
   206  	type x struct{}
   207  	out := protoimpl.TypeBuilder{
   208  		File: protoimpl.DescBuilder{
   209  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   210  			RawDescriptor: file_envoy_admin_v2alpha_memory_proto_rawDesc,
   211  			NumEnums:      0,
   212  			NumMessages:   1,
   213  			NumExtensions: 0,
   214  			NumServices:   0,
   215  		},
   216  		GoTypes:           file_envoy_admin_v2alpha_memory_proto_goTypes,
   217  		DependencyIndexes: file_envoy_admin_v2alpha_memory_proto_depIdxs,
   218  		MessageInfos:      file_envoy_admin_v2alpha_memory_proto_msgTypes,
   219  	}.Build()
   220  	File_envoy_admin_v2alpha_memory_proto = out.File
   221  	file_envoy_admin_v2alpha_memory_proto_rawDesc = nil
   222  	file_envoy_admin_v2alpha_memory_proto_goTypes = nil
   223  	file_envoy_admin_v2alpha_memory_proto_depIdxs = nil
   224  }
   225  

View as plain text