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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • 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<StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
    • getDefaultInstanceForType

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

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

      public StoreTypes.MemoryMetrics 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<StoreTypes.MemoryMetrics.Builder>
    • setField

      public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
    • clearField

      public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
    • clearOneof

      public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
    • setRepeatedField

      public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
    • addRepeatedField

      public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>
    • mergeFrom

      public StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.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<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 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<StoreTypes.MemoryMetrics.Builder>
      Throws:
      IOException
    • getUsedOnHeapStorageMemory

      public long getUsedOnHeapStorageMemory()
      int64 used_on_heap_storage_memory = 1;
      Specified by:
      getUsedOnHeapStorageMemory in interface StoreTypes.MemoryMetricsOrBuilder
      Returns:
      The usedOnHeapStorageMemory.
    • setUsedOnHeapStorageMemory

      public StoreTypes.MemoryMetrics.Builder setUsedOnHeapStorageMemory(long value)
      int64 used_on_heap_storage_memory = 1;
      Parameters:
      value - The usedOnHeapStorageMemory to set.
      Returns:
      This builder for chaining.
    • clearUsedOnHeapStorageMemory

      public StoreTypes.MemoryMetrics.Builder 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 interface StoreTypes.MemoryMetricsOrBuilder
      Returns:
      The usedOffHeapStorageMemory.
    • setUsedOffHeapStorageMemory

      public StoreTypes.MemoryMetrics.Builder setUsedOffHeapStorageMemory(long value)
      int64 used_off_heap_storage_memory = 2;
      Parameters:
      value - The usedOffHeapStorageMemory to set.
      Returns:
      This builder for chaining.
    • clearUsedOffHeapStorageMemory

      public StoreTypes.MemoryMetrics.Builder 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 interface StoreTypes.MemoryMetricsOrBuilder
      Returns:
      The totalOnHeapStorageMemory.
    • setTotalOnHeapStorageMemory

      public StoreTypes.MemoryMetrics.Builder setTotalOnHeapStorageMemory(long value)
      int64 total_on_heap_storage_memory = 3;
      Parameters:
      value - The totalOnHeapStorageMemory to set.
      Returns:
      This builder for chaining.
    • clearTotalOnHeapStorageMemory

      public StoreTypes.MemoryMetrics.Builder 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 interface StoreTypes.MemoryMetricsOrBuilder
      Returns:
      The totalOffHeapStorageMemory.
    • setTotalOffHeapStorageMemory

      public StoreTypes.MemoryMetrics.Builder setTotalOffHeapStorageMemory(long value)
      int64 total_off_heap_storage_memory = 4;
      Parameters:
      value - The totalOffHeapStorageMemory to set.
      Returns:
      This builder for chaining.
    • clearTotalOffHeapStorageMemory

      public StoreTypes.MemoryMetrics.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.MemoryMetrics.Builder>
    • mergeUnknownFields

      public final StoreTypes.MemoryMetrics.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<StoreTypes.MemoryMetrics.Builder>