/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder addWatchedScript( org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.add(builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.addMessage(builderForValue.build()); } return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.bitcoinj.wallet.Protos.Script parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.bitcoinj.wallet.Protos.Script) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
Protos.Script protoScript = Protos.Script.newBuilder() .setProgram(ByteString.copyFrom(script.getProgram())) .setCreationTimestamp(script.getCreationTimeSeconds() * 1000) .build();
Protos.Script protoScript = Protos.Script.newBuilder() .setProgram(ByteString.copyFrom(script.getProgram())) .setCreationTimestamp(script.getCreationTimeSeconds() * 1000) .build();
Protos.Script protoScript = Protos.Script.newBuilder() .setProgram(ByteString.copyFrom(script.getProgram())) .setCreationTimestamp(script.getCreationTimeSeconds() * 1000) .build();
Protos.Script protoScript = Protos.Script.newBuilder() .setProgram(ByteString.copyFrom(script.getProgram())) .setCreationTimestamp(script.getCreationTimeSeconds() * 1000) .build();
Protos.Script protoScript = Protos.Script.newBuilder() .setProgram(ByteString.copyFrom(script.getProgram())) .setCreationTimestamp(script.getCreationTimeSeconds() * 1000) .build();
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.bitcoinj.wallet.Protos.Script parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.bitcoinj.wallet.Protos.Script) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.bitcoinj.wallet.Protos.Script parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.bitcoinj.wallet.Protos.Script) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.bitcoinj.wallet.Protos.Script parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.bitcoinj.wallet.Protos.Script) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.bitcoinj.wallet.Protos.Script parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.bitcoinj.wallet.Protos.Script) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder setWatchedScript( int index, org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.set(index, builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder addWatchedScript( int index, org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.add(index, builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder addWatchedScript( int index, org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.add(index, builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder addWatchedScript( org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.add(builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder addWatchedScript( org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.add(builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder setWatchedScript( int index, org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.set(index, builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder addWatchedScript( int index, org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.add(index, builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder addWatchedScript( int index, org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.add(index, builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .wallet.Script watched_script = 15;</code> */ public Builder setWatchedScript( int index, org.bitcoinj.wallet.Protos.Script.Builder builderForValue) { if (watchedScriptBuilder_ == null) { ensureWatchedScriptIsMutable(); watchedScript_.set(index, builderForValue.build()); onChanged(); } else { watchedScriptBuilder_.setMessage(index, builderForValue.build()); } return this; } /**