public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.drill.exec.proto.UserBitShared.NamePart parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.drill.exec.proto.UserBitShared.NamePart) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.drill.exec.proto.UserBitShared.NamePart) { return mergeFrom((org.apache.drill.exec.proto.UserBitShared.NamePart)other); } else { super.mergeFrom(other); return this; } }
subBuilder.mergeFrom(namePart_); namePart_ = subBuilder.buildPartial();
subBuilder.mergeFrom(namePart_); namePart_ = subBuilder.buildPartial();
subBuilder.mergeFrom(child_); child_ = subBuilder.buildPartial();
/** * <code>optional .exec.shared.NamePart name_part = 2;</code> */ public Builder mergeNamePart(org.apache.drill.exec.proto.UserBitShared.NamePart value) { if (namePartBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && namePart_ != org.apache.drill.exec.proto.UserBitShared.NamePart.getDefaultInstance()) { namePart_ = org.apache.drill.exec.proto.UserBitShared.NamePart.newBuilder(namePart_).mergeFrom(value).buildPartial(); } else { namePart_ = value; } onChanged(); } else { namePartBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .exec.shared.NamePart child = 3;</code> */ public Builder mergeChild(org.apache.drill.exec.proto.UserBitShared.NamePart value) { if (childBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && child_ != org.apache.drill.exec.proto.UserBitShared.NamePart.getDefaultInstance()) { child_ = org.apache.drill.exec.proto.UserBitShared.NamePart.newBuilder(child_).mergeFrom(value).buildPartial(); } else { child_ = value; } onChanged(); } else { childBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.drill.exec.proto.UserBitShared.NamePart parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.drill.exec.proto.UserBitShared.NamePart) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder clone() { return create().mergeFrom(buildPartial()); }
public static Builder newBuilder(org.apache.drill.exec.proto.UserBitShared.NamePart prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.drill.exec.proto.UserBitShared.NamePart) { return mergeFrom((org.apache.drill.exec.proto.UserBitShared.NamePart)other); } else { super.mergeFrom(other); return this; } }
subBuilder.mergeFrom(child_); child_ = subBuilder.buildPartial();
/** * <code>optional .exec.shared.NamePart child = 3;</code> */ public Builder mergeChild(org.apache.drill.exec.proto.UserBitShared.NamePart value) { if (childBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && child_ != org.apache.drill.exec.proto.UserBitShared.NamePart.getDefaultInstance()) { child_ = org.apache.drill.exec.proto.UserBitShared.NamePart.newBuilder(child_).mergeFrom(value).buildPartial(); } else { child_ = value; } onChanged(); } else { childBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .exec.shared.NamePart name_part = 2;</code> */ public Builder mergeNamePart(org.apache.drill.exec.proto.UserBitShared.NamePart value) { if (namePartBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && namePart_ != org.apache.drill.exec.proto.UserBitShared.NamePart.getDefaultInstance()) { namePart_ = org.apache.drill.exec.proto.UserBitShared.NamePart.newBuilder(namePart_).mergeFrom(value).buildPartial(); } else { namePart_ = value; } onChanged(); } else { namePartBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
public Builder clone() { return create().mergeFrom(buildPartial()); }
public static Builder newBuilder(org.apache.drill.exec.proto.UserBitShared.NamePart prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }