public static final class Memory.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder> implements MemoryOrBuilder
Proto representation of the internal memory consumption of an Envoy instance. These represent values extracted from an internal TCMalloc instance. For more information, see the section of the docs entitled ["Generic Tcmalloc Status"](https://gperftools.github.io/gperftools/tcmalloc.html). [#next-free-field: 7]Protobuf type
envoy.admin.v3.Memory| Modifier and Type | Method and Description |
|---|---|
Memory.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Memory |
build() |
Memory |
buildPartial() |
Memory.Builder |
clear() |
Memory.Builder |
clearAllocated()
The number of bytes allocated by the heap for Envoy.
|
Memory.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Memory.Builder |
clearHeapSize()
The number of bytes reserved by the heap but not necessarily allocated.
|
Memory.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Memory.Builder |
clearPageheapFree()
The number of bytes in free, mapped pages in the page heap.
|
Memory.Builder |
clearPageheapUnmapped()
The number of bytes in free, unmapped pages in the page heap.
|
Memory.Builder |
clearTotalPhysicalBytes()
The number of bytes of the physical memory usage by the allocator.
|
Memory.Builder |
clearTotalThreadCache()
The amount of memory used by the TCMalloc thread caches (for small objects).
|
Memory.Builder |
clone() |
long |
getAllocated()
The number of bytes allocated by the heap for Envoy.
|
Memory |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getHeapSize()
The number of bytes reserved by the heap but not necessarily allocated.
|
long |
getPageheapFree()
The number of bytes in free, mapped pages in the page heap.
|
long |
getPageheapUnmapped()
The number of bytes in free, unmapped pages in the page heap.
|
long |
getTotalPhysicalBytes()
The number of bytes of the physical memory usage by the allocator.
|
long |
getTotalThreadCache()
The amount of memory used by the TCMalloc thread caches (for small objects).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Memory.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Memory.Builder |
mergeFrom(Memory other) |
Memory.Builder |
mergeFrom(com.google.protobuf.Message other) |
Memory.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Memory.Builder |
setAllocated(long value)
The number of bytes allocated by the heap for Envoy.
|
Memory.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Memory.Builder |
setHeapSize(long value)
The number of bytes reserved by the heap but not necessarily allocated.
|
Memory.Builder |
setPageheapFree(long value)
The number of bytes in free, mapped pages in the page heap.
|
Memory.Builder |
setPageheapUnmapped(long value)
The number of bytes in free, unmapped pages in the page heap.
|
Memory.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Memory.Builder |
setTotalPhysicalBytes(long value)
The number of bytes of the physical memory usage by the allocator.
|
Memory.Builder |
setTotalThreadCache(long value)
The amount of memory used by the TCMalloc thread caches (for small objects).
|
Memory.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Memory build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Memory buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Memory.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Memory.Builder>public Memory.Builder mergeFrom(Memory other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public Memory.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Memory.Builder>IOExceptionpublic long getAllocated()
The number of bytes allocated by the heap for Envoy. This is an alias for `generic.current_allocated_bytes`.
uint64 allocated = 1;getAllocated in interface MemoryOrBuilderpublic Memory.Builder setAllocated(long value)
The number of bytes allocated by the heap for Envoy. This is an alias for `generic.current_allocated_bytes`.
uint64 allocated = 1;public Memory.Builder clearAllocated()
The number of bytes allocated by the heap for Envoy. This is an alias for `generic.current_allocated_bytes`.
uint64 allocated = 1;public long getHeapSize()
The number of bytes reserved by the heap but not necessarily allocated. This is an alias for `generic.heap_size`.
uint64 heap_size = 2;getHeapSize in interface MemoryOrBuilderpublic Memory.Builder setHeapSize(long value)
The number of bytes reserved by the heap but not necessarily allocated. This is an alias for `generic.heap_size`.
uint64 heap_size = 2;public Memory.Builder clearHeapSize()
The number of bytes reserved by the heap but not necessarily allocated. This is an alias for `generic.heap_size`.
uint64 heap_size = 2;public long getPageheapUnmapped()
The number of bytes in free, unmapped pages in the page heap. These bytes always count towards virtual memory usage, and depending on the OS, typically do not count towards physical memory usage. This is an alias for `tcmalloc.pageheap_unmapped_bytes`.
uint64 pageheap_unmapped = 3;getPageheapUnmapped in interface MemoryOrBuilderpublic Memory.Builder setPageheapUnmapped(long value)
The number of bytes in free, unmapped pages in the page heap. These bytes always count towards virtual memory usage, and depending on the OS, typically do not count towards physical memory usage. This is an alias for `tcmalloc.pageheap_unmapped_bytes`.
uint64 pageheap_unmapped = 3;public Memory.Builder clearPageheapUnmapped()
The number of bytes in free, unmapped pages in the page heap. These bytes always count towards virtual memory usage, and depending on the OS, typically do not count towards physical memory usage. This is an alias for `tcmalloc.pageheap_unmapped_bytes`.
uint64 pageheap_unmapped = 3;public long getPageheapFree()
The number of bytes in free, mapped pages in the page heap. These bytes always count towards virtual memory usage, and unless the underlying memory is swapped out by the OS, they also count towards physical memory usage. This is an alias for `tcmalloc.pageheap_free_bytes`.
uint64 pageheap_free = 4;getPageheapFree in interface MemoryOrBuilderpublic Memory.Builder setPageheapFree(long value)
The number of bytes in free, mapped pages in the page heap. These bytes always count towards virtual memory usage, and unless the underlying memory is swapped out by the OS, they also count towards physical memory usage. This is an alias for `tcmalloc.pageheap_free_bytes`.
uint64 pageheap_free = 4;public Memory.Builder clearPageheapFree()
The number of bytes in free, mapped pages in the page heap. These bytes always count towards virtual memory usage, and unless the underlying memory is swapped out by the OS, they also count towards physical memory usage. This is an alias for `tcmalloc.pageheap_free_bytes`.
uint64 pageheap_free = 4;public long getTotalThreadCache()
The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias for `tcmalloc.current_total_thread_cache_bytes`.
uint64 total_thread_cache = 5;getTotalThreadCache in interface MemoryOrBuilderpublic Memory.Builder setTotalThreadCache(long value)
The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias for `tcmalloc.current_total_thread_cache_bytes`.
uint64 total_thread_cache = 5;public Memory.Builder clearTotalThreadCache()
The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias for `tcmalloc.current_total_thread_cache_bytes`.
uint64 total_thread_cache = 5;public long getTotalPhysicalBytes()
The number of bytes of the physical memory usage by the allocator. This is an alias for `generic.total_physical_bytes`.
uint64 total_physical_bytes = 6;getTotalPhysicalBytes in interface MemoryOrBuilderpublic Memory.Builder setTotalPhysicalBytes(long value)
The number of bytes of the physical memory usage by the allocator. This is an alias for `generic.total_physical_bytes`.
uint64 total_physical_bytes = 6;public Memory.Builder clearTotalPhysicalBytes()
The number of bytes of the physical memory usage by the allocator. This is an alias for `generic.total_physical_bytes`.
uint64 total_physical_bytes = 6;public final Memory.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>public final Memory.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Memory.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.