public static BreakType forNumber(int value) {
        switch (value) {
          case 0:
            return UNKNOWN;
          case 1:
            return SPACE;
          case 2:
            return SURE_SPACE;
          case 3:
            return EOL_SURE_SPACE;
          case 4:
            return HYPHEN;
          case 5:
            return LINE_BREAK;
          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-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotation.java