/** * <code>optional .wallet.TransactionConfidence.Source source = 7;</code> */ public Builder setSource(org.bitcoinj.wallet.Protos.TransactionConfidence.Source value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; source_ = value; onChanged(); return this; } /**
/** * <code>optional .wallet.TransactionConfidence.Source source = 7;</code> */ public Builder setSource(org.bitcoinj.wallet.Protos.TransactionConfidence.Source value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; source_ = value; onChanged(); return this; } /**
/** * <code>optional int32 appeared_at_height = 2;</code> * * <pre> * If type == BUILDING then this is the chain height at which the transaction was included. * </pre> */ public Builder clearAppearedAtHeight() { bitField0_ = (bitField0_ & ~0x00000002); appearedAtHeight_ = 0; onChanged(); return this; }
/** * <code>optional int32 appeared_at_height = 2;</code> * * <pre> * If type == BUILDING then this is the chain height at which the transaction was included. * </pre> */ public Builder clearAppearedAtHeight() { bitField0_ = (bitField0_ & ~0x00000002); appearedAtHeight_ = 0; onChanged(); return this; }
/** * <code>optional int32 appeared_at_height = 2;</code> * * <pre> * If type == BUILDING then this is the chain height at which the transaction was included. * </pre> */ public Builder clearAppearedAtHeight() { bitField0_ = (bitField0_ & ~0x00000002); appearedAtHeight_ = 0; onChanged(); return this; }
/** * <code>optional .wallet.TransactionConfidence.Source source = 7;</code> */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000040); source_ = org.bitcoinj.wallet.Protos.TransactionConfidence.Source.SOURCE_UNKNOWN; onChanged(); return this; }
/** * <code>optional int32 minConnections = 21;</code> */ public Builder setMinConnections(int value) { bitField0_ |= 0x00000200; minConnections_ = value; onChanged(); return this; } /**
/** * <code>optional int32 peerCount = 20;</code> */ public Builder setPeerCount(int value) { bitField0_ |= 0x00000100; peerCount_ = value; onChanged(); return this; } /**
/** * <code>optional int32 appeared_at_height = 2;</code> * * <pre> * If type == BUILDING then this is the chain height at which the transaction was included. * </pre> */ public Builder clearAppearedAtHeight() { bitField0_ = (bitField0_ & ~0x00000002); appearedAtHeight_ = 0; onChanged(); return this; }
/** * <code>optional int64 last_broadcasted_at = 8;</code> * * <pre> * Millis since epoch the transaction was last announced to us. * </pre> */ public Builder clearLastBroadcastedAt() { bitField0_ = (bitField0_ & ~0x00000020); lastBroadcastedAt_ = 0L; onChanged(); return this; }
/** * <code>optional int32 peerCount = 20;</code> */ public Builder clearPeerCount() { bitField0_ = (bitField0_ & ~0x00000100); peerCount_ = 0; onChanged(); return this; }
/** * <code>optional .wallet.TransactionConfidence.Type type = 1;</code> * * <pre> * This is optional in case we add confidence types to prevent parse errors - backwards compatible. * </pre> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.bitcoinj.wallet.Protos.TransactionConfidence.Type.UNKNOWN; onChanged(); return this; }
/** * <code>optional .wallet.TransactionConfidence.Type type = 1;</code> * * <pre> * This is optional in case we add confidence types to prevent parse errors - backwards compatible. * </pre> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.bitcoinj.wallet.Protos.TransactionConfidence.Type.UNKNOWN; onChanged(); return this; }
/** * <code>optional .wallet.TransactionConfidence.Source source = 7;</code> */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000040); source_ = org.bitcoinj.wallet.Protos.TransactionConfidence.Source.SOURCE_UNKNOWN; onChanged(); return this; }
/** * <code>optional .wallet.TransactionConfidence.IXType ixType = 19 [default = IX_NONE];</code> */ public Builder clearIxType() { bitField0_ = (bitField0_ & ~0x00000080); ixType_ = org.bitcoinj.wallet.Protos.TransactionConfidence.IXType.IX_NONE; onChanged(); return this; }
/** * <code>optional .wallet.TransactionConfidence.Source source = 7;</code> */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000040); source_ = org.bitcoinj.wallet.Protos.TransactionConfidence.Source.SOURCE_UNKNOWN; onChanged(); return this; }
/** * <code>optional int64 sentTime = 22;</code> */ public Builder setSentTime(long value) { bitField0_ |= 0x00000400; sentTime_ = value; onChanged(); return this; } /**
/** * <code>optional int32 minConnections = 21;</code> */ public Builder clearMinConnections() { bitField0_ = (bitField0_ & ~0x00000200); minConnections_ = 0; onChanged(); return this; }
/** * <code>optional .wallet.TransactionConfidence.Source source = 7;</code> */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000040); source_ = org.bitcoinj.wallet.Protos.TransactionConfidence.Source.SOURCE_UNKNOWN; onChanged(); return this; }
/** * <code>optional .wallet.TransactionConfidence.Source source = 7;</code> */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000040); source_ = org.bitcoinj.wallet.Protos.TransactionConfidence.Source.SOURCE_UNKNOWN; onChanged(); return this; }