Class BitControl.Collector.Builder

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

public static final class BitControl.Collector.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder> implements BitControl.CollectorOrBuilder
Protobuf type exec.bit.control.Collector
  • 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<BitControl.Collector.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<BitControl.Collector.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<BitControl.Collector.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public BitControl.Collector.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<BitControl.Collector.Builder>
      Throws:
      IOException
    • hasOppositeMajorFragmentId

      public boolean hasOppositeMajorFragmentId()
      optional int32 opposite_major_fragment_id = 1;
      Specified by:
      hasOppositeMajorFragmentId in interface BitControl.CollectorOrBuilder
      Returns:
      Whether the oppositeMajorFragmentId field is set.
    • getOppositeMajorFragmentId

      public int getOppositeMajorFragmentId()
      optional int32 opposite_major_fragment_id = 1;
      Specified by:
      getOppositeMajorFragmentId in interface BitControl.CollectorOrBuilder
      Returns:
      The oppositeMajorFragmentId.
    • setOppositeMajorFragmentId

      public BitControl.Collector.Builder setOppositeMajorFragmentId(int value)
      optional int32 opposite_major_fragment_id = 1;
      Parameters:
      value - The oppositeMajorFragmentId to set.
      Returns:
      This builder for chaining.
    • clearOppositeMajorFragmentId

      public BitControl.Collector.Builder clearOppositeMajorFragmentId()
      optional int32 opposite_major_fragment_id = 1;
      Returns:
      This builder for chaining.
    • getIncomingMinorFragmentList

      public List<Integer> getIncomingMinorFragmentList()
      repeated int32 incoming_minor_fragment = 2 [packed = true];
      Specified by:
      getIncomingMinorFragmentList in interface BitControl.CollectorOrBuilder
      Returns:
      A list containing the incomingMinorFragment.
    • getIncomingMinorFragmentCount

      public int getIncomingMinorFragmentCount()
      repeated int32 incoming_minor_fragment = 2 [packed = true];
      Specified by:
      getIncomingMinorFragmentCount in interface BitControl.CollectorOrBuilder
      Returns:
      The count of incomingMinorFragment.
    • getIncomingMinorFragment

      public int getIncomingMinorFragment(int index)
      repeated int32 incoming_minor_fragment = 2 [packed = true];
      Specified by:
      getIncomingMinorFragment in interface BitControl.CollectorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The incomingMinorFragment at the given index.
    • setIncomingMinorFragment

      public BitControl.Collector.Builder setIncomingMinorFragment(int index, int value)
      repeated int32 incoming_minor_fragment = 2 [packed = true];
      Parameters:
      index - The index to set the value at.
      value - The incomingMinorFragment to set.
      Returns:
      This builder for chaining.
    • addIncomingMinorFragment

      public BitControl.Collector.Builder addIncomingMinorFragment(int value)
      repeated int32 incoming_minor_fragment = 2 [packed = true];
      Parameters:
      value - The incomingMinorFragment to add.
      Returns:
      This builder for chaining.
    • addAllIncomingMinorFragment

      public BitControl.Collector.Builder addAllIncomingMinorFragment(Iterable<? extends Integer> values)
      repeated int32 incoming_minor_fragment = 2 [packed = true];
      Parameters:
      values - The incomingMinorFragment to add.
      Returns:
      This builder for chaining.
    • clearIncomingMinorFragment

      public BitControl.Collector.Builder clearIncomingMinorFragment()
      repeated int32 incoming_minor_fragment = 2 [packed = true];
      Returns:
      This builder for chaining.
    • hasSupportsOutOfOrder

      public boolean hasSupportsOutOfOrder()
      optional bool supports_out_of_order = 3;
      Specified by:
      hasSupportsOutOfOrder in interface BitControl.CollectorOrBuilder
      Returns:
      Whether the supportsOutOfOrder field is set.
    • getSupportsOutOfOrder

      public boolean getSupportsOutOfOrder()
      optional bool supports_out_of_order = 3;
      Specified by:
      getSupportsOutOfOrder in interface BitControl.CollectorOrBuilder
      Returns:
      The supportsOutOfOrder.
    • setSupportsOutOfOrder

      public BitControl.Collector.Builder setSupportsOutOfOrder(boolean value)
      optional bool supports_out_of_order = 3;
      Parameters:
      value - The supportsOutOfOrder to set.
      Returns:
      This builder for chaining.
    • clearSupportsOutOfOrder

      public BitControl.Collector.Builder clearSupportsOutOfOrder()
      optional bool supports_out_of_order = 3;
      Returns:
      This builder for chaining.
    • hasIsSpooling

      public boolean hasIsSpooling()
      optional bool is_spooling = 4;
      Specified by:
      hasIsSpooling in interface BitControl.CollectorOrBuilder
      Returns:
      Whether the isSpooling field is set.
    • getIsSpooling

      public boolean getIsSpooling()
      optional bool is_spooling = 4;
      Specified by:
      getIsSpooling in interface BitControl.CollectorOrBuilder
      Returns:
      The isSpooling.
    • setIsSpooling

      public BitControl.Collector.Builder setIsSpooling(boolean value)
      optional bool is_spooling = 4;
      Parameters:
      value - The isSpooling to set.
      Returns:
      This builder for chaining.
    • clearIsSpooling

      public BitControl.Collector.Builder clearIsSpooling()
      optional bool is_spooling = 4;
      Returns:
      This builder for chaining.
    • hasEnableDynamicFc

      public boolean hasEnableDynamicFc()
      optional bool enable_dynamic_fc = 5;
      Specified by:
      hasEnableDynamicFc in interface BitControl.CollectorOrBuilder
      Returns:
      Whether the enableDynamicFc field is set.
    • getEnableDynamicFc

      public boolean getEnableDynamicFc()
      optional bool enable_dynamic_fc = 5;
      Specified by:
      getEnableDynamicFc in interface BitControl.CollectorOrBuilder
      Returns:
      The enableDynamicFc.
    • setEnableDynamicFc

      public BitControl.Collector.Builder setEnableDynamicFc(boolean value)
      optional bool enable_dynamic_fc = 5;
      Parameters:
      value - The enableDynamicFc to set.
      Returns:
      This builder for chaining.
    • clearEnableDynamicFc

      public BitControl.Collector.Builder clearEnableDynamicFc()
      optional bool enable_dynamic_fc = 5;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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