Package org.apache.drill.exec.proto
Class UserBitShared.RecordBatchDef.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.RecordBatchDef.Builder>
org.apache.drill.exec.proto.UserBitShared.RecordBatchDef.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,UserBitShared.RecordBatchDefOrBuilder
- Enclosing class:
- UserBitShared.RecordBatchDef
public static final class UserBitShared.RecordBatchDef.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.RecordBatchDef.Builder>
implements UserBitShared.RecordBatchDefOrBuilder
Protobuf type
exec.shared.RecordBatchDef
-
Method Summary
Modifier and TypeMethodDescriptionaddAllField
(Iterable<? extends UserBitShared.SerializedField> values) repeated .exec.shared.SerializedField field = 2;
addField
(int index, UserBitShared.SerializedField value) repeated .exec.shared.SerializedField field = 2;
addField
(int index, UserBitShared.SerializedField.Builder builderForValue) repeated .exec.shared.SerializedField field = 2;
repeated .exec.shared.SerializedField field = 2;
addField
(UserBitShared.SerializedField.Builder builderForValue) repeated .exec.shared.SerializedField field = 2;
repeated .exec.shared.SerializedField field = 2;
addFieldBuilder
(int index) repeated .exec.shared.SerializedField field = 2;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The value is set when result set is disabled and its value corresponds to number of rows affected by query (see JDBC java.sql.ResultSet#getUpdateCount())optional bool carries_two_byte_selection_vector = 3;
repeated .exec.shared.SerializedField field = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional int32 record_count = 1;
clone()
int
The value is set when result set is disabled and its value corresponds to number of rows affected by query (see JDBC java.sql.ResultSet#getUpdateCount())boolean
optional bool carries_two_byte_selection_vector = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getField
(int index) repeated .exec.shared.SerializedField field = 2;
getFieldBuilder
(int index) repeated .exec.shared.SerializedField field = 2;
repeated .exec.shared.SerializedField field = 2;
int
repeated .exec.shared.SerializedField field = 2;
repeated .exec.shared.SerializedField field = 2;
getFieldOrBuilder
(int index) repeated .exec.shared.SerializedField field = 2;
List<? extends UserBitShared.SerializedFieldOrBuilder>
repeated .exec.shared.SerializedField field = 2;
int
optional int32 record_count = 1;
boolean
The value is set when result set is disabled and its value corresponds to number of rows affected by query (see JDBC java.sql.ResultSet#getUpdateCount())boolean
optional bool carries_two_byte_selection_vector = 3;
boolean
optional int32 record_count = 1;
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) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeField
(int index) repeated .exec.shared.SerializedField field = 2;
setAffectedRowsCount
(int value) The value is set when result set is disabled and its value corresponds to number of rows affected by query (see JDBC java.sql.ResultSet#getUpdateCount())setCarriesTwoByteSelectionVector
(boolean value) optional bool carries_two_byte_selection_vector = 3;
setField
(int index, UserBitShared.SerializedField value) repeated .exec.shared.SerializedField field = 2;
setField
(int index, UserBitShared.SerializedField.Builder builderForValue) repeated .exec.shared.SerializedField field = 2;
setRecordCount
(int value) optional int32 record_count = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.Builder>
-
setField
public UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.Builder>
-
clearField
public UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.Builder>
-
clearOneof
public UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.Builder>
-
setRepeatedField
public UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.Builder>
-
addRepeatedField
public UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.RecordBatchDef.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.RecordBatchDef.Builder>
-
mergeFrom
public UserBitShared.RecordBatchDef.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<UserBitShared.RecordBatchDef.Builder>
- Throws:
IOException
-
hasRecordCount
public boolean hasRecordCount()optional int32 record_count = 1;
- Specified by:
hasRecordCount
in interfaceUserBitShared.RecordBatchDefOrBuilder
- Returns:
- Whether the recordCount field is set.
-
getRecordCount
public int getRecordCount()optional int32 record_count = 1;
- Specified by:
getRecordCount
in interfaceUserBitShared.RecordBatchDefOrBuilder
- Returns:
- The recordCount.
-
setRecordCount
optional int32 record_count = 1;
- Parameters:
value
- The recordCount to set.- Returns:
- This builder for chaining.
-
clearRecordCount
optional int32 record_count = 1;
- Returns:
- This builder for chaining.
-
getFieldList
repeated .exec.shared.SerializedField field = 2;
- Specified by:
getFieldList
in interfaceUserBitShared.RecordBatchDefOrBuilder
-
getFieldCount
public int getFieldCount()repeated .exec.shared.SerializedField field = 2;
- Specified by:
getFieldCount
in interfaceUserBitShared.RecordBatchDefOrBuilder
-
getField
repeated .exec.shared.SerializedField field = 2;
- Specified by:
getField
in interfaceUserBitShared.RecordBatchDefOrBuilder
-
addAllField
public UserBitShared.RecordBatchDef.Builder addAllField(Iterable<? extends UserBitShared.SerializedField> values) repeated .exec.shared.SerializedField field = 2;
-
clearField
repeated .exec.shared.SerializedField field = 2;
-
removeField
repeated .exec.shared.SerializedField field = 2;
-
getFieldBuilder
repeated .exec.shared.SerializedField field = 2;
-
getFieldOrBuilder
repeated .exec.shared.SerializedField field = 2;
- Specified by:
getFieldOrBuilder
in interfaceUserBitShared.RecordBatchDefOrBuilder
-
getFieldOrBuilderList
repeated .exec.shared.SerializedField field = 2;
- Specified by:
getFieldOrBuilderList
in interfaceUserBitShared.RecordBatchDefOrBuilder
-
addFieldBuilder
repeated .exec.shared.SerializedField field = 2;
-
addFieldBuilder
repeated .exec.shared.SerializedField field = 2;
-
getFieldBuilderList
repeated .exec.shared.SerializedField field = 2;
-
hasCarriesTwoByteSelectionVector
public boolean hasCarriesTwoByteSelectionVector()optional bool carries_two_byte_selection_vector = 3;
- Specified by:
hasCarriesTwoByteSelectionVector
in interfaceUserBitShared.RecordBatchDefOrBuilder
- Returns:
- Whether the carriesTwoByteSelectionVector field is set.
-
getCarriesTwoByteSelectionVector
public boolean getCarriesTwoByteSelectionVector()optional bool carries_two_byte_selection_vector = 3;
- Specified by:
getCarriesTwoByteSelectionVector
in interfaceUserBitShared.RecordBatchDefOrBuilder
- Returns:
- The carriesTwoByteSelectionVector.
-
setCarriesTwoByteSelectionVector
optional bool carries_two_byte_selection_vector = 3;
- Parameters:
value
- The carriesTwoByteSelectionVector to set.- Returns:
- This builder for chaining.
-
clearCarriesTwoByteSelectionVector
optional bool carries_two_byte_selection_vector = 3;
- Returns:
- This builder for chaining.
-
hasAffectedRowsCount
public boolean hasAffectedRowsCount()The value is set when result set is disabled and its value corresponds to number of rows affected by query (see JDBC java.sql.ResultSet#getUpdateCount())
optional int32 affected_rows_count = 4;
- Specified by:
hasAffectedRowsCount
in interfaceUserBitShared.RecordBatchDefOrBuilder
- Returns:
- Whether the affectedRowsCount field is set.
-
getAffectedRowsCount
public int getAffectedRowsCount()The value is set when result set is disabled and its value corresponds to number of rows affected by query (see JDBC java.sql.ResultSet#getUpdateCount())
optional int32 affected_rows_count = 4;
- Specified by:
getAffectedRowsCount
in interfaceUserBitShared.RecordBatchDefOrBuilder
- Returns:
- The affectedRowsCount.
-
setAffectedRowsCount
The value is set when result set is disabled and its value corresponds to number of rows affected by query (see JDBC java.sql.ResultSet#getUpdateCount())
optional int32 affected_rows_count = 4;
- Parameters:
value
- The affectedRowsCount to set.- Returns:
- This builder for chaining.
-
clearAffectedRowsCount
The value is set when result set is disabled and its value corresponds to number of rows affected by query (see JDBC java.sql.ResultSet#getUpdateCount())
optional int32 affected_rows_count = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserBitShared.RecordBatchDef.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.RecordBatchDef.Builder>
-
mergeUnknownFields
public final UserBitShared.RecordBatchDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.RecordBatchDef.Builder>
-