public static AuthorizationMode forNumber(int value) {
      switch (value) {
        case 0:
          return AUTHORIZATION_MODE_UNSPECIFIED;
        case 1:
          return AUTH_DISABLED;
        case 2:
          return IAM_AUTH;
        default:
          return null;
      }
    }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java