public PortsCase getPortsCase() {
    return PortsCase.forNumber(portsCase_);
  }
@param value The number of the enum to look for.
@return The enum associated with the given number.
@deprecated Use {@link #forNumber(int)} instead.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/PscConnection.java