Class UserBitShared.MetricValue.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.MetricValue.Builder>
org.apache.drill.exec.proto.UserBitShared.MetricValue.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, UserBitShared.MetricValueOrBuilder
Enclosing class:
UserBitShared.MetricValue

public static final class UserBitShared.MetricValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.MetricValue.Builder> implements UserBitShared.MetricValueOrBuilder
Protobuf type exec.shared.MetricValue
  • 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<UserBitShared.MetricValue.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<UserBitShared.MetricValue.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<UserBitShared.MetricValue.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public UserBitShared.MetricValue.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<UserBitShared.MetricValue.Builder>
      Throws:
      IOException
    • hasMetricId

      public boolean hasMetricId()
      optional int32 metric_id = 1;
      Specified by:
      hasMetricId in interface UserBitShared.MetricValueOrBuilder
      Returns:
      Whether the metricId field is set.
    • getMetricId

      public int getMetricId()
      optional int32 metric_id = 1;
      Specified by:
      getMetricId in interface UserBitShared.MetricValueOrBuilder
      Returns:
      The metricId.
    • setMetricId

      public UserBitShared.MetricValue.Builder setMetricId(int value)
      optional int32 metric_id = 1;
      Parameters:
      value - The metricId to set.
      Returns:
      This builder for chaining.
    • clearMetricId

      public UserBitShared.MetricValue.Builder clearMetricId()
      optional int32 metric_id = 1;
      Returns:
      This builder for chaining.
    • hasLongValue

      public boolean hasLongValue()
      optional int64 long_value = 2;
      Specified by:
      hasLongValue in interface UserBitShared.MetricValueOrBuilder
      Returns:
      Whether the longValue field is set.
    • getLongValue

      public long getLongValue()
      optional int64 long_value = 2;
      Specified by:
      getLongValue in interface UserBitShared.MetricValueOrBuilder
      Returns:
      The longValue.
    • setLongValue

      public UserBitShared.MetricValue.Builder setLongValue(long value)
      optional int64 long_value = 2;
      Parameters:
      value - The longValue to set.
      Returns:
      This builder for chaining.
    • clearLongValue

      public UserBitShared.MetricValue.Builder clearLongValue()
      optional int64 long_value = 2;
      Returns:
      This builder for chaining.
    • hasDoubleValue

      public boolean hasDoubleValue()
      optional double double_value = 3;
      Specified by:
      hasDoubleValue in interface UserBitShared.MetricValueOrBuilder
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      public double getDoubleValue()
      optional double double_value = 3;
      Specified by:
      getDoubleValue in interface UserBitShared.MetricValueOrBuilder
      Returns:
      The doubleValue.
    • setDoubleValue

      public UserBitShared.MetricValue.Builder setDoubleValue(double value)
      optional double double_value = 3;
      Parameters:
      value - The doubleValue to set.
      Returns:
      This builder for chaining.
    • clearDoubleValue

      public UserBitShared.MetricValue.Builder clearDoubleValue()
      optional double double_value = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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