bitField0_ = (bitField0_ & ~0x00000001); } else { ensureChannelsIsMutable(); channels_.addAll(other.channels_); onChanged(); channelsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getChannelsFieldBuilder() : null; } else { channelsBuilder_.addAllMessages(other.channels_); this.mergeUnknownFields(other.getUnknownFields()); return this;
private com.google.protobuf.RepeatedFieldBuilder< org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel.Builder, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannelOrBuilder>( channels_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); channels_ = null; } return channelsBuilder_; }
if (channel.close != null) value.setCloseTransactionHash(ByteString.copyFrom(channel.close.getHash().getBytes())); builder.addChannels(value); return builder.build().toByteArray(); } finally { lock.unlock();
if (channel.close != null) value.setCloseTransactionHash(ByteString.copyFrom(channel.close.getHash().getBytes())); builder.addChannels(value); return builder.build().toByteArray(); } finally { lock.unlock();
if (channel.close != null) value.setCloseTransactionHash(ByteString.copyFrom(channel.close.getHash().getBytes())); builder.addChannels(value); return builder.build().toByteArray(); } finally { lock.unlock();
if (channel.close != null) value.setCloseTransactionHash(ByteString.copyFrom(channel.close.getHash().getBytes())); builder.addChannels(value); return builder.build().toByteArray(); } finally { lock.unlock();
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureChannelsIsMutable(); channels_.addAll(other.channels_); onChanged(); channelsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getChannelsFieldBuilder() : null; } else { channelsBuilder_.addAllMessages(other.channels_); this.mergeUnknownFields(other.getUnknownFields()); return this;
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureChannelsIsMutable(); channels_.addAll(other.channels_); onChanged(); channelsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getChannelsFieldBuilder() : null; } else { channelsBuilder_.addAllMessages(other.channels_); this.mergeUnknownFields(other.getUnknownFields()); return this;
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureChannelsIsMutable(); channels_.addAll(other.channels_); onChanged(); channelsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getChannelsFieldBuilder() : null; } else { channelsBuilder_.addAllMessages(other.channels_); this.mergeUnknownFields(other.getUnknownFields()); return this;
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder setChannels( int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.set(index, value); onChanged(); } else { channelsBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder addChannels( int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.add(index, value); onChanged(); } else { channelsBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder setChannels( int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.set(index, value); onChanged(); } else { channelsBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder setChannels( int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.set(index, value); onChanged(); } else { channelsBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder addChannels( int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.add(index, value); onChanged(); } else { channelsBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder addChannels( int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.add(index, value); onChanged(); } else { channelsBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder setChannels( int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.set(index, value); onChanged(); } else { channelsBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder addChannels(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.add(value); onChanged(); } else { channelsBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder addChannels( int index, org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.add(index, value); onChanged(); } else { channelsBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder addChannels(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.add(value); onChanged(); } else { channelsBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .paymentchannels.StoredClientPaymentChannel channels = 1;</code> */ public Builder addChannels(org.bitcoinj.protocols.channels.ClientState.StoredClientPaymentChannel value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChannelsIsMutable(); channels_.add(value); onChanged(); } else { channelsBuilder_.addMessage(value); } return this; } /**