Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Message.Length != 0)
            {
                hash ^= Message.GetHashCode();
            }
            if (rcliente_ != null)
            {
                hash ^= Rcliente.GetHashCode();
            }
            if (Error != 0)
            {
                hash ^= Error.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
 public void MergeFrom(ClienteResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Message.Length != 0)
     {
         Message = other.Message;
     }
     if (other.rcliente_ != null)
     {
         if (rcliente_ == null)
         {
             rcliente_ = new global::ServidorClientes.RegistroCliente();
         }
         Rcliente.MergeFrom(other.Rcliente);
     }
     if (other.Error != 0)
     {
         Error = other.Error;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }