Package org.apache.drill.exec.proto
Class UserBitShared.SerializedField.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UserBitShared.SerializedField.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
org.apache.drill.exec.proto.UserBitShared.SerializedField.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,UserBitShared.SerializedFieldOrBuilder
- Enclosing class:
UserBitShared.SerializedField
public static final class UserBitShared.SerializedField.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
implements UserBitShared.SerializedFieldOrBuilder
Protobuf type
exec.shared.SerializedField-
Method Summary
Modifier and TypeMethodDescriptionaddAllChild(Iterable<? extends UserBitShared.SerializedField> values) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTaddChild(int index, UserBitShared.SerializedField value) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTaddChild(int index, UserBitShared.SerializedField.Builder builderForValue) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTonly in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTaddChild(UserBitShared.SerializedField.Builder builderForValue) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTonly in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTaddChildBuilder(int index) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional int32 buffer_length = 7;only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTclearField(com.google.protobuf.Descriptors.FieldDescriptor field) the type associated with this field.optional .exec.shared.NamePart name_part = 2;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional int32 value_count = 4;optional int32 var_byte_length = 5;clone()intoptional int32 buffer_length = 7;getChild(int index) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTgetChildBuilder(int index) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTonly in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTintonly in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTonly in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTgetChildOrBuilder(int index) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTList<? extends UserBitShared.SerializedFieldOrBuilder> only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorthe type associated with this field.the type associated with this field.the type associated with this field.optional .exec.shared.NamePart name_part = 2;optional .exec.shared.NamePart name_part = 2;optional .exec.shared.NamePart name_part = 2;intoptional int32 value_count = 4;intoptional int32 var_byte_length = 5;booleanoptional int32 buffer_length = 7;booleanthe type associated with this field.booleanoptional .exec.shared.NamePart name_part = 2;booleanoptional int32 value_count = 4;booleanoptional int32 var_byte_length = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) the type associated with this field.optional .exec.shared.NamePart name_part = 2;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeChild(int index) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTsetBufferLength(int value) optional int32 buffer_length = 7;setChild(int index, UserBitShared.SerializedField value) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTsetChild(int index, UserBitShared.SerializedField.Builder builderForValue) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LISTsetMajorType(TypeProtos.MajorType value) the type associated with this field.setMajorType(TypeProtos.MajorType.Builder builderForValue) the type associated with this field.optional .exec.shared.NamePart name_part = 2;setNamePart(UserBitShared.NamePart.Builder builderForValue) optional .exec.shared.NamePart name_part = 2;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValueCount(int value) optional int32 value_count = 4;setVarByteLength(int value) optional int32 var_byte_length = 5;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
setField
public UserBitShared.SerializedField.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
clearField
public UserBitShared.SerializedField.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
clearOneof
public UserBitShared.SerializedField.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
setRepeatedField
public UserBitShared.SerializedField.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
addRepeatedField
public UserBitShared.SerializedField.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.SerializedField.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
mergeFrom
public UserBitShared.SerializedField.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.SerializedField.Builder>- Throws:
IOException
-
hasMajorType
public boolean hasMajorType()the type associated with this field.
optional .common.MajorType major_type = 1;- Specified by:
hasMajorTypein interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- Whether the majorType field is set.
-
getMajorType
the type associated with this field.
optional .common.MajorType major_type = 1;- Specified by:
getMajorTypein interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- The majorType.
-
setMajorType
the type associated with this field.
optional .common.MajorType major_type = 1; -
setMajorType
public UserBitShared.SerializedField.Builder setMajorType(TypeProtos.MajorType.Builder builderForValue) the type associated with this field.
optional .common.MajorType major_type = 1; -
mergeMajorType
the type associated with this field.
optional .common.MajorType major_type = 1; -
clearMajorType
the type associated with this field.
optional .common.MajorType major_type = 1; -
getMajorTypeBuilder
the type associated with this field.
optional .common.MajorType major_type = 1; -
getMajorTypeOrBuilder
the type associated with this field.
optional .common.MajorType major_type = 1;- Specified by:
getMajorTypeOrBuilderin interfaceUserBitShared.SerializedFieldOrBuilder
-
hasNamePart
public boolean hasNamePart()optional .exec.shared.NamePart name_part = 2;- Specified by:
hasNamePartin interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- Whether the namePart field is set.
-
getNamePart
optional .exec.shared.NamePart name_part = 2;- Specified by:
getNamePartin interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- The namePart.
-
clearNamePart
optional .exec.shared.NamePart name_part = 2; -
getNamePartBuilder
optional .exec.shared.NamePart name_part = 2; -
getNamePartOrBuilder
optional .exec.shared.NamePart name_part = 2;- Specified by:
getNamePartOrBuilderin interfaceUserBitShared.SerializedFieldOrBuilder
-
getChildList
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3;- Specified by:
getChildListin interfaceUserBitShared.SerializedFieldOrBuilder
-
getChildCount
public int getChildCount()only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3;- Specified by:
getChildCountin interfaceUserBitShared.SerializedFieldOrBuilder
-
getChild
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3;- Specified by:
getChildin interfaceUserBitShared.SerializedFieldOrBuilder
-
addAllChild
public UserBitShared.SerializedField.Builder addAllChild(Iterable<? extends UserBitShared.SerializedField> values) only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3; -
clearChild
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3; -
removeChild
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3; -
getChildBuilder
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3; -
getChildOrBuilder
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3;- Specified by:
getChildOrBuilderin interfaceUserBitShared.SerializedFieldOrBuilder
-
getChildOrBuilderList
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3;- Specified by:
getChildOrBuilderListin interfaceUserBitShared.SerializedFieldOrBuilder
-
addChildBuilder
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3; -
addChildBuilder
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3; -
getChildBuilderList
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3; -
hasValueCount
public boolean hasValueCount()optional int32 value_count = 4;- Specified by:
hasValueCountin interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- Whether the valueCount field is set.
-
getValueCount
public int getValueCount()optional int32 value_count = 4;- Specified by:
getValueCountin interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- The valueCount.
-
setValueCount
optional int32 value_count = 4;- Parameters:
value- The valueCount to set.- Returns:
- This builder for chaining.
-
clearValueCount
optional int32 value_count = 4;- Returns:
- This builder for chaining.
-
hasVarByteLength
public boolean hasVarByteLength()optional int32 var_byte_length = 5;- Specified by:
hasVarByteLengthin interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- Whether the varByteLength field is set.
-
getVarByteLength
public int getVarByteLength()optional int32 var_byte_length = 5;- Specified by:
getVarByteLengthin interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- The varByteLength.
-
setVarByteLength
optional int32 var_byte_length = 5;- Parameters:
value- The varByteLength to set.- Returns:
- This builder for chaining.
-
clearVarByteLength
optional int32 var_byte_length = 5;- Returns:
- This builder for chaining.
-
hasBufferLength
public boolean hasBufferLength()optional int32 buffer_length = 7;- Specified by:
hasBufferLengthin interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- Whether the bufferLength field is set.
-
getBufferLength
public int getBufferLength()optional int32 buffer_length = 7;- Specified by:
getBufferLengthin interfaceUserBitShared.SerializedFieldOrBuilder- Returns:
- The bufferLength.
-
setBufferLength
optional int32 buffer_length = 7;- Parameters:
value- The bufferLength to set.- Returns:
- This builder for chaining.
-
clearBufferLength
optional int32 buffer_length = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserBitShared.SerializedField.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
mergeUnknownFields
public final UserBitShared.SerializedField.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-