Package org.apache.spark.status.protobuf
Class StoreTypes.MemoryMetrics.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.MemoryMetrics.Builder>
org.apache.spark.status.protobuf.StoreTypes.MemoryMetrics.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.MemoryMetricsOrBuilder
- Enclosing class:
- StoreTypes.MemoryMetrics
public static final class StoreTypes.MemoryMetrics.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.MemoryMetrics.Builder>
implements StoreTypes.MemoryMetricsOrBuilder
Protobuf type
org.apache.spark.status.protobuf.MemoryMetrics
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) int64 total_off_heap_storage_memory = 4;
int64 total_on_heap_storage_memory = 3;
int64 used_off_heap_storage_memory = 2;
int64 used_on_heap_storage_memory = 1;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
int64 total_off_heap_storage_memory = 4;
long
int64 total_on_heap_storage_memory = 3;
long
int64 used_off_heap_storage_memory = 2;
long
int64 used_on_heap_storage_memory = 1;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTotalOffHeapStorageMemory
(long value) int64 total_off_heap_storage_memory = 4;
setTotalOnHeapStorageMemory
(long value) int64 total_on_heap_storage_memory = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUsedOffHeapStorageMemory
(long value) int64 used_off_heap_storage_memory = 2;
setUsedOnHeapStorageMemory
(long value) int64 used_on_heap_storage_memory = 1;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeFrom
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
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() -
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<StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
-
setField
public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
-
clearField
public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
-
clearOneof
public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
-
setRepeatedField
public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
-
addRepeatedField
public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.MemoryMetrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.MemoryMetrics.Builder>
-
mergeFrom
public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
- Throws:
IOException
-
getUsedOnHeapStorageMemory
public long getUsedOnHeapStorageMemory()int64 used_on_heap_storage_memory = 1;
- Specified by:
getUsedOnHeapStorageMemory
in interfaceStoreTypes.MemoryMetricsOrBuilder
- Returns:
- The usedOnHeapStorageMemory.
-
setUsedOnHeapStorageMemory
int64 used_on_heap_storage_memory = 1;
- Parameters:
value
- The usedOnHeapStorageMemory to set.- Returns:
- This builder for chaining.
-
clearUsedOnHeapStorageMemory
int64 used_on_heap_storage_memory = 1;
- Returns:
- This builder for chaining.
-
getUsedOffHeapStorageMemory
public long getUsedOffHeapStorageMemory()int64 used_off_heap_storage_memory = 2;
- Specified by:
getUsedOffHeapStorageMemory
in interfaceStoreTypes.MemoryMetricsOrBuilder
- Returns:
- The usedOffHeapStorageMemory.
-
setUsedOffHeapStorageMemory
int64 used_off_heap_storage_memory = 2;
- Parameters:
value
- The usedOffHeapStorageMemory to set.- Returns:
- This builder for chaining.
-
clearUsedOffHeapStorageMemory
int64 used_off_heap_storage_memory = 2;
- Returns:
- This builder for chaining.
-
getTotalOnHeapStorageMemory
public long getTotalOnHeapStorageMemory()int64 total_on_heap_storage_memory = 3;
- Specified by:
getTotalOnHeapStorageMemory
in interfaceStoreTypes.MemoryMetricsOrBuilder
- Returns:
- The totalOnHeapStorageMemory.
-
setTotalOnHeapStorageMemory
int64 total_on_heap_storage_memory = 3;
- Parameters:
value
- The totalOnHeapStorageMemory to set.- Returns:
- This builder for chaining.
-
clearTotalOnHeapStorageMemory
int64 total_on_heap_storage_memory = 3;
- Returns:
- This builder for chaining.
-
getTotalOffHeapStorageMemory
public long getTotalOffHeapStorageMemory()int64 total_off_heap_storage_memory = 4;
- Specified by:
getTotalOffHeapStorageMemory
in interfaceStoreTypes.MemoryMetricsOrBuilder
- Returns:
- The totalOffHeapStorageMemory.
-
setTotalOffHeapStorageMemory
int64 total_off_heap_storage_memory = 4;
- Parameters:
value
- The totalOffHeapStorageMemory to set.- Returns:
- This builder for chaining.
-
clearTotalOffHeapStorageMemory
int64 total_off_heap_storage_memory = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.MemoryMetrics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.MemoryMetrics.Builder>
-
mergeUnknownFields
public final StoreTypes.MemoryMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.MemoryMetrics.Builder>
-