/** * <code>optional .exec.shared.NamePart name_part = 2;</code> */ public Builder setNamePart(org.apache.drill.exec.proto.UserBitShared.NamePart value) { if (namePartBuilder_ == null) { if (value == null) { throw new NullPointerException(); } namePart_ = value; onChanged(); } else { namePartBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>repeated .exec.shared.SerializedField child = 3;</code> * * <pre> * only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST * </pre> */ public Builder clearChild() { if (childBuilder_ == null) { child_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { childBuilder_.clear(); } return this; } /**
/** * <code>repeated .exec.shared.SerializedField child = 3;</code> * * <pre> * only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST * </pre> */ public Builder addChild(org.apache.drill.exec.proto.UserBitShared.SerializedField value) { if (childBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildIsMutable(); child_.add(value); onChanged(); } else { childBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .exec.shared.SerializedField child = 3;</code> * * <pre> * only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST * </pre> */ public Builder addAllChild( java.lang.Iterable<? extends org.apache.drill.exec.proto.UserBitShared.SerializedField> values) { if (childBuilder_ == null) { ensureChildIsMutable(); super.addAll(values, child_); onChanged(); } else { childBuilder_.addAllMessages(values); } return this; } /**
/** * <code>optional .common.MajorType major_type = 1;</code> * * <pre> * the type associated with this field. * </pre> */ public Builder setMajorType( org.apache.drill.common.types.TypeProtos.MajorType.Builder builderForValue) { if (majorTypeBuilder_ == null) { majorType_ = builderForValue.build(); onChanged(); } else { majorTypeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>repeated .exec.shared.SerializedField child = 3;</code> * * <pre> * only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST * </pre> */ public Builder addChild( int index, org.apache.drill.exec.proto.UserBitShared.SerializedField.Builder builderForValue) { if (childBuilder_ == null) { ensureChildIsMutable(); child_.add(index, builderForValue.build()); onChanged(); } else { childBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.SerializedField child = 3;</code> * * <pre> * only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST * </pre> */ public Builder addChild( org.apache.drill.exec.proto.UserBitShared.SerializedField.Builder builderForValue) { if (childBuilder_ == null) { ensureChildIsMutable(); child_.add(builderForValue.build()); onChanged(); } else { childBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.SerializedField child = 3;</code> * * <pre> * only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST * </pre> */ public Builder setChild( int index, org.apache.drill.exec.proto.UserBitShared.SerializedField.Builder builderForValue) { if (childBuilder_ == null) { ensureChildIsMutable(); child_.set(index, builderForValue.build()); onChanged(); } else { childBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.SerializedField child = 3;</code> * * <pre> * only in the cases of type == MAP or REPEAT_MAP or REPEATED_LIST * </pre> */ public Builder removeChild(int index) { if (childBuilder_ == null) { ensureChildIsMutable(); child_.remove(index); onChanged(); } else { childBuilder_.remove(index); } return this; } /**
/** * <code>optional .common.MajorType major_type = 1;</code> * * <pre> * the type associated with this field. * </pre> */ public Builder clearMajorType() { if (majorTypeBuilder_ == null) { majorType_ = org.apache.drill.common.types.TypeProtos.MajorType.getDefaultInstance(); onChanged(); } else { majorTypeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
/** * <code>optional .exec.shared.NamePart name_part = 2;</code> */ public Builder setNamePart( org.apache.drill.exec.proto.UserBitShared.NamePart.Builder builderForValue) { if (namePartBuilder_ == null) { namePart_ = builderForValue.build(); onChanged(); } else { namePartBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .exec.shared.NamePart name_part = 2;</code> */ public Builder clearNamePart() { if (namePartBuilder_ == null) { namePart_ = org.apache.drill.exec.proto.UserBitShared.NamePart.getDefaultInstance(); onChanged(); } else { namePartBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /**
/** * <code>optional int32 buffer_length = 7;</code> */ public Builder setBufferLength(int value) { bitField0_ |= 0x00000020; bufferLength_ = value; onChanged(); return this; } /**
/** * <code>optional int32 buffer_length = 7;</code> */ public Builder clearBufferLength() { bitField0_ = (bitField0_ & ~0x00000020); bufferLength_ = 0; onChanged(); return this; }
/** * <code>optional .exec.shared.NamePart name_part = 2;</code> */ public org.apache.drill.exec.proto.UserBitShared.NamePart.Builder getNamePartBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNamePartFieldBuilder().getBuilder(); } /**
/** * <code>optional .common.MajorType major_type = 1;</code> * * <pre> * the type associated with this field. * </pre> */ public org.apache.drill.common.types.TypeProtos.MajorType.Builder getMajorTypeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMajorTypeFieldBuilder().getBuilder(); } /**
/** * <code>optional int32 var_byte_length = 5;</code> */ public Builder setVarByteLength(int value) { bitField0_ |= 0x00000010; varByteLength_ = value; onChanged(); return this; } /**
/** * <code>optional int32 value_count = 4;</code> */ public Builder clearValueCount() { bitField0_ = (bitField0_ & ~0x00000008); valueCount_ = 0; onChanged(); return this; }
/** * <code>optional int32 var_byte_length = 5;</code> */ public Builder clearVarByteLength() { bitField0_ = (bitField0_ & ~0x00000010); varByteLength_ = 0; onChanged(); return this; }
/** * <code>optional int32 value_count = 4;</code> */ public Builder setValueCount(int value) { bitField0_ |= 0x00000008; valueCount_ = value; onChanged(); return this; } /**