(self, message_descriptor)
return True
Checks whether the FieldMask is valid for Message Descriptor.
Checks whether the FieldMask is valid for Message Descriptor.
Checks whether the FieldMask is valid for Message Descriptor .
def IsValidForDescriptor(self, message_descriptor):
    """Checks whether the FieldMask is valid for Message Descriptor."""
    for path in self.paths:
      if not _IsValidPath(message_descriptor, path):
        return False
    return True
def IsValidForDescriptor ( self , message_descriptor ) : for path in self . paths : if not _IsValidPath ( message_descriptor , path ) : return False return True