hash = (53 * hash) + getNameServiceId().hashCode();
result = result && getNameServiceId() .equals(other.getNameServiceId());
@Override public CanRollBackResponseProto canRollBack(RpcController controller, CanRollBackRequestProto request) throws ServiceException { try { StorageInfo si = PBHelper.convert(request.getStorage(), NodeType.JOURNAL_NODE); Boolean result = impl.canRollBack(convert(request.getJid()), request.hasNameServiceId() ? request.getNameServiceId() : null, si, PBHelper.convert(request.getPrevStorage(), NodeType.JOURNAL_NODE), request.getTargetLayoutVersion()); return CanRollBackResponseProto.newBuilder() .setCanRollBack(result) .build(); } catch (IOException e) { throw new ServiceException(e); } }
/** * <code>optional string nameServiceId = 5;</code> */ public Builder clearNameServiceId() { bitField0_ = (bitField0_ & ~0x00000010); nameServiceId_ = getDefaultInstance().getNameServiceId(); onChanged(); return this; } /**