public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto) 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.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto) { return mergeFrom((org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto)other); } else { super.mergeFrom(other); return this; } }
subBuilder.mergeFrom(rootInputDataInformationEvent_); rootInputDataInformationEvent_ = subBuilder.buildPartial();
/** * <code>optional .RootInputDataInformationEventProto root_input_data_information_event = 5;</code> */ public Builder mergeRootInputDataInformationEvent(org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto value) { if (rootInputDataInformationEventBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && rootInputDataInformationEvent_ != org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto.getDefaultInstance()) { rootInputDataInformationEvent_ = org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto.newBuilder(rootInputDataInformationEvent_).mergeFrom(value).buildPartial(); } else { rootInputDataInformationEvent_ = value; } onChanged(); } else { rootInputDataInformationEventBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /**
public static Builder newBuilder(org.apache.tez.runtime.api.events.EventProtos.RootInputDataInformationEventProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public Builder clone() { return create().mergeFrom(buildPartial()); }