/** * <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; } /**
Protos.ScryptParameters.Builder encParamBuilder = Protos.ScryptParameters.newBuilder(); encParamBuilder.setSalt(keyCrypterScrypt.getScryptParameters().getSalt()); encParamBuilder.setR(keyCrypterScrypt.getScryptParameters().getR());
public Builder toBuilder() { return newBuilder(this); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.openwallet.core.protos.Protos.ScryptParameters prototype) {
public static Builder newBuilder(com.openwallet.core.protos.Protos.ScryptParameters prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }