Package org.apache.drill.exec.proto
Class UserBitShared.SerializedField.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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()
int
optional 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_LISTint
only 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.Descriptor
com.google.protobuf.Descriptors.Descriptor
the 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;
int
optional int32 value_count = 4;
int
optional int32 var_byte_length = 5;
boolean
optional int32 buffer_length = 7;
boolean
the type associated with this field.boolean
optional .exec.shared.NamePart name_part = 2;
boolean
optional int32 value_count = 4;
boolean
optional int32 var_byte_length = 5;
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) 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, 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.SerializedField.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.SerializedField.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.SerializedField.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.SerializedField.Builder>
-
setField
public UserBitShared.SerializedField.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.SerializedField.Builder>
-
clearField
public UserBitShared.SerializedField.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.SerializedField.Builder>
-
clearOneof
public UserBitShared.SerializedField.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.SerializedField.Builder>
-
setRepeatedField
public UserBitShared.SerializedField.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.SerializedField.Builder>
-
addRepeatedField
public UserBitShared.SerializedField.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.SerializedField.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.SerializedField.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.SerializedField.Builder>
- Throws:
IOException
-
hasMajorType
public boolean hasMajorType()the type associated with this field.
optional .common.MajorType major_type = 1;
- Specified by:
hasMajorType
in interfaceUserBitShared.SerializedFieldOrBuilder
- Returns:
- Whether the majorType field is set.
-
getMajorType
the type associated with this field.
optional .common.MajorType major_type = 1;
- Specified by:
getMajorType
in 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:
getMajorTypeOrBuilder
in interfaceUserBitShared.SerializedFieldOrBuilder
-
hasNamePart
public boolean hasNamePart()optional .exec.shared.NamePart name_part = 2;
- Specified by:
hasNamePart
in interfaceUserBitShared.SerializedFieldOrBuilder
- Returns:
- Whether the namePart field is set.
-
getNamePart
optional .exec.shared.NamePart name_part = 2;
- Specified by:
getNamePart
in 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:
getNamePartOrBuilder
in interfaceUserBitShared.SerializedFieldOrBuilder
-
getChildList
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3;
- Specified by:
getChildList
in 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:
getChildCount
in interfaceUserBitShared.SerializedFieldOrBuilder
-
getChild
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3;
- Specified by:
getChild
in 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:
getChildOrBuilder
in interfaceUserBitShared.SerializedFieldOrBuilder
-
getChildOrBuilderList
only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST
repeated .exec.shared.SerializedField child = 3;
- Specified by:
getChildOrBuilderList
in 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:
hasValueCount
in interfaceUserBitShared.SerializedFieldOrBuilder
- Returns:
- Whether the valueCount field is set.
-
getValueCount
public int getValueCount()optional int32 value_count = 4;
- Specified by:
getValueCount
in 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:
hasVarByteLength
in interfaceUserBitShared.SerializedFieldOrBuilder
- Returns:
- Whether the varByteLength field is set.
-
getVarByteLength
public int getVarByteLength()optional int32 var_byte_length = 5;
- Specified by:
getVarByteLength
in 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:
hasBufferLength
in interfaceUserBitShared.SerializedFieldOrBuilder
- Returns:
- Whether the bufferLength field is set.
-
getBufferLength
public int getBufferLength()optional int32 buffer_length = 7;
- Specified by:
getBufferLength
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.SerializedField.Builder>
-
mergeUnknownFields
public final UserBitShared.SerializedField.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.SerializedField.Builder>
-