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()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
private void mergeLocalToBuilder() { if (this.decommissionType != null) { builder.setDecommissionType(convertToProtoFormat(this.decommissionType)); } }
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; }