public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.RefreshNodesRequestProto other) { if (other == org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.RefreshNodesRequestProto.getDefaultInstance()) return this; if (other.hasDecommissionType()) { setDecommissionType(other.getDecommissionType()); } if (other.hasDecommissionTimeout()) { setDecommissionTimeout(other.getDecommissionTimeout()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
@Override public synchronized void setDecommissionTimeout(Integer timeout) { maybeInitBuilder(); if (timeout != null) { builder.setDecommissionTimeout(timeout); } else { builder.clearDecommissionTimeout(); } }