/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public com.openwallet.core.protos.Protos.WalletPocket.Builder addPocketsBuilder() { return getPocketsFieldBuilder().addBuilder( com.openwallet.core.protos.Protos.WalletPocket.getDefaultInstance()); } /**
/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public com.openwallet.core.protos.Protos.WalletPocket.Builder addPocketsBuilder( int index) { return getPocketsFieldBuilder().addBuilder( index, com.openwallet.core.protos.Protos.WalletPocket.getDefaultInstance()); } /**
public Builder mergeFrom(com.openwallet.core.protos.Protos.WalletPocket other) { if (other == com.openwallet.core.protos.Protos.WalletPocket.getDefaultInstance()) return this; if (other.hasNetworkIdentifier()) { bitField0_ |= 0x00000001;
/** * <code>optional string description = 2;</code> * * <pre> * A UTF8 encoded text description of the wallet that is intended for end user provided text. * </pre> */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000002); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /**
/** * <code>required string network_identifier = 1;</code> * * <pre> * the network used by this wallet * </pre> */ public Builder clearNetworkIdentifier() { bitField0_ = (bitField0_ & ~0x00000001); networkIdentifier_ = getDefaultInstance().getNetworkIdentifier(); onChanged(); return this; } /**
/** * <code>optional bytes last_seen_block_hash = 4;</code> * * <pre> * The SHA256 hash of the head of the best chain seen by this wallet. * </pre> */ public Builder clearLastSeenBlockHash() { bitField0_ = (bitField0_ & ~0x00000008); lastSeenBlockHash_ = getDefaultInstance().getLastSeenBlockHash(); onChanged(); return this; }
public com.openwallet.core.protos.Protos.WalletPocket getDefaultInstanceForType() { return com.openwallet.core.protos.Protos.WalletPocket.getDefaultInstance(); }
/** * <code>optional string id = 9;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000100); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**