def _set_replay_protection(self, v, load=False):
    """
    Setter method for replay_protection, mapped from YANG variable /macsec/interfaces/interface/config/replay_protection (uint16)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_replay_protection is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_replay_protection() directly.

    YANG Description: MACsec window size, as defined by the number of out-of-order frames