public static ExpirationCase forNumber(int value) {
      switch (value) {
        case 2:
          return EXPIRE_TIME;
        case 3:
          return TTL;
        case 0:
          return EXPIRATION_NOT_SET;
        default:
          return null;
      }
    }
@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-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/GenerateAccessTokenRequest.java