public ProtoParametersSerialization getSerialization() {
    return serialization;
  }
returns the serialization which was used to create this object.
java_src/src/main/java/com/google/crypto/tink/internal/LegacyProtoParameters.java