(self, message_descriptor)
Gets all direct fields of Message Descriptor to FieldMask.
Gets all direct fields of Message Descriptor to FieldMask.
Gets all direct fields of Message Descriptor to FieldMask .
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)
def AllFieldsFromDescriptor ( self , message_descriptor ) : self . Clear ( ) for field in message_descriptor . fields : self . paths . append ( field . name )