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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Returns the amount of free memory in the Java Virtual Machine.Returns the maximum amount of memory that the Java virtual machine will attempt to use.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Returns the total amount of memory in the Java virtual machine.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
Returns the amount of free memory in the Java Virtual Machine.long
Returns the maximum amount of memory that the Java virtual machine will attempt to use.long
Returns the total amount of memory in the Java virtual machine.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(GetHeapInfoResponse other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setFreeMemory
(long value) Returns the amount of free memory in the Java Virtual Machine.setMaxMemory
(long value) Returns the maximum amount of memory that the Java virtual machine will attempt to use.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTotalMemory
(long value) Returns the total amount of memory in the Java virtual machine.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
setField
public GetHeapInfoResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
clearField
public GetHeapInfoResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
clearOneof
public GetHeapInfoResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
addRepeatedField
public GetHeapInfoResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetHeapInfoResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceGetHeapInfoResponseOrBuilder
- Returns:
- The maxMemory.
-
setMaxMemory
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
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 interfaceGetHeapInfoResponseOrBuilder
- Returns:
- The totalMemory.
-
setTotalMemory
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
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 interfaceGetHeapInfoResponseOrBuilder
- Returns:
- The freeMemory.
-
setFreeMemory
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
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-
mergeUnknownFields
public final GetHeapInfoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetHeapInfoResponse.Builder>
-