@org.apache.thrift.annotation.Nullable
  public static ResultCode findByValue(int value) { 
    switch (value) {
      case 0:
        return OK;
      case 1:
        return TRY_LATER;
      default:
        return null;
    }
  }
Find a the enum type by its integer value, as defined in the Thrift IDL.
@return null if the value is not found.
zipkin-collector/scribe/src/main/java/zipkin2/collector/scribe/generated/ResultCode.java