public static ConsumerModeCase forNumber(int value) {
        switch (value) {
          case 3:
            return EAGER_RECEIVE_MODE;
          case 4:
            return CONTROLLED_RECEIVE_MODE;
          case 0:
            return CONSUMERMODE_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-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ReceivePacketsRequest.java