Class StoreTypes.RDDPartitionInfo

Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.spark.status.protobuf.StoreTypes.RDDPartitionInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, StoreTypes.RDDPartitionInfoOrBuilder
Enclosing class:
StoreTypes

public static final class StoreTypes.RDDPartitionInfo extends com.google.protobuf.GeneratedMessageV3 implements StoreTypes.RDDPartitionInfoOrBuilder
Protobuf type org.apache.spark.status.protobuf.RDDPartitionInfo
See Also:
  • Field Details

    • BLOCK_NAME_FIELD_NUMBER

      public static final int BLOCK_NAME_FIELD_NUMBER
      See Also:
    • STORAGE_LEVEL_FIELD_NUMBER

      public static final int STORAGE_LEVEL_FIELD_NUMBER
      See Also:
    • MEMORY_USED_FIELD_NUMBER

      public static final int MEMORY_USED_FIELD_NUMBER
      See Also:
    • DISK_USED_FIELD_NUMBER

      public static final int DISK_USED_FIELD_NUMBER
      See Also:
    • EXECUTORS_FIELD_NUMBER

      public static final int EXECUTORS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      public boolean hasBlockName()
      optional string block_name = 1;
      Specified by:
      hasBlockName in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      Whether the blockName field is set.
    • getBlockName

      public String getBlockName()
      optional string block_name = 1;
      Specified by:
      getBlockName in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      The blockName.
    • getBlockNameBytes

      public com.google.protobuf.ByteString getBlockNameBytes()
      optional string block_name = 1;
      Specified by:
      getBlockNameBytes in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      The bytes for blockName.
    • hasStorageLevel

      public boolean hasStorageLevel()
      optional string storage_level = 2;
      Specified by:
      hasStorageLevel in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      Whether the storageLevel field is set.
    • getStorageLevel

      public String getStorageLevel()
      optional string storage_level = 2;
      Specified by:
      getStorageLevel in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      The storageLevel.
    • getStorageLevelBytes

      public com.google.protobuf.ByteString getStorageLevelBytes()
      optional string storage_level = 2;
      Specified by:
      getStorageLevelBytes in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      The bytes for storageLevel.
    • getMemoryUsed

      public long getMemoryUsed()
      int64 memory_used = 3;
      Specified by:
      getMemoryUsed in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      The memoryUsed.
    • getDiskUsed

      public long getDiskUsed()
      int64 disk_used = 4;
      Specified by:
      getDiskUsed in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      The diskUsed.
    • getExecutorsList

      public com.google.protobuf.ProtocolStringList getExecutorsList()
      repeated string executors = 5;
      Specified by:
      getExecutorsList in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      A list containing the executors.
    • getExecutorsCount

      public int getExecutorsCount()
      repeated string executors = 5;
      Specified by:
      getExecutorsCount in interface StoreTypes.RDDPartitionInfoOrBuilder
      Returns:
      The count of executors.
    • getExecutors

      public String getExecutors(int index)
      repeated string executors = 5;
      Specified by:
      getExecutors in interface StoreTypes.RDDPartitionInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The executors at the given index.
    • getExecutorsBytes

      public com.google.protobuf.ByteString getExecutorsBytes(int index)
      repeated string executors = 5;
      Specified by:
      getExecutorsBytes in interface StoreTypes.RDDPartitionInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the executors at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 StoreTypes.RDDPartitionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static StoreTypes.RDDPartitionInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static StoreTypes.RDDPartitionInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static StoreTypes.RDDPartitionInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getDefaultInstance

      public static StoreTypes.RDDPartitionInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<StoreTypes.RDDPartitionInfo> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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