hash = (53 * hash) + getPort(); if (hasFile()) { hash = (37 * hash) + FILE_FIELD_NUMBER; hash = (53 * hash) + getFile().hashCode();
public Builder mergeFrom(org.apache.hadoop.yarn.proto.YarnProtos.URLProto other) { if (other == org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) return this; if (other.hasScheme()) { bitField0_ |= 0x00000001; scheme_ = other.scheme_; onChanged(); } if (other.hasHost()) { bitField0_ |= 0x00000002; host_ = other.host_; onChanged(); } if (other.hasPort()) { setPort(other.getPort()); } if (other.hasFile()) { bitField0_ |= 0x00000008; file_ = other.file_; onChanged(); } if (other.hasUserInfo()) { bitField0_ |= 0x00000010; userInfo_ = other.userInfo_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }