Class MetricStatistics.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MetricStatistics.Builder>
ai.chalk.protos.chalk.metrics.v4.MetricStatistics.Builder
All Implemented Interfaces:
MetricStatisticsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MetricStatistics

public static final class MetricStatistics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetricStatistics.Builder> implements MetricStatisticsOrBuilder
Protobuf type chalk.metrics.v4.MetricStatistics
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MetricStatistics.Builder>
    • clear

      public MetricStatistics.Builder 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<MetricStatistics.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<MetricStatistics.Builder>
    • getDefaultInstanceForType

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

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

      public MetricStatistics buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

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

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

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

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

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

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

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

      public MetricStatistics.Builder mergeFrom(MetricStatistics other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MetricStatistics.Builder>
    • mergeFrom

      public MetricStatistics.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<MetricStatistics.Builder>
      Throws:
      IOException
    • hasMin

      public boolean hasMin()
      optional double min = 1 [json_name = "min"];
      Specified by:
      hasMin in interface MetricStatisticsOrBuilder
      Returns:
      Whether the min field is set.
    • getMin

      public double getMin()
      optional double min = 1 [json_name = "min"];
      Specified by:
      getMin in interface MetricStatisticsOrBuilder
      Returns:
      The min.
    • setMin

      public MetricStatistics.Builder setMin(double value)
      optional double min = 1 [json_name = "min"];
      Parameters:
      value - The min to set.
      Returns:
      This builder for chaining.
    • clearMin

      public MetricStatistics.Builder clearMin()
      optional double min = 1 [json_name = "min"];
      Returns:
      This builder for chaining.
    • hasMax

      public boolean hasMax()
      optional double max = 2 [json_name = "max"];
      Specified by:
      hasMax in interface MetricStatisticsOrBuilder
      Returns:
      Whether the max field is set.
    • getMax

      public double getMax()
      optional double max = 2 [json_name = "max"];
      Specified by:
      getMax in interface MetricStatisticsOrBuilder
      Returns:
      The max.
    • setMax

      public MetricStatistics.Builder setMax(double value)
      optional double max = 2 [json_name = "max"];
      Parameters:
      value - The max to set.
      Returns:
      This builder for chaining.
    • clearMax

      public MetricStatistics.Builder clearMax()
      optional double max = 2 [json_name = "max"];
      Returns:
      This builder for chaining.
    • hasCount

      public boolean hasCount()
      optional uint64 count = 3 [json_name = "count"];
      Specified by:
      hasCount in interface MetricStatisticsOrBuilder
      Returns:
      Whether the count field is set.
    • getCount

      public long getCount()
      optional uint64 count = 3 [json_name = "count"];
      Specified by:
      getCount in interface MetricStatisticsOrBuilder
      Returns:
      The count.
    • setCount

      public MetricStatistics.Builder setCount(long value)
      optional uint64 count = 3 [json_name = "count"];
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

      public MetricStatistics.Builder clearCount()
      optional uint64 count = 3 [json_name = "count"];
      Returns:
      This builder for chaining.
    • hasNullCount

      public boolean hasNullCount()
      optional uint64 null_count = 4 [json_name = "nullCount"];
      Specified by:
      hasNullCount in interface MetricStatisticsOrBuilder
      Returns:
      Whether the nullCount field is set.
    • getNullCount

      public long getNullCount()
      optional uint64 null_count = 4 [json_name = "nullCount"];
      Specified by:
      getNullCount in interface MetricStatisticsOrBuilder
      Returns:
      The nullCount.
    • setNullCount

      public MetricStatistics.Builder setNullCount(long value)
      optional uint64 null_count = 4 [json_name = "nullCount"];
      Parameters:
      value - The nullCount to set.
      Returns:
      This builder for chaining.
    • clearNullCount

      public MetricStatistics.Builder clearNullCount()
      optional uint64 null_count = 4 [json_name = "nullCount"];
      Returns:
      This builder for chaining.
    • hasMean

      public boolean hasMean()
      optional double mean = 5 [json_name = "mean"];
      Specified by:
      hasMean in interface MetricStatisticsOrBuilder
      Returns:
      Whether the mean field is set.
    • getMean

      public double getMean()
      optional double mean = 5 [json_name = "mean"];
      Specified by:
      getMean in interface MetricStatisticsOrBuilder
      Returns:
      The mean.
    • setMean

      public MetricStatistics.Builder setMean(double value)
      optional double mean = 5 [json_name = "mean"];
      Parameters:
      value - The mean to set.
      Returns:
      This builder for chaining.
    • clearMean

      public MetricStatistics.Builder clearMean()
      optional double mean = 5 [json_name = "mean"];
      Returns:
      This builder for chaining.
    • hasVariance

      public boolean hasVariance()
      optional double variance = 6 [json_name = "variance"];
      Specified by:
      hasVariance in interface MetricStatisticsOrBuilder
      Returns:
      Whether the variance field is set.
    • getVariance

      public double getVariance()
      optional double variance = 6 [json_name = "variance"];
      Specified by:
      getVariance in interface MetricStatisticsOrBuilder
      Returns:
      The variance.
    • setVariance

      public MetricStatistics.Builder setVariance(double value)
      optional double variance = 6 [json_name = "variance"];
      Parameters:
      value - The variance to set.
      Returns:
      This builder for chaining.
    • clearVariance

      public MetricStatistics.Builder clearVariance()
      optional double variance = 6 [json_name = "variance"];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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