class_docstr: Class for chaining multiple if-else statements.
  
  
  Examples
  --------
  
  >>> x = hl.literal('foo bar baz')
  >>> expr = (hl.case()
  ...           .when(x[:3] == 'FOO', 1)
  ...           .when(x.length() == 11, 2)
  ...           .when(x == 'secret phrase', 3)
  ...           .default(0))
  >>> hl.eval(expr)
  2
  
  Notes
  -----
  All expressions appearing as the `then` parameters to
  :meth:`~hail.expr.builders.CaseBuilder.when` or
  :meth:`~hail.expr.builders.CaseBuilder.default` method calls must be the
  same type.
  
  Parameters
  ----------
  missing_false: :obj:`.bool`
      Treat missing predicates as ``False``.
  
  See Also
  --------
  :func:`.case`, :func:`.cond`, :func:`.switch`
class_docstr_tok: ["Class","for","chaining","multiple","if-else","statements",".","Examples","--","--","--","--",">",">",">","x","=","hl.literal","(","'foo","bar","baz","'",")",">",">",">","expr","=","(","hl.case","(",")","...",".when","(","x","[",":3","]","==","'FOO","'",",","1",")","...",".when","(","x.length","(",")","==","11",",","2",")","...",".when","(","x","==","'secret","phrase","'",",","3",")","...",".default","(","0",")",")",">",">",">","hl.eval","(","expr",")","2","Notes","--","--","-","All","expressions","appearing","as","the","`","then","`","parameters","to",":","meth",":","`","~hail.expr.builders.CaseBuilder.when","`","or",":","meth",":","`","~hail.expr.builders.CaseBuilder.default","`","method","calls","must","be","the","same","type",".","Parameters","--","--","--","--","--","missing_false",":",":","obj",":","`",".bool","`","Treat","missing","predicates","as","``","False","``",".","See","Also","--","--","--","--",":","func",":","`",".case","`",",",":","func",":","`",".cond","`",",",":","func",":","`",".switch","`"]
code: def __init__(self, missing_false=False):
      super(CaseBuilder, self).__init__()
      self._missing_false = missing_false
  
imports: import hail
  from hail.typecheck import typecheck_method
  from hail.expr.expressions import unify_types, unify_types_limited, expr_any, expr_bool, ExpressionException, construct_expr, expr_str
  from hail import ir
label_desc: Use image node_id 1 to create a new CaseBuilder object from inherited base classes: ConditionalBuilder with example: obj = CaseBuilder(missing_false)