Package org.apache.drill.exec.proto
Class BitData.FragmentRecordBatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<BitData.FragmentRecordBatch.Builder>
org.apache.drill.exec.proto.BitData.FragmentRecordBatch.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,BitData.FragmentRecordBatchOrBuilder
- Enclosing class:
- BitData.FragmentRecordBatch
public static final class BitData.FragmentRecordBatch.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BitData.FragmentRecordBatch.Builder>
implements BitData.FragmentRecordBatchOrBuilder
Protobuf type
exec.bit.data.FragmentRecordBatch
-
Method Summary
Modifier and TypeMethodDescriptionaddAllReceivingMinorFragmentId
(Iterable<? extends Integer> values) repeated int32 receiving_minor_fragment_id = 3;
addReceivingMinorFragmentId
(int value) repeated int32 receiving_minor_fragment_id = 3;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearDef()
optional .exec.shared.RecordBatchDef def = 6;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional bool isLastBatch = 7;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .exec.shared.QueryId query_id = 1;
optional int32 receiving_major_fragment_id = 2;
repeated int32 receiving_minor_fragment_id = 3;
optional int32 sending_major_fragment_id = 4;
optional int32 sending_minor_fragment_id = 5;
clone()
getDef()
optional .exec.shared.RecordBatchDef def = 6;
optional .exec.shared.RecordBatchDef def = 6;
optional .exec.shared.RecordBatchDef def = 6;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
optional bool isLastBatch = 7;
optional .exec.shared.QueryId query_id = 1;
optional .exec.shared.QueryId query_id = 1;
optional .exec.shared.QueryId query_id = 1;
int
optional int32 receiving_major_fragment_id = 2;
int
getReceivingMinorFragmentId
(int index) repeated int32 receiving_minor_fragment_id = 3;
int
repeated int32 receiving_minor_fragment_id = 3;
repeated int32 receiving_minor_fragment_id = 3;
int
optional int32 sending_major_fragment_id = 4;
int
optional int32 sending_minor_fragment_id = 5;
boolean
hasDef()
optional .exec.shared.RecordBatchDef def = 6;
boolean
optional bool isLastBatch = 7;
boolean
optional .exec.shared.QueryId query_id = 1;
boolean
optional int32 receiving_major_fragment_id = 2;
boolean
optional int32 sending_major_fragment_id = 4;
boolean
optional int32 sending_minor_fragment_id = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .exec.shared.RecordBatchDef def = 6;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) optional .exec.shared.QueryId query_id = 1;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) optional .exec.shared.RecordBatchDef def = 6;
setDef
(UserBitShared.RecordBatchDef.Builder builderForValue) optional .exec.shared.RecordBatchDef def = 6;
setIsLastBatch
(boolean value) optional bool isLastBatch = 7;
setQueryId
(UserBitShared.QueryId value) optional .exec.shared.QueryId query_id = 1;
setQueryId
(UserBitShared.QueryId.Builder builderForValue) optional .exec.shared.QueryId query_id = 1;
setReceivingMajorFragmentId
(int value) optional int32 receiving_major_fragment_id = 2;
setReceivingMinorFragmentId
(int index, int value) repeated int32 receiving_minor_fragment_id = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSendingMajorFragmentId
(int value) optional int32 sending_major_fragment_id = 4;
setSendingMinorFragmentId
(int value) optional int32 sending_minor_fragment_id = 5;
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<BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.Builder>
-
setField
public BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.Builder>
-
clearField
public BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.Builder>
-
clearOneof
public BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.Builder>
-
setRepeatedField
public BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.Builder>
-
addRepeatedField
public BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BitData.FragmentRecordBatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.FragmentRecordBatch.Builder>
-
mergeFrom
public BitData.FragmentRecordBatch.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<BitData.FragmentRecordBatch.Builder>
- Throws:
IOException
-
hasQueryId
public boolean hasQueryId()optional .exec.shared.QueryId query_id = 1;
- Specified by:
hasQueryId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- Whether the queryId field is set.
-
getQueryId
optional .exec.shared.QueryId query_id = 1;
- Specified by:
getQueryId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- The queryId.
-
clearQueryId
optional .exec.shared.QueryId query_id = 1;
-
getQueryIdBuilder
optional .exec.shared.QueryId query_id = 1;
-
getQueryIdOrBuilder
optional .exec.shared.QueryId query_id = 1;
- Specified by:
getQueryIdOrBuilder
in interfaceBitData.FragmentRecordBatchOrBuilder
-
hasReceivingMajorFragmentId
public boolean hasReceivingMajorFragmentId()optional int32 receiving_major_fragment_id = 2;
- Specified by:
hasReceivingMajorFragmentId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- Whether the receivingMajorFragmentId field is set.
-
getReceivingMajorFragmentId
public int getReceivingMajorFragmentId()optional int32 receiving_major_fragment_id = 2;
- Specified by:
getReceivingMajorFragmentId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- The receivingMajorFragmentId.
-
setReceivingMajorFragmentId
optional int32 receiving_major_fragment_id = 2;
- Parameters:
value
- The receivingMajorFragmentId to set.- Returns:
- This builder for chaining.
-
clearReceivingMajorFragmentId
optional int32 receiving_major_fragment_id = 2;
- Returns:
- This builder for chaining.
-
getReceivingMinorFragmentIdList
repeated int32 receiving_minor_fragment_id = 3;
- Specified by:
getReceivingMinorFragmentIdList
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- A list containing the receivingMinorFragmentId.
-
getReceivingMinorFragmentIdCount
public int getReceivingMinorFragmentIdCount()repeated int32 receiving_minor_fragment_id = 3;
- Specified by:
getReceivingMinorFragmentIdCount
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- The count of receivingMinorFragmentId.
-
getReceivingMinorFragmentId
public int getReceivingMinorFragmentId(int index) repeated int32 receiving_minor_fragment_id = 3;
- Specified by:
getReceivingMinorFragmentId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The receivingMinorFragmentId at the given index.
-
setReceivingMinorFragmentId
repeated int32 receiving_minor_fragment_id = 3;
- Parameters:
index
- The index to set the value at.value
- The receivingMinorFragmentId to set.- Returns:
- This builder for chaining.
-
addReceivingMinorFragmentId
repeated int32 receiving_minor_fragment_id = 3;
- Parameters:
value
- The receivingMinorFragmentId to add.- Returns:
- This builder for chaining.
-
addAllReceivingMinorFragmentId
public BitData.FragmentRecordBatch.Builder addAllReceivingMinorFragmentId(Iterable<? extends Integer> values) repeated int32 receiving_minor_fragment_id = 3;
- Parameters:
values
- The receivingMinorFragmentId to add.- Returns:
- This builder for chaining.
-
clearReceivingMinorFragmentId
repeated int32 receiving_minor_fragment_id = 3;
- Returns:
- This builder for chaining.
-
hasSendingMajorFragmentId
public boolean hasSendingMajorFragmentId()optional int32 sending_major_fragment_id = 4;
- Specified by:
hasSendingMajorFragmentId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- Whether the sendingMajorFragmentId field is set.
-
getSendingMajorFragmentId
public int getSendingMajorFragmentId()optional int32 sending_major_fragment_id = 4;
- Specified by:
getSendingMajorFragmentId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- The sendingMajorFragmentId.
-
setSendingMajorFragmentId
optional int32 sending_major_fragment_id = 4;
- Parameters:
value
- The sendingMajorFragmentId to set.- Returns:
- This builder for chaining.
-
clearSendingMajorFragmentId
optional int32 sending_major_fragment_id = 4;
- Returns:
- This builder for chaining.
-
hasSendingMinorFragmentId
public boolean hasSendingMinorFragmentId()optional int32 sending_minor_fragment_id = 5;
- Specified by:
hasSendingMinorFragmentId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- Whether the sendingMinorFragmentId field is set.
-
getSendingMinorFragmentId
public int getSendingMinorFragmentId()optional int32 sending_minor_fragment_id = 5;
- Specified by:
getSendingMinorFragmentId
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- The sendingMinorFragmentId.
-
setSendingMinorFragmentId
optional int32 sending_minor_fragment_id = 5;
- Parameters:
value
- The sendingMinorFragmentId to set.- Returns:
- This builder for chaining.
-
clearSendingMinorFragmentId
optional int32 sending_minor_fragment_id = 5;
- Returns:
- This builder for chaining.
-
hasDef
public boolean hasDef()optional .exec.shared.RecordBatchDef def = 6;
- Specified by:
hasDef
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- Whether the def field is set.
-
getDef
optional .exec.shared.RecordBatchDef def = 6;
- Specified by:
getDef
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- The def.
-
clearDef
optional .exec.shared.RecordBatchDef def = 6;
-
getDefBuilder
optional .exec.shared.RecordBatchDef def = 6;
-
getDefOrBuilder
optional .exec.shared.RecordBatchDef def = 6;
- Specified by:
getDefOrBuilder
in interfaceBitData.FragmentRecordBatchOrBuilder
-
hasIsLastBatch
public boolean hasIsLastBatch()optional bool isLastBatch = 7;
- Specified by:
hasIsLastBatch
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- Whether the isLastBatch field is set.
-
getIsLastBatch
public boolean getIsLastBatch()optional bool isLastBatch = 7;
- Specified by:
getIsLastBatch
in interfaceBitData.FragmentRecordBatchOrBuilder
- Returns:
- The isLastBatch.
-
setIsLastBatch
optional bool isLastBatch = 7;
- Parameters:
value
- The isLastBatch to set.- Returns:
- This builder for chaining.
-
clearIsLastBatch
optional bool isLastBatch = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final BitData.FragmentRecordBatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.FragmentRecordBatch.Builder>
-
mergeUnknownFields
public final BitData.FragmentRecordBatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BitData.FragmentRecordBatch.Builder>
-