Class StoreTypes.ExecutorMetrics

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

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

  • Method Details

    • getDescriptor

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

      public int getMetricsCount()
      Description copied from interface: StoreTypes.ExecutorMetricsOrBuilder
      map<string, int64> metrics = 1;
      Specified by:
      getMetricsCount in interface StoreTypes.ExecutorMetricsOrBuilder
    • containsMetrics

      public boolean containsMetrics(String key)
      map<string, int64> metrics = 1;
      Specified by:
      containsMetrics in interface StoreTypes.ExecutorMetricsOrBuilder
    • getMetrics

      @Deprecated public Map<String,Long> getMetrics()
      Deprecated.
      Use getMetricsMap() instead.
      Specified by:
      getMetrics in interface StoreTypes.ExecutorMetricsOrBuilder
    • getMetricsMap

      public Map<String,Long> getMetricsMap()
      map<string, int64> metrics = 1;
      Specified by:
      getMetricsMap in interface StoreTypes.ExecutorMetricsOrBuilder
    • getMetricsOrDefault

      public long getMetricsOrDefault(String key, long defaultValue)
      map<string, int64> metrics = 1;
      Specified by:
      getMetricsOrDefault in interface StoreTypes.ExecutorMetricsOrBuilder
    • getMetricsOrThrow

      public long getMetricsOrThrow(String key)
      map<string, int64> metrics = 1;
      Specified by:
      getMetricsOrThrow in interface StoreTypes.ExecutorMetricsOrBuilder
    • 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.ExecutorMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static StoreTypes.ExecutorMetrics 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.ExecutorMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

      public static StoreTypes.ExecutorMetrics.Builder newBuilder(StoreTypes.ExecutorMetrics prototype)
    • toBuilder

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

      public static StoreTypes.ExecutorMetrics getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<StoreTypes.ExecutorMetrics> 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.ExecutorMetrics getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder