@Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((RequestHeader == null) ? 0 : RequestHeader.hashCode());
   result =
       prime * result + ((ClientProtocolVersion == null) ? 0 : ClientProtocolVersion.hashCode());
   result = prime * result + ((RequestType == null) ? 0 : RequestType.hashCode());
   result = prime * result + ((SecurityMode == null) ? 0 : SecurityMode.hashCode());
   result = prime * result + ((ClientNonce == null) ? 0 : ClientNonce.hashCode());
   result = prime * result + ((RequestedLifetime == null) ? 0 : RequestedLifetime.hashCode());
   return result;
 }
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((RequestHeader == null) ? 0 : RequestHeader.hashCode());
   result = prime * result + ((SubscriptionId == null) ? 0 : SubscriptionId.hashCode());
   result =
       prime * result
           + ((RequestedPublishingInterval == null) ? 0 : RequestedPublishingInterval.hashCode());
   result =
       prime * result + ((RequestedLifetimeCount == null) ? 0 : RequestedLifetimeCount.hashCode());
   result =
       prime * result
           + ((RequestedMaxKeepAliveCount == null) ? 0 : RequestedMaxKeepAliveCount.hashCode());
   result =
       prime * result
           + ((MaxNotificationsPerPublish == null) ? 0 : MaxNotificationsPerPublish.hashCode());
   result = prime * result + ((Priority == null) ? 0 : Priority.hashCode());
   return result;
 }