viaProto = false;
}
@Override
public ByteBuffer getSecretKey() {
RegistrationResponseProtoOrBuilder p = viaProto ? proto : builder;
if (this.secretKey != null) {
return this.secretKey;
}
if (!p.hasSecretKey()) {
return null;
}
this.secretKey = convertFromProtoFormat(p.getSecretKey());
return this.secretKey;
}