/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public Builder addUnspentOutput(com.openwallet.core.protos.Protos.UnspentOutput value) { if (unspentOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnspentOutputIsMutable(); unspentOutput_.add(value); onChanged(); } else { unspentOutputBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public Builder addUnspentOutput( int index, com.openwallet.core.protos.Protos.UnspentOutput value) { if (unspentOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnspentOutputIsMutable(); unspentOutput_.add(index, value); onChanged(); } else { unspentOutputBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public Builder setUnspentOutput( int index, com.openwallet.core.protos.Protos.UnspentOutput value) { if (unspentOutputBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnspentOutputIsMutable(); unspentOutput_.set(index, value); onChanged(); } else { unspentOutputBuilder_.setMessage(index, value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000200); } else { ensureUnspentOutputIsMutable(); unspentOutput_.addAll(other.unspentOutput_);
/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public Builder addAllUnspentOutput( java.lang.Iterable<? extends com.openwallet.core.protos.Protos.UnspentOutput> values) { if (unspentOutputBuilder_ == null) { ensureUnspentOutputIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unspentOutput_); onChanged(); } else { unspentOutputBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public Builder setUnspentOutput( int index, com.openwallet.core.protos.Protos.UnspentOutput.Builder builderForValue) { if (unspentOutputBuilder_ == null) { ensureUnspentOutputIsMutable(); unspentOutput_.set(index, builderForValue.build()); onChanged(); } else { unspentOutputBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public Builder addUnspentOutput( com.openwallet.core.protos.Protos.UnspentOutput.Builder builderForValue) { if (unspentOutputBuilder_ == null) { ensureUnspentOutputIsMutable(); unspentOutput_.add(builderForValue.build()); onChanged(); } else { unspentOutputBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public Builder removeUnspentOutput(int index) { if (unspentOutputBuilder_ == null) { ensureUnspentOutputIsMutable(); unspentOutput_.remove(index); onChanged(); } else { unspentOutputBuilder_.remove(index); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.UnspentOutput unspent_output = 10;</code> */ public Builder addUnspentOutput( int index, com.openwallet.core.protos.Protos.UnspentOutput.Builder builderForValue) { if (unspentOutputBuilder_ == null) { ensureUnspentOutputIsMutable(); unspentOutput_.add(index, builderForValue.build()); onChanged(); } else { unspentOutputBuilder_.addMessage(index, builderForValue.build()); } return this; } /**