original_docstring: Creates a single property Index for the given name and direction.
  
    Args:
      prop_name: The name of the single property on the Index.
      direction: The direction of the Index.
  
    Returns:
      A single property Index with the given property and direction.
    
docstring: Creates a single property Index for the given name and direction.
docstring_tokens: Creates a single property Index for the given name and direction .
code: def _SinglePropertyIndex(prop_name, direction):
    """Creates a single property Index for the given name and direction.
  
    Args:
      prop_name: The name of the single property on the Index.
      direction: The direction of the Index.
  
    Returns:
      A single property Index with the given property and direction.
    """
    index = entity_pb.Index()
    prop = index.add_property()
    prop.set_name(prop_name)
    prop.set_direction(direction)
    return index
code_tokens: def _SinglePropertyIndex ( prop_name , direction ) : index = entity_pb . Index ( ) prop = index . add_property ( ) prop . set_name ( prop_name ) prop . set_direction ( direction ) return index
short_docstring: Creates a single property Index for the given name and direction.
short_docstring_tokens: Creates a single property Index for the given name and direction .
comment: """Creates a single property Index for the given name and direction.
  
    Args:
      prop_name: The name of the single property on the Index.
      direction: The direction of the Index.
  
    Returns:
      A single property Index with the given property and direction.
    """