/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public Builder setPockets( int index, com.openwallet.core.protos.Protos.WalletPocket value) { if (pocketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePocketsIsMutable(); pockets_.set(index, value); onChanged(); } else { pocketsBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public Builder addPockets(com.openwallet.core.protos.Protos.WalletPocket value) { if (pocketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePocketsIsMutable(); pockets_.add(value); onChanged(); } else { pocketsBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public Builder addPockets( int index, com.openwallet.core.protos.Protos.WalletPocket value) { if (pocketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePocketsIsMutable(); pockets_.add(index, value); onChanged(); } else { pocketsBuilder_.addMessage(index, value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000040); } else { ensurePocketsIsMutable(); pockets_.addAll(other.pockets_);
/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public Builder addAllPockets( java.lang.Iterable<? extends com.openwallet.core.protos.Protos.WalletPocket> values) { if (pocketsBuilder_ == null) { ensurePocketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, pockets_); onChanged(); } else { pocketsBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public Builder addPockets( int index, com.openwallet.core.protos.Protos.WalletPocket.Builder builderForValue) { if (pocketsBuilder_ == null) { ensurePocketsIsMutable(); pockets_.add(index, builderForValue.build()); onChanged(); } else { pocketsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public Builder addPockets( com.openwallet.core.protos.Protos.WalletPocket.Builder builderForValue) { if (pocketsBuilder_ == null) { ensurePocketsIsMutable(); pockets_.add(builderForValue.build()); onChanged(); } else { pocketsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public Builder removePockets(int index) { if (pocketsBuilder_ == null) { ensurePocketsIsMutable(); pockets_.remove(index); onChanged(); } else { pocketsBuilder_.remove(index); } return this; } /**
/** * <code>repeated .com.openwallet.core.protos.WalletPocket pockets = 6;</code> */ public Builder setPockets( int index, com.openwallet.core.protos.Protos.WalletPocket.Builder builderForValue) { if (pocketsBuilder_ == null) { ensurePocketsIsMutable(); pockets_.set(index, builderForValue.build()); onChanged(); } else { pocketsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**