Class StoreTypes.SinkProgress

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

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

    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • NUM_OUTPUT_ROWS_FIELD_NUMBER

      public static final int NUM_OUTPUT_ROWS_FIELD_NUMBER
      See Also:
    • METRICS_FIELD_NUMBER

      public static final int METRICS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      public boolean hasDescription()
      optional string description = 1;
      Specified by:
      hasDescription in interface StoreTypes.SinkProgressOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
      optional string description = 1;
      Specified by:
      getDescription in interface StoreTypes.SinkProgressOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 1;
      Specified by:
      getDescriptionBytes in interface StoreTypes.SinkProgressOrBuilder
      Returns:
      The bytes for description.
    • getNumOutputRows

      public long getNumOutputRows()
      int64 num_output_rows = 2;
      Specified by:
      getNumOutputRows in interface StoreTypes.SinkProgressOrBuilder
      Returns:
      The numOutputRows.
    • getMetricsCount

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

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

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

      public Map<String,String> getMetricsMap()
      map<string, string> metrics = 3;
      Specified by:
      getMetricsMap in interface StoreTypes.SinkProgressOrBuilder
    • getMetricsOrDefault

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public StoreTypes.SinkProgress.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getDefaultInstance

      public static StoreTypes.SinkProgress getDefaultInstance()
    • parser

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

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