public Builder mergeFrom( com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResponseProtocol .DSUpdatedCallbackResponse other) { if (other == com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResponseProtocol .DSUpdatedCallbackResponse.getDefaultInstance()) return this; if (other.hasCallbackId()) { setCallbackId(other.getCallbackId()); } if (other.hasOpCode()) { setOpCode(other.getOpCode()); } if (!other.result_.isEmpty()) { if (result.result_.isEmpty()) { result.result_ = new java.util.ArrayList< com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult>(); } result.result_.addAll(other.result_); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder addResult( com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult.Builder builderForValue) { if (result.result_.isEmpty()) { result.result_ = new java.util.ArrayList< com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult>(); } result.result_.add(builderForValue.build()); return this; }
public Builder addAllResult( java.lang.Iterable< ? extends com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult> values) { if (result.result_.isEmpty()) { result.result_ = new java.util.ArrayList< com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult>(); } super.addAll(values, result.result_); return this; }
public com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResponseProtocol .DSUpdatedCallbackResponse buildPartial() { if (result == null) { throw new IllegalStateException("build() has already been called on this Builder."); } if (result.result_ != java.util.Collections.EMPTY_LIST) { result.result_ = java.util.Collections.unmodifiableList(result.result_); } com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResponseProtocol .DSUpdatedCallbackResponse returnMe = result; result = null; return returnMe; }
public Builder addResult( com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult value) { if (value == null) { throw new NullPointerException(); } if (result.result_.isEmpty()) { result.result_ = new java.util.ArrayList< com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult>(); } result.result_.add(value); return this; }
public Builder clearResult() { result.result_ = java.util.Collections.emptyList(); return this; }