/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public com.openwallet.core.protos.Protos.UnspentOutput.Builder addUnspentOutputBuilder( int index) { return getUnspentOutputFieldBuilder().addBuilder( index, com.openwallet.core.protos.Protos.UnspentOutput.getDefaultInstance()); } /**
/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public com.openwallet.core.protos.Protos.UnspentOutput.Builder addUnspentOutputBuilder() { return getUnspentOutputFieldBuilder().addBuilder( com.openwallet.core.protos.Protos.UnspentOutput.getDefaultInstance()); } /**
public Builder mergeFrom(com.openwallet.core.protos.Protos.UnspentOutput other) { if (other == com.openwallet.core.protos.Protos.UnspentOutput.getDefaultInstance()) return this; if (other.hasOutPointHash()) { setOutPointHash(other.getOutPointHash()); } if (other.hasOutPointIndex()) { setOutPointIndex(other.getOutPointIndex()); } if (other.hasScriptBytes()) { setScriptBytes(other.getScriptBytes()); } if (other.hasValue()) { setValue(other.getValue()); } if (other.hasIsGenerated()) { setIsGenerated(other.getIsGenerated()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public com.openwallet.core.protos.Protos.UnspentOutput getDefaultInstanceForType() { return com.openwallet.core.protos.Protos.UnspentOutput.getDefaultInstance(); }
/** * <code>required bytes script_bytes = 3;</code> * * <pre> * Script of transaction output * </pre> */ public Builder clearScriptBytes() { bitField0_ = (bitField0_ & ~0x00000004); scriptBytes_ = getDefaultInstance().getScriptBytes(); onChanged(); return this; }
/** * <code>required bytes out_point_hash = 1;</code> * * <pre> * Hash of the transaction this input is using. * </pre> */ public Builder clearOutPointHash() { bitField0_ = (bitField0_ & ~0x00000001); outPointHash_ = getDefaultInstance().getOutPointHash(); onChanged(); return this; }