Class StoreTypes.OutputMetrics.Builder

Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.OutputMetrics.Builder>
org.apache.spark.status.protobuf.StoreTypes.OutputMetrics.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, StoreTypes.OutputMetricsOrBuilder
Enclosing class:
StoreTypes.OutputMetrics

public static final class StoreTypes.OutputMetrics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.OutputMetrics.Builder> implements StoreTypes.OutputMetricsOrBuilder
Protobuf type org.apache.spark.status.protobuf.OutputMetrics
  • 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.OutputMetrics.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.OutputMetrics.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public long getBytesWritten()
      int64 bytes_written = 1;
      Specified by:
      getBytesWritten in interface StoreTypes.OutputMetricsOrBuilder
      Returns:
      The bytesWritten.
    • setBytesWritten

      public StoreTypes.OutputMetrics.Builder setBytesWritten(long value)
      int64 bytes_written = 1;
      Parameters:
      value - The bytesWritten to set.
      Returns:
      This builder for chaining.
    • clearBytesWritten

      public StoreTypes.OutputMetrics.Builder clearBytesWritten()
      int64 bytes_written = 1;
      Returns:
      This builder for chaining.
    • getRecordsWritten

      public long getRecordsWritten()
      int64 records_written = 2;
      Specified by:
      getRecordsWritten in interface StoreTypes.OutputMetricsOrBuilder
      Returns:
      The recordsWritten.
    • setRecordsWritten

      public StoreTypes.OutputMetrics.Builder setRecordsWritten(long value)
      int64 records_written = 2;
      Parameters:
      value - The recordsWritten to set.
      Returns:
      This builder for chaining.
    • clearRecordsWritten

      public StoreTypes.OutputMetrics.Builder clearRecordsWritten()
      int64 records_written = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final StoreTypes.OutputMetrics.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.OutputMetrics.Builder>
    • mergeUnknownFields

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