/** * <code>repeated .com.openwallet.core.protos.TransactionInput transaction_input = 6;</code> */ public Builder addTransactionInput( com.openwallet.core.protos.Protos.TransactionInput.Builder builderForValue) { if (transactionInputBuilder_ == null) { ensureTransactionInputIsMutable(); transactionInput_.add(builderForValue.build()); onChanged(); } else { transactionInputBuilder_.addMessage(builderForValue.build()); } return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.openwallet.core.protos.Protos.TransactionInput parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.openwallet.core.protos.Protos.TransactionInput) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(com.openwallet.core.protos.Protos.TransactionInput other) { if (other == com.openwallet.core.protos.Protos.TransactionInput.getDefaultInstance()) return this; if (other.hasTransactionOutPointHash()) { setTransactionOutPointHash(other.getTransactionOutPointHash()); } if (other.hasTransactionOutPointIndex()) { setTransactionOutPointIndex(other.getTransactionOutPointIndex()); } if (other.hasScriptBytes()) { setScriptBytes(other.getScriptBytes()); } if (other.hasSequence()) { setSequence(other.getSequence()); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated .com.openwallet.core.protos.TransactionInput transaction_input = 6;</code> */ public Builder setTransactionInput( int index, com.openwallet.core.protos.Protos.TransactionInput.Builder builderForValue) { if (transactionInputBuilder_ == null) { ensureTransactionInputIsMutable(); transactionInput_.set(index, builderForValue.build()); onChanged(); } else { transactionInputBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.TransactionInput transaction_input = 6;</code> */ public Builder addTransactionInput( int index, com.openwallet.core.protos.Protos.TransactionInput.Builder builderForValue) { if (transactionInputBuilder_ == null) { ensureTransactionInputIsMutable(); transactionInput_.add(index, builderForValue.build()); onChanged(); } else { transactionInputBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
public static Builder newBuilder(com.openwallet.core.protos.Protos.TransactionInput prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public Builder clone() { return create().mergeFrom(buildPartial()); }
private static Builder create() { return new Builder(); }
private Builder() { maybeForceBuilderInitialization(); }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.openwallet.core.protos.Protos.TransactionInput) { return mergeFrom((com.openwallet.core.protos.Protos.TransactionInput)other); } else { super.mergeFrom(other); return this; } }
public com.openwallet.core.protos.Protos.TransactionInput build() { com.openwallet.core.protos.Protos.TransactionInput result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
public final boolean isInitialized() { if (!hasTransactionOutPointHash()) { return false; } if (!hasTransactionOutPointIndex()) { return false; } if (!hasScriptBytes()) { return false; } return true; }
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**