for (Protos.TransactionOutput outputProto : txProto.getTransactionOutputList()) { TransactionOutput output = getOutput(params, tx, outputProto.getValue(), outputProto.getScriptBytes());
public Builder mergeFrom(com.openwallet.core.protos.Protos.TransactionOutput other) { if (other == com.openwallet.core.protos.Protos.TransactionOutput.getDefaultInstance()) return this; if (other.hasValue()) { setValue(other.getValue()); } if (other.hasScriptBytes()) { setScriptBytes(other.getScriptBytes()); } if (other.hasSpentByTransactionHash()) { setSpentByTransactionHash(other.getSpentByTransactionHash()); } if (other.hasSpentByTransactionIndex()) { setSpentByTransactionIndex(other.getSpentByTransactionIndex()); } if (other.hasIsSpent()) { setIsSpent(other.getIsSpent()); } if (other.hasIndex()) { setIndex(other.getIndex()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }