private static String outputPrefixToString(OutputPrefixType outputPrefixType) {
      switch (outputPrefixType) {
        case TINK:
          return "TINK";
        case LEGACY:
          return "LEGACY";
        case RAW:
          return "RAW";
        case CRUNCHY:
          return "CRUNCHY";
        default:
          return "UNKNOWN";
      }
    }
An implementation of Parameters which is returned by LegacyProtoKey.

<p>In contrast to LegacyProtoParameters, this cannot be used to create a new LegacyProtoKey
object.
java_src/src/main/java/com/google/crypto/tink/internal/LegacyProtoKey.java