Class GetHeapInfoResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
io.deephaven.proto.backplane.script.grpc.GetHeapInfoResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GetHeapInfoResponseOrBuilder, Cloneable
Enclosing class:
GetHeapInfoResponse

public static final class GetHeapInfoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder> implements GetHeapInfoResponseOrBuilder
Protobuf type io.deephaven.proto.backplane.script.grpc.GetHeapInfoResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • getDefaultInstanceForType

      public GetHeapInfoResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GetHeapInfoResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GetHeapInfoResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • setField

      public GetHeapInfoResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • clearField

      public GetHeapInfoResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • clearOneof

      public GetHeapInfoResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • setRepeatedField

      public GetHeapInfoResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • addRepeatedField

      public GetHeapInfoResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • mergeFrom

      public GetHeapInfoResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetHeapInfoResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • mergeFrom

      public GetHeapInfoResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetHeapInfoResponse.Builder>
      Throws:
      IOException
    • getMaxMemory

      public long getMaxMemory()
       Returns the maximum amount of memory that the Java virtual machine will attempt to use.
       If there is no inherent limit then the value Long.MAX_VALUE will be returned.
       the maximum amount of memory that the virtual machine will attempt to use, measured in bytes
       
      int64 max_memory = 1 [jstype = JS_STRING];
      Specified by:
      getMaxMemory in interface GetHeapInfoResponseOrBuilder
      Returns:
      The maxMemory.
    • setMaxMemory

      public GetHeapInfoResponse.Builder setMaxMemory(long value)
       Returns the maximum amount of memory that the Java virtual machine will attempt to use.
       If there is no inherent limit then the value Long.MAX_VALUE will be returned.
       the maximum amount of memory that the virtual machine will attempt to use, measured in bytes
       
      int64 max_memory = 1 [jstype = JS_STRING];
      Parameters:
      value - The maxMemory to set.
      Returns:
      This builder for chaining.
    • clearMaxMemory

      public GetHeapInfoResponse.Builder clearMaxMemory()
       Returns the maximum amount of memory that the Java virtual machine will attempt to use.
       If there is no inherent limit then the value Long.MAX_VALUE will be returned.
       the maximum amount of memory that the virtual machine will attempt to use, measured in bytes
       
      int64 max_memory = 1 [jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • getTotalMemory

      public long getTotalMemory()
       Returns the total amount of memory in the Java virtual machine. The value returned by this method may vary over time, depending on the host environment.
       Note that the amount of memory required to hold an object of any given type may be implementation-dependent.
       the total amount of memory currently available for current and future objects, measured in bytes.
       
      int64 total_memory = 2 [jstype = JS_STRING];
      Specified by:
      getTotalMemory in interface GetHeapInfoResponseOrBuilder
      Returns:
      The totalMemory.
    • setTotalMemory

      public GetHeapInfoResponse.Builder setTotalMemory(long value)
       Returns the total amount of memory in the Java virtual machine. The value returned by this method may vary over time, depending on the host environment.
       Note that the amount of memory required to hold an object of any given type may be implementation-dependent.
       the total amount of memory currently available for current and future objects, measured in bytes.
       
      int64 total_memory = 2 [jstype = JS_STRING];
      Parameters:
      value - The totalMemory to set.
      Returns:
      This builder for chaining.
    • clearTotalMemory

      public GetHeapInfoResponse.Builder clearTotalMemory()
       Returns the total amount of memory in the Java virtual machine. The value returned by this method may vary over time, depending on the host environment.
       Note that the amount of memory required to hold an object of any given type may be implementation-dependent.
       the total amount of memory currently available for current and future objects, measured in bytes.
       
      int64 total_memory = 2 [jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • getFreeMemory

      public long getFreeMemory()
       Returns the amount of free memory in the Java Virtual Machine. Calling the gc method may result in increasing the value returned by freeMemory.
       an approximation to the total amount of memory currently available for future allocated objects, measured in bytes.
       
      int64 free_memory = 3 [jstype = JS_STRING];
      Specified by:
      getFreeMemory in interface GetHeapInfoResponseOrBuilder
      Returns:
      The freeMemory.
    • setFreeMemory

      public GetHeapInfoResponse.Builder setFreeMemory(long value)
       Returns the amount of free memory in the Java Virtual Machine. Calling the gc method may result in increasing the value returned by freeMemory.
       an approximation to the total amount of memory currently available for future allocated objects, measured in bytes.
       
      int64 free_memory = 3 [jstype = JS_STRING];
      Parameters:
      value - The freeMemory to set.
      Returns:
      This builder for chaining.
    • clearFreeMemory

      public GetHeapInfoResponse.Builder clearFreeMemory()
       Returns the amount of free memory in the Java Virtual Machine. Calling the gc method may result in increasing the value returned by freeMemory.
       an approximation to the total amount of memory currently available for future allocated objects, measured in bytes.
       
      int64 free_memory = 3 [jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GetHeapInfoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
    • mergeUnknownFields

      public final GetHeapInfoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>