@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasJid()) { hash = (37 * hash) + JID_FIELD_NUMBER; hash = (53 * hash) + getJid().hashCode(); } if (hasNsInfo()) { hash = (37 * hash) + NSINFO_FIELD_NUMBER; hash = (53 * hash) + getNsInfo().hashCode(); } if (hasEpoch()) { hash = (37 * hash) + EPOCH_FIELD_NUMBER; hash = (53 * hash) + hashLong(getEpoch()); } if (hasNameServiceId()) { hash = (37 * hash) + NAMESERVICEID_FIELD_NUMBER; hash = (53 * hash) + getNameServiceId().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
result = result && getNameServiceId() .equals(other.getNameServiceId());
@Override public NewEpochResponseProto newEpoch(RpcController controller, NewEpochRequestProto request) throws ServiceException { try { return impl.newEpoch( request.getJid().getIdentifier(), request.hasNameServiceId() ? request.getNameServiceId() : null, PBHelper.convert(request.getNsInfo()), request.getEpoch()); } catch (IOException ioe) { throw new ServiceException(ioe); } }
/** * <code>optional string nameServiceId = 4;</code> */ public Builder clearNameServiceId() { bitField0_ = (bitField0_ & ~0x00000008); nameServiceId_ = getDefaultInstance().getNameServiceId(); onChanged(); return this; } /**