/** * <code>repeated .com.openwallet.core.protos.TransactionOutput transaction_output = 7;</code> */ public com.openwallet.core.protos.Protos.TransactionOutput.Builder addTransactionOutputBuilder() { return getTransactionOutputFieldBuilder().addBuilder( com.openwallet.core.protos.Protos.TransactionOutput.getDefaultInstance()); } /**
/** * <code>repeated .com.openwallet.core.protos.TransactionOutput transaction_output = 7;</code> */ public com.openwallet.core.protos.Protos.TransactionOutput.Builder addTransactionOutputBuilder( int index) { return getTransactionOutputFieldBuilder().addBuilder( index, com.openwallet.core.protos.Protos.TransactionOutput.getDefaultInstance()); } /**
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; }
public com.openwallet.core.protos.Protos.TransactionOutput getDefaultInstanceForType() { return com.openwallet.core.protos.Protos.TransactionOutput.getDefaultInstance(); }
/** * <code>optional bytes spent_by_transaction_hash = 3;</code> * * <pre> * If spent, the hash of the transaction doing the spend. * </pre> */ public Builder clearSpentByTransactionHash() { bitField0_ = (bitField0_ & ~0x00000004); spentByTransactionHash_ = getDefaultInstance().getSpentByTransactionHash(); onChanged(); return this; }
/** * <code>required bytes script_bytes = 2;</code> * * <pre> * script of transaction output * </pre> */ public Builder clearScriptBytes() { bitField0_ = (bitField0_ & ~0x00000002); scriptBytes_ = getDefaultInstance().getScriptBytes(); onChanged(); return this; }