...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/admin/v4alpha/memory.pb.go

Documentation: github.com/datawire/ambassador/v2/pkg/api/envoy/admin/v4alpha

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

View as plain text