class_docstr: Describes a Format and its options for use with :class:`~pyflink.table.TableDescriptor`.
  
  Formats are responsible for encoding and decoding data in table connectors. Note that not
  every connector has a format, while others may have multiple formats (e.g. the Kafka connector
  has separate formats for keys and values). Common formats are "json", "csv", "avro", etc.
docstr: Creates a new :class:`~pyflink.table.FormatDescriptor.Builder` describing a format with the
  given format identifier.
  
  :param format: The factory identifier for the format.
docstr_tok: ["Creates","a","new",":","class",":","`","~pyflink.table.FormatDescriptor.Builder","`","describing","a","format","with","the","given","format","identifier",".",":","param","format",":","The","factory","identifier","for","the","format","."]
code: def for_format(format: str) -> "FormatDescriptor.Builder":
      """
      Creates a new :class:`~pyflink.table.FormatDescriptor.Builder` describing a format with the
      given format identifier.
  
      :param format: The factory identifier for the format.
      """
      gateway = get_gateway()
      j_builder = gateway.jvm.FormatDescriptor.forFormat(format)
      return FormatDescriptor.Builder(j_builder)
  
imports: from typing import Dict, Union, List, Optional
  from pyflink.common.config_options import ConfigOption
  from pyflink.java_gateway import get_gateway
  from pyflink.table.schema import Schema
  from pyflink.util.java_utils import to_jarray
label_desc: Use image node_id 2 for calling the FormatDescriptor obj's underlying member method code with example usage: obj.for_format(format) and returns: FormatDescriptor