Package org.apache.drill.exec.proto
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 Summary
Modifier and TypeMethodDescriptionaddAllIncomingMinorFragment
(Iterable<? extends Integer> values) repeated int32 incoming_minor_fragment = 2 [packed = true];
addIncomingMinorFragment
(int value) repeated int32 incoming_minor_fragment = 2 [packed = true];
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional bool enable_dynamic_fc = 5;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) repeated int32 incoming_minor_fragment = 2 [packed = true];
optional bool is_spooling = 4;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional int32 opposite_major_fragment_id = 1;
optional bool supports_out_of_order = 3;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
optional bool enable_dynamic_fc = 5;
int
getIncomingMinorFragment
(int index) repeated int32 incoming_minor_fragment = 2 [packed = true];
int
repeated int32 incoming_minor_fragment = 2 [packed = true];
repeated int32 incoming_minor_fragment = 2 [packed = true];
boolean
optional bool is_spooling = 4;
int
optional int32 opposite_major_fragment_id = 1;
boolean
optional bool supports_out_of_order = 3;
boolean
optional bool enable_dynamic_fc = 5;
boolean
optional bool is_spooling = 4;
boolean
optional int32 opposite_major_fragment_id = 1;
boolean
optional bool supports_out_of_order = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(BitControl.Collector other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setEnableDynamicFc
(boolean value) optional bool enable_dynamic_fc = 5;
setIncomingMinorFragment
(int index, int value) repeated int32 incoming_minor_fragment = 2 [packed = true];
setIsSpooling
(boolean value) optional bool is_spooling = 4;
setOppositeMajorFragmentId
(int value) optional int32 opposite_major_fragment_id = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSupportsOutOfOrder
(boolean value) optional bool supports_out_of_order = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder>
-
clearField
public BitControl.Collector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder>
-
clearOneof
public BitControl.Collector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BitControl.Collector.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BitControl.Collector.Builder>
- Throws:
IOException
-
hasOppositeMajorFragmentId
public boolean hasOppositeMajorFragmentId()optional int32 opposite_major_fragment_id = 1;
- Specified by:
hasOppositeMajorFragmentId
in interfaceBitControl.CollectorOrBuilder
- Returns:
- Whether the oppositeMajorFragmentId field is set.
-
getOppositeMajorFragmentId
public int getOppositeMajorFragmentId()optional int32 opposite_major_fragment_id = 1;
- Specified by:
getOppositeMajorFragmentId
in interfaceBitControl.CollectorOrBuilder
- Returns:
- The oppositeMajorFragmentId.
-
setOppositeMajorFragmentId
optional int32 opposite_major_fragment_id = 1;
- Parameters:
value
- The oppositeMajorFragmentId to set.- Returns:
- This builder for chaining.
-
clearOppositeMajorFragmentId
optional int32 opposite_major_fragment_id = 1;
- Returns:
- This builder for chaining.
-
getIncomingMinorFragmentList
repeated int32 incoming_minor_fragment = 2 [packed = true];
- Specified by:
getIncomingMinorFragmentList
in interfaceBitControl.CollectorOrBuilder
- Returns:
- A list containing the incomingMinorFragment.
-
getIncomingMinorFragmentCount
public int getIncomingMinorFragmentCount()repeated int32 incoming_minor_fragment = 2 [packed = true];
- Specified by:
getIncomingMinorFragmentCount
in interfaceBitControl.CollectorOrBuilder
- Returns:
- The count of incomingMinorFragment.
-
getIncomingMinorFragment
public int getIncomingMinorFragment(int index) repeated int32 incoming_minor_fragment = 2 [packed = true];
- Specified by:
getIncomingMinorFragment
in interfaceBitControl.CollectorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The incomingMinorFragment at the given index.
-
setIncomingMinorFragment
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
repeated int32 incoming_minor_fragment = 2 [packed = true];
- Parameters:
value
- The incomingMinorFragment to add.- Returns:
- This builder for chaining.
-
addAllIncomingMinorFragment
repeated int32 incoming_minor_fragment = 2 [packed = true];
- Parameters:
values
- The incomingMinorFragment to add.- Returns:
- This builder for chaining.
-
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 interfaceBitControl.CollectorOrBuilder
- Returns:
- Whether the supportsOutOfOrder field is set.
-
getSupportsOutOfOrder
public boolean getSupportsOutOfOrder()optional bool supports_out_of_order = 3;
- Specified by:
getSupportsOutOfOrder
in interfaceBitControl.CollectorOrBuilder
- Returns:
- The supportsOutOfOrder.
-
setSupportsOutOfOrder
optional bool supports_out_of_order = 3;
- Parameters:
value
- The supportsOutOfOrder to set.- Returns:
- This builder for chaining.
-
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 interfaceBitControl.CollectorOrBuilder
- Returns:
- Whether the isSpooling field is set.
-
getIsSpooling
public boolean getIsSpooling()optional bool is_spooling = 4;
- Specified by:
getIsSpooling
in interfaceBitControl.CollectorOrBuilder
- Returns:
- The isSpooling.
-
setIsSpooling
optional bool is_spooling = 4;
- Parameters:
value
- The isSpooling to set.- Returns:
- This builder for chaining.
-
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 interfaceBitControl.CollectorOrBuilder
- Returns:
- Whether the enableDynamicFc field is set.
-
getEnableDynamicFc
public boolean getEnableDynamicFc()optional bool enable_dynamic_fc = 5;
- Specified by:
getEnableDynamicFc
in interfaceBitControl.CollectorOrBuilder
- Returns:
- The enableDynamicFc.
-
setEnableDynamicFc
optional bool enable_dynamic_fc = 5;
- Parameters:
value
- The enableDynamicFc to set.- Returns:
- This builder for chaining.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder>
-
mergeUnknownFields
public final BitControl.Collector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitControl.Collector.Builder>
-