public static StateInitiator forNumber(int value) {
      switch (value) {
        case 0:
          return STATE_INITIATOR_UNSPECIFIED;
        case 1:
          return USER;
        case 2:
          return SERVICE;
        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-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/QueuedResourceState.java