Class StoreTypes.InputMetrics.Builder

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

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

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

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

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

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

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

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

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

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

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

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

      public long getBytesRead()
      int64 bytes_read = 1;
      Specified by:
      getBytesRead in interface StoreTypes.InputMetricsOrBuilder
      Returns:
      The bytesRead.
    • setBytesRead

      public StoreTypes.InputMetrics.Builder setBytesRead(long value)
      int64 bytes_read = 1;
      Parameters:
      value - The bytesRead to set.
      Returns:
      This builder for chaining.
    • clearBytesRead

      public StoreTypes.InputMetrics.Builder clearBytesRead()
      int64 bytes_read = 1;
      Returns:
      This builder for chaining.
    • getRecordsRead

      public long getRecordsRead()
      int64 records_read = 2;
      Specified by:
      getRecordsRead in interface StoreTypes.InputMetricsOrBuilder
      Returns:
      The recordsRead.
    • setRecordsRead

      public StoreTypes.InputMetrics.Builder setRecordsRead(long value)
      int64 records_read = 2;
      Parameters:
      value - The recordsRead to set.
      Returns:
      This builder for chaining.
    • clearRecordsRead

      public StoreTypes.InputMetrics.Builder clearRecordsRead()
      int64 records_read = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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