public void MergeFrom(SessionSvcStartSessionRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.CandidateUsername.Length != 0)
     {
         CandidateUsername = other.CandidateUsername;
     }
     if (other.CandidatePassword.Length != 0)
     {
         CandidatePassword = other.CandidatePassword;
     }
     if (other.clientInstanceId_ != null)
     {
         if (clientInstanceId_ == null)
         {
             clientInstanceId_ = new global::HOLMS.Types.IAM.ClientInstanceIndicator();
         }
         ClientInstanceId.MergeFrom(other.ClientInstanceId);
     }
     if (other.OauthClientId.Length != 0)
     {
         OauthClientId = other.OauthClientId;
     }
     if (other.clientInstance_ != null)
     {
         if (clientInstance_ == null)
         {
             clientInstance_ = new global::HOLMS.Types.IAM.ClientInstance();
         }
         ClientInstance.MergeFrom(other.ClientInstance);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (CandidateUsername.Length != 0)
            {
                hash ^= CandidateUsername.GetHashCode();
            }
            if (CandidatePassword.Length != 0)
            {
                hash ^= CandidatePassword.GetHashCode();
            }
            if (clientInstanceId_ != null)
            {
                hash ^= ClientInstanceId.GetHashCode();
            }
            if (OauthClientId.Length != 0)
            {
                hash ^= OauthClientId.GetHashCode();
            }
            if (clientInstance_ != null)
            {
                hash ^= ClientInstance.GetHashCode();
            }
            return(hash);
        }