parameters: (self, message_descriptor)
docstring: Gets all direct fields of Message Descriptor to FieldMask.
docstring_summary: Gets all direct fields of Message Descriptor to FieldMask.
docstring_tokens: Gets all direct fields of Message Descriptor to FieldMask .
function: def AllFieldsFromDescriptor(self, message_descriptor):
      """Gets all direct fields of Message Descriptor to FieldMask."""
      self.Clear()
      for field in message_descriptor.fields:
        self.paths.append(field.name)
function_tokens: def AllFieldsFromDescriptor ( self , message_descriptor ) : self . Clear ( ) for field in message_descriptor . fields : self . paths . append ( field . name )