public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.openwallet.core.protos.Protos.ScryptParameters parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.openwallet.core.protos.Protos.ScryptParameters) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.openwallet.core.protos.Protos.ScryptParameters) { return mergeFrom((com.openwallet.core.protos.Protos.ScryptParameters)other); } else { super.mergeFrom(other); return this; } }
subBuilder.mergeFrom(encryptionParameters_); encryptionParameters_ = subBuilder.buildPartial();
/** * <code>optional .com.openwallet.core.protos.ScryptParameters encryption_parameters = 5;</code> */ public Builder mergeEncryptionParameters(com.openwallet.core.protos.Protos.ScryptParameters value) { if (encryptionParametersBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && encryptionParameters_ != com.openwallet.core.protos.Protos.ScryptParameters.getDefaultInstance()) { encryptionParameters_ = com.openwallet.core.protos.Protos.ScryptParameters.newBuilder(encryptionParameters_).mergeFrom(value).buildPartial(); } else { encryptionParameters_ = value; } onChanged(); } else { encryptionParametersBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /**
public Builder clone() { return create().mergeFrom(buildPartial()); }
public static Builder newBuilder(com.openwallet.core.protos.Protos.ScryptParameters prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }