Class MemoryAllocatorManager

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MemoryAllocatorManagerOrBuilder, Serializable

public final class MemoryAllocatorManager extends com.google.protobuf.GeneratedMessage implements MemoryAllocatorManagerOrBuilder
Protobuf type envoy.config.bootstrap.v3.MemoryAllocatorManager
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • BYTES_TO_RELEASE_FIELD_NUMBER

      public static final int BYTES_TO_RELEASE_FIELD_NUMBER
      See Also:
    • bytesToRelease_

      private long bytesToRelease_
    • MEMORY_RELEASE_INTERVAL_FIELD_NUMBER

      public static final int MEMORY_RELEASE_INTERVAL_FIELD_NUMBER
      See Also:
    • memoryReleaseInterval_

      private com.google.protobuf.Duration memoryReleaseInterval_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final MemoryAllocatorManager DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<MemoryAllocatorManager> PARSER
  • Constructor Details

    • MemoryAllocatorManager

      private MemoryAllocatorManager(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • MemoryAllocatorManager

      private MemoryAllocatorManager()
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getBytesToRelease

      public long getBytesToRelease()
       Configures tcmalloc to perform background release of free memory in amount of bytes per ``memory_release_interval`` interval.
       If equals to ``0``, no memory release will occur. Defaults to ``0``.
       
      uint64 bytes_to_release = 1;
      Specified by:
      getBytesToRelease in interface MemoryAllocatorManagerOrBuilder
      Returns:
      The bytesToRelease.
    • hasMemoryReleaseInterval

      public boolean hasMemoryReleaseInterval()
       Interval in milliseconds for memory releasing. If specified, during every
       interval Envoy will try to release ``bytes_to_release`` of free memory back to operating system for reuse.
       Defaults to 1000 milliseconds.
       
      .google.protobuf.Duration memory_release_interval = 2;
      Specified by:
      hasMemoryReleaseInterval in interface MemoryAllocatorManagerOrBuilder
      Returns:
      Whether the memoryReleaseInterval field is set.
    • getMemoryReleaseInterval

      public com.google.protobuf.Duration getMemoryReleaseInterval()
       Interval in milliseconds for memory releasing. If specified, during every
       interval Envoy will try to release ``bytes_to_release`` of free memory back to operating system for reuse.
       Defaults to 1000 milliseconds.
       
      .google.protobuf.Duration memory_release_interval = 2;
      Specified by:
      getMemoryReleaseInterval in interface MemoryAllocatorManagerOrBuilder
      Returns:
      The memoryReleaseInterval.
    • getMemoryReleaseIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getMemoryReleaseIntervalOrBuilder()
       Interval in milliseconds for memory releasing. If specified, during every
       interval Envoy will try to release ``bytes_to_release`` of free memory back to operating system for reuse.
       Defaults to 1000 milliseconds.
       
      .google.protobuf.Duration memory_release_interval = 2;
      Specified by:
      getMemoryReleaseIntervalOrBuilder in interface MemoryAllocatorManagerOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MemoryAllocatorManager parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MemoryAllocatorManager parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MemoryAllocatorManager parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MemoryAllocatorManager parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MemoryAllocatorManager.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MemoryAllocatorManager.Builder newBuilder()
    • newBuilder

      public static MemoryAllocatorManager.Builder newBuilder(MemoryAllocatorManager prototype)
    • toBuilder

      public MemoryAllocatorManager.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MemoryAllocatorManager.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static MemoryAllocatorManager getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MemoryAllocatorManager> parser()
    • getParserForType

      public com.google.protobuf.Parser<MemoryAllocatorManager> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public MemoryAllocatorManager getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder